The following text is an overview of the UseModWiki? text formatting rules. To try these rules for yourself, please feel free to edit the SandBox page. To see how any page is formatted, just follow the link "Edit text of this page" at the bottom of the page.
Nonexistent pages, like SampleUndefinedPage?, will be displayed with a question mark link. The question mark link indicates the page doesn't exist yet--follow the link to create and edit the page. (The sample page used here is a special example page--you can't define it.)
Pages with one-word names can be linked to by including the page name in double-brackets. [[Index]] produces the link Index.
You can display alternate text for an intra-wiki link by putting it after the page name and enclosing it all in brackets. [TextFormatting this page] links back to [this page]. When you do so, the link is highlighted as an in-wiki link, but still shown with brackets to alert the reader that the page's name does not match the text shown, and such flaunting of the WYSIWYG nature of wiki links is generally discouraged.
You can separate links from adjacent text with spaces or the special "" (two double-quotes) delimiter. The "" delimiter is not displayed--it is useful for cases like plural forms of page links (such as UseModWiki?s). In nearly all cases trailing punctuation is ignored, so you can safely make links like http://www.usemod.com/, without the trailing comma being part of the link.
Empty pages (such as ones whose contents have been moved elsewhere) can be made to point to a different page by setting the top (and only) line of the old page to #REDIRECT NewPageName.
You can link to named anchors on wiki pages just as you would expect, like TextFormatting#URLs. Alternately, you can include descriptive text--[TextFormatting#URLs URLs] which shows up as [URLs]. To create a named anchor in the first place, include it in the page like so, [#URLs], which does not render any visible text.
Pages can also have nested pages. Nested pages automatically have links back to their parents, and you can link from the parent to the nested page by typing just its name preceded by a slash, like /NestedPage?. They can also be accessed from anywhere in the site via the whole name, as TextFormatting/NestedPage?.
URLs that are included inline will display as active links. http://www.usemod.com/cgi-bin/mb.pl?SandBox shows up as http://www.usemod.com/cgi-bin/mb.pl?SandBox
URLs may also be placed in brackets and have user-friendly link text following them. [http://www.usemod.com/cgi-bin/mb.pl?SandBox with anchor] shows up as [with anchor]
Lastly, there is the InterWiki? link feature. Certain other wikis are known about, and links can be made to pages located there using colons. UseMod:InterWiki shows up as UseMod?:InterWiki?
To get a horizontal divider, use:
----...which looks like:
= Title = == Chapter == === Section === ==== Subsection ====...which look like:
* Text for a bulleted list item. ** Text for second-level list. *** Text for third level, etc.
...which looks like:
Numbered lists:
# Text for a numbered list item. ## Text for second-level list. ### Text for third level, etc. ## Another Text for the second level.
...which looks like:
Borderless tables:
|| This || is || a || || borderless || table. || (For spacing) || || With |\| left || and || |/| right || aligned || text || |||||| Multiple double-bars result in column-spanning ||...which look like:
| This | is | a |
| borderless | table. | (For spacing) |
| With | left | and |
| right | aligned | text |
| Multiple double-bars result in column-spanning | ||
Bordered tables:
+|| This || is || a || +|| table || with || borders. || +|| With |\| left || and || +|/| right || aligned || text || +|||||| Multiple double-bars result in column-spanning ||...which look like:
| This | is | a |
| table | with | borders. |
| With | left | and |
| right | aligned | text |
| Multiple double-bars result in column-spanning | ||
;Term:Definition (indented) ;;Term (indented):Definition (indented two levels) ;;;Term (indented twice):Definition (indented to third level)
...which looks like:
Just provide the URL, and the image will be inserted inline.
These extensions are recognized: gif, jpg, png, bmp, jpeg
If you have a choice, results are usually best with png for computer generated images, and JPEG for photographic images.
Additionally, multi-line sections can be marked as pre-formatted text using lines starting with <pre> (to start pre-formatted text), and </pre> (to end preformatted text). The <pre> and </pre> tags are not displayed. Wiki links and other formatting is not done within a preformatted section. (If you want wiki formatting, use spaces at the start of the line instead of the <pre> and </pre> tags.)
For instance:
Pre-formatted section here. No other link or format processing is done on pre-formatted sections. For instance, UseModWiki is not a link here.and:
This is the starting-spaces version of preformatted text. Note that links like UseModWiki? still work.