See the TextFormattingExamples for examples without all the explanatory text. 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. The "Preview" button on the editing page may also be helpful for finding formatting errors before saving.
Most text does not require any special changes for wiki form. A few basic rules are:
Note that MeatballWiki does not allow raw html in the pages. The following code will therefore not produce the expected result:
<nowiki><html><a href="http://www.gnu.org/">gnu</a></html> </nowiki>
Result:
<html><a href="http://www.gnu.org/">gnu</a></html>
There are some exceptions to this no html rule detailed below.
To mark text as bold or italic, you can use the HTML <b> and <i> tags. For example:
Sample <b>bold</b>, <i>italic</i>, and <b><i>bold+italic</i></b>.
looks like:
Sample bold, italic, and bold+italic.
Note that UseModWiki (like most Wikis) processes pages line-by-line, so if you want three bold lines of text, you will need to use three separate <b>...</b> tags. Also note that unclosed or unmatched tags are not removed from the page.
UseModWiki also implements the old "quote style" of text formatting, which is used on several wikis. Briefly:
''Two single quotes are italics'', '''three single quotes are bold''', '''''five single quotes are bold and italic.'''''
looks like:
Two single quotes are italics, three single quotes are bold, five single quotes are bold and italic.
The "quote style" formatting is often confusing, especially when multiple bold and italic sections are mixed on a line. It may eventually be removed from UseModWiki.
You can link to a page by removing the spaces between two or more words, and starting each word with a capital letter. For instance, WikiName and TextFormattingExamples are samples of page links.
Non-existing pages, like SampleUndefinedPage?, will be displayed with a question-mark for a 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.]
Write the URL: http://meatballwiki.org/wiki/SandBox
Result: http://meatballwiki.org/wiki/SandBox
In nearly all cases trailing punctuation is ignored, so you can safely make links like https://www.usemod.org/, without the trailing comma being part of the link.
If the URL itself is long and ugly, you could use a bracketed link.
Just enclose a URL with square brackets.
The URL will be replaced with a number. Note that is often considered bad style to replace the name of something (book, author, paper, web site) with the reference in square brackets.
If you can't read it out loud, don't write it. Use the active voice, instead.
Custom Text and Punctuation Links
Just follow the URL inside the square brackets with the text you want to act as the link, like this: [http://www.yahoo.com/ Yahoo Search Engine]
To place a link anchor in a page use "[#anchor]" (without the quotation marks) which can be referred to with any of the linking methods, per the examples below. You can not use the minus or hypen character (i.e. "-") in the anchor name, e.g. "[#N888_7_2_1]" works ok, while "[#N888-7-2-1]" does not, evidenced non-escaped here->[#N888-7-2-1].
Write the URL to the image: https://www.usemod.org/wiki.gif
Result:
These file types are recognized: gif, jpg, png, bmp and jpeg
Check the InterMap (http://meatballwiki.org/intermap.txt). All the prefixes on the intermap can be used to link to pages on other wikis. Just write the prefix, a colon, and the name of the page on the other wiki like this: UseMod:InterWiki
Result: UseMod:InterWiki
Just write the ISBN Number, like this: ISBN 0-471-25311-1
Result: ISBN 0-471-25311-1 (alternate, search)
If you want to avoid linking, enclose the text with nowiki tags, like this: <nowiki>InterWiki</nowiki>
Result: InterWiki
You can separate links from adjacent text with spaces or the special "" (two double-quotes) delimiter, like this: UseModWiki""s
Result: UseModWikis
The "" delimiter is not displayed -- it is useful for cases like plural forms of page links (such as UseModWikis).
Simple lists:
* Text for a bulleted list item. * Text for another bulleted list item. * Text for a third 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 another numbered list item. # Text for a third numbered list item. ## Text for second-level list. ### Text for third level, etc.
...which looks like:
Definition lists
Terms with indented definitions: [without a blank line between term and definition]
;Term One:Definition for One (indented) ;Term Two:Definition for Two (indented) ;Term Three:Definition for Three (indented) ;;Term (indented):Definition (indented two levels) ;;;Term (indented twice):Definition (indented to third level)
...which looks like:
Simple indented text:
: Paragraph to be indented (quote-block) :: Paragraph indented more ::: Paragraph indented to third level
...which looks like:
Individual lines can be displayed as preformatted (fixed-width or "typewriter"-font) text by placing one or more spaces at the start of the line. Other wiki formatting (like links) will be applied to this kind of preformatted text.
Alternatively, multi-line sections can be marked as pre-formatted text with all other formatting suppressed by surrounding the text section with 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 <pre> formatted 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 not bold'''.
and:
This is the starting-spaces version of preformatted text. Note that links like UseModWiki still work and bolding works.