Manifold Atlas:Wiki syntax
m (→Sections, subsections, etc) |
m (Reverted edits by Diarmuid Crowley (talk) to last revision by Daniel Müllner) |
||
Line 1: | Line 1: | ||
− | + | This page collects some simple but useful tips about the Wiki syntax. The [[metawikipedia:Help:Contents|MediaWiki Handbook]] is a good reference for the wiki software: see especially the section [[metawikipedia:Help:Contents#For_editors|for editors]]. | |
− | == | + | == Links == |
− | You create hyperlinks | + | You create internal hyperlinks by writing <tt><nowiki>[[page name|link text]]</nowiki></tt>. For example |
<pre> | <pre> | ||
− | [[ | + | [[Surface|2-dimensional manifold]] |
</pre> | </pre> | ||
− | produces the link [[ | + | produces the link [[Surface|2-dimensional manifold]]. If you wish to link to a Wikipedia page, use a prefix to the page name: <tt>Wikipedia:page name</tt>. |
− | + | === Links to subsections === | |
+ | You can refine your hyperlinks to sections of web-pages. For example | ||
<pre> | <pre> | ||
− | [[ | + | [[Complete intersections#Invariants|Chern classes]] |
</pre> | </pre> | ||
− | produces the link [[ | + | produces the link [[Complete intersections#Invariants|Chern classes]] to the Invariants section of the Complete intersection page. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
=== External links === | === External links === | ||
− | For a general web address, insert the entire URL in the address field | + | For a general web address, insert the entire URL in the address field. For example |
<pre> | <pre> | ||
[http://www.him.uni-bonn.de/kreck homepage] | [http://www.him.uni-bonn.de/kreck homepage] | ||
</pre> | </pre> | ||
produces the link [http://www.him.uni-bonn.de/kreck homepage]. | produces the link [http://www.him.uni-bonn.de/kreck homepage]. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Comments == | == Comments == | ||
Line 43: | Line 27: | ||
</pre> | </pre> | ||
− | == Bold face | + | == Bold face == |
To obtain bold face, place text or links inside three single quotation marks: <tt><nowiki>''' ... '''</nowiki></tt>. For example | To obtain bold face, place text or links inside three single quotation marks: <tt><nowiki>''' ... '''</nowiki></tt>. For example | ||
<pre> | <pre> | ||
− | '''bold text''' and a | + | '''bold text''' and a '''[[Complete intersections|bold link]]''' |
</pre> | </pre> | ||
− | produces '''bold text''' and a | + | produces '''bold text''' and a '''[[Complete intersections|bold link]]'''. |
− | + | == Sections and subsections == | |
− | + | Sections and subsections are produced using <tt><nowiki>== ... ==</nowiki></tt> and <tt><nowiki>=== ... ===</nowiki></tt>. For example | |
− | == Sections | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<pre> | <pre> | ||
== Invariants == | == Invariants == | ||
− | |||
− | |||
=== Seiberg-Witten invariants === | === Seiberg-Witten invariants === | ||
− | |||
</pre> | </pre> | ||
− | + | produces an Invariants section with a Seiberg-Witten invariants subsection. | |
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 16:20, 25 November 2010
This page collects some simple but useful tips about the Wiki syntax. The MediaWiki Handbook is a good reference for the wiki software: see especially the section for editors.
Contents |
1 Links
You create internal hyperlinks by writing [[page name|link text]]. For example
[[Surface|2-dimensional manifold]]
produces the link 2-dimensional manifold. If you wish to link to a Wikipedia page, use a prefix to the page name: Wikipedia:page name.
1.1 Links to subsections
You can refine your hyperlinks to sections of web-pages. For example
[[Complete intersections#Invariants|Chern classes]]
produces the link Chern classes to the Invariants section of the Complete intersection page.
1.2 External links
For a general web address, insert the entire URL in the address field. For example
[http://www.him.uni-bonn.de/kreck homepage]
produces the link homepage.
2 Comments
You can comment out text simply by placing it within <!-- ... -->. For example:
<!-- This text would not appear on the page. -->
3 Bold face
To obtain bold face, place text or links inside three single quotation marks: ''' ... '''. For example
'''bold text''' and a '''[[Complete intersections|bold link]]'''
produces bold text and a bold link.
4 Sections and subsections
Sections and subsections are produced using == ... == and === ... ===. For example
==<sectioncount/> Invariants == ===<subsectioncount/> Seiberg-Witten invariants ===
produces an Invariants section with a Seiberg-Witten invariants subsection.