Wiki Code is a set of BB-Code tags that were added for use specifically when editing Wiki articles. Some of these tags can also be used in other posts.
The ability to use BB-code is set on a forum-by-forum basis by the administrator, so you should check the forum rules when you post a new message. If you do not know how to use regular BB-Codes, you should first read the forum's
BB-Code FAQ.
Below is a list of the Wiki Code tags you can use to format your messages.
Wiki linking BB-Codes allow forum users to use BB-Code to easily create links to wiki articles. Most link codes can only create links to articles in one namespace. As a result, there is one link code for each namespace.
|
This Wiki Code can be used by clicking this button in the editor. |
The tag
[special] is used to create links to articles in the namespace called "Special". If the article does not exist, the link may appear in this
color, and clicking the link will allow users to create the article. You can also use an optional parameter to "name" your link.
Usage |
[special]value[/special]
[special=Option]value[/special]
|
Example Usage |
[special]Example[/special]
[special=Example]Click here to view the article![/special]
|
Example Output |
Example
Click here to view this article!
|
|
This Wiki Code can be used by clicking this button in the editor. |
The tag
[wiki] is used to create links to articles in the namespace called "NMR wisdom". If the article does not exist, the link may appear in this
color, and clicking the link will allow users to create the article. You can also use an optional parameter to "name" your link.
There are also other Wiki Codes that users can use to mark up wiki articles. Unless otherwise specified, many of these can also be used in normal forum posts.
|
This Wiki Code can be used by clicking this button in the editor. |
The tag
[h] inserts a new heading into messages. The BB-Code's option is required and must be a value between 2 and 6.
Usage |
[h=Option]value[/h] |
Example Usage |
[h=2]Example[/h] |
Example Output |
|
The tag
[hr] inserts a horizontal line into messages. The value of the tag can accept a number of parameters. An empty value uses the style's default width.
Usage |
[hr]value[/hr] |
Example Usage |
[hr]width=100%|size=5|color=blue|color1=blue|color2=red[/hr] |
Example Output |
|
|
This Wiki Code can be used by clicking this button in the editor. |
The tag
[redirect] completely replaces the text of the current article with the text of another article. The article with the replacement text is identified by the BB-Code's value, using the format "Namespace:Article". [redirect] will not parse in regular posts, and can only be used in articles.
Usage |
[redirect]value[/redirect] |
Example Usage |
[redirect]NMR wisdom:Example[/redirect] |
Example Output |
|
|
This Wiki Code can be used by clicking this button in the editor. |
The tag
[reflist] inserts a list of footnotes into wiki articles. This prints the full text of footnotes into the list. [reflist] does not normally take a value, but providing a numerical value will separate the footnotes into the same number of columns. This tag cannot be used in regular posts, and will only parse in wiki articles.
Usage |
[reflist][/reflist]
[reflist]value[/reflist]
|
Example Usage |
[reflist][/reflist]
[reflist]2[/reflist]
|
Example Output |
|
|
This Wiki Code can be used by clicking this button in the editor. |
The tag
[table] creates tables in messages. Editors use special characters in the value to distinguish between table rows and cells.
Usage |
[table]value[/table] |
Example Usage |
[table] border="1"
|-
| class="tcat" colspan="2" | Example Header
|-
| style="font-style: italic" | Example Data 1
| Example Data 2
|-
[/table]
|
Example Output |
Example Header |
Example Data 1 |
Example Data 2 |
|
The tag
[toc] can customize how an article's table of contents is displayed. Normally, the table of contents will appear below the first paragraph when there are at least four (4) sections created using [h]. It takes any number of pre-defined flags as a value, separated using |. This tag cannot be used in regular posts, and will only parse in wiki articles.
Usage |
[toc]value[/toc] |
[toc]NO[/toc] |
prevents the default table of contents placement from occuring |
[toc]FORCE[/toc] |
displays the table of contents even if there are too few sections, or even if the NO flag was used |
[toc]BOOK[/toc] |
if the article belongs to a book, merges the other chapters into the table of contents |
[toc]NONUM[/toc] |
removes the table of contents numbering, leaving only the bullet points |
[toc][/toc] |
places a table of contents at the current position |