Manifold Atlas:Wiki syntax
(→Bold face) |
(→Sections and subsections) |
||
Line 41: | Line 41: | ||
== Sections and subsections == | == Sections and subsections == | ||
− | Sections and subsections are produced using <tt><nowiki>== ... ==</nowiki></tt> and <tt><nowiki>=== ... ===</nowiki></tt>. For example | + | * Sections and subsections are produced using <tt><nowiki>== ... ==</nowiki></tt> and <tt><nowiki>=== ... ===</nowiki></tt>. |
+ | |||
+ | * Make sure that text between section headers is enclosed with the tags <tt><nowiki> <wikitex> ... </wikitex></nowiki></tt>. | ||
+ | |||
+ | * For example: | ||
<pre> | <pre> | ||
== Invariants == | == Invariants == | ||
+ | <wikitex>; | ||
+ | TEXT | ||
+ | </wikitex> | ||
+ | |||
=== Seiberg-Witten invariants === | === Seiberg-Witten invariants === | ||
+ | <wikitex>; | ||
+ | MORE TEXT | ||
+ | </wikitex> | ||
</pre> | </pre> | ||
− |
Revision as of 18:42, 19 September 2009
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 hyperlinks inside the Manifold Atlas by writing [[page name|link text]]. For example
[[Surfaces|2-dimensional manifold]]
produces the link 2-dimensional manifold.
If you wish to link to a Wikipedia page, use the above format with the page name: Wikipedia:page name. For example
[[Wikipedia:Differentiable_manifold|smooth manifold]]
produces the link smooth manifold.
1.1 Links to sections and subsections
You can refine your hyperlinks to sections and even subsections of web-pages. For example
[[Simply-connected 5-manifolds#Invariants|linking form]]
produces the link linking form, which goes directly to the Invariants section of the page on simply-connected 5-manifolds.
1.2 External links
For a general web address, insert the entire URL in the address field and seperate the link text simply with a space. 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 '''[[Hirzebruch surfaces|bold link]]'''
produces bold text and a bold link.
4 Sections and subsections
- Sections and subsections are produced using == ... == and === ... ===.
- Make sure that text between section headers is enclosed with the tags <wikitex> ... </wikitex>.
- For example:
==<sectioncount/> Invariants == <wikitex>; TEXT </wikitex> ===<subsectioncount/> Seiberg-Witten invariants === <wikitex>; MORE TEXT </wikitex>