• Hey, guest user. Hope you're enjoying GameParadise! Have you considered registering for an account? Come join us and add your take to the daily discourse.

Wiki Code List

 
 
Wiki linking Bb-Codes allow forum users to use BB-Code to easily create links to wiki pages.

[file]

This wiki code can be used by clicking this button in the editor.
The tag [file] is used to insert wiki attachments, commonly used for images, into posted content. With additional arguments in the tag's value (separated by "|"), you can also customize the appearance of the image. In any order and any combination, try experimenting by specifying:
Width in px
Horizontal alignment left, right, center, inline, none
Vertical alignment baseline, bottom, middle, sub, super, text-top, text-bottom, text-top, top
display border, frame, frameless
thumbnail thumb, thumbnail
alt=X Alternate text for the attachment, usually displayed when hovered, if different text from the caption is desired.
link=X Name another wiki page, a full web address, or mailto: followed by an email address, to turn the attachment into a link.
height=X A numeric value. Attachments taller than this many pixels will be cropped.
upright[=X] A decimal value, multiplied with the default thumbnail width, to set the attachment width. The value is optional and defaults to 0.75.
Any other text will be used as a caption.
Example usage [file]Example.jpg|60px|right|border|thumb|some caption text[/file]
Note: For backwards-compatibility reasons, using a thumbnail or frame will implicitly set the alignment to right or left so that text will flow around the attachment. If this is not desired, be sure to also explicitly set the alignment using a value like inline.

[template]

This wiki code can be used by clicking this button in the editor.
The tag [template] inserts the body text of the target template into the current wiki page. Users can also provide additional parameters in the tag's value, which will fill in the "blanks" (which take the form {{{parameter name}}}) that appear in the inserted template's text.
Wiki usage [template]value[/template]
"Example" template Hello, this is {{{parameter1|default}}} text about something I like to call {{{parameter2|an example}}}.
Example usage [template] Example
| parameter1=Sample
| parameter2=Sample 2
[/template]
Example output Hello, this is Sample text about something I like to call Sample 2.

[wiki]

This wiki code can be used by clicking this button in the editor.
The tag [wiki] is used to create links to pages with any Prefix. If the page does not exist, the link may appear in this color, and clicking the link will allow users to create the page. You can also use an optional parameter to "name" your link.
Usage [wiki]value[/wiki]
[wiki=Option]value[/wiki]
Example usage [wiki]Prefix:Example[/wiki]
[wiki=Prefix:Example]Click here to view the article![/wiki]
Example output Example
Click here to view this page!

Other wiki Bb-Codes

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.

[comment]

This wiki code can be used by clicking this button in the editor.
The tag [comment] allows editors to leave comments in their messages, for future reference or the benefit of other editors. The value will only appear in the message editor and it will not appear in the visible page.
Usage [comment]value[/comment]
Example usage [comment]Example[/comment]
Example output

[div]

The [div] tag allows you to wrap content in a block container and apply styles to that container. Attributes and styles are separated from the content using a pipe character |
Usage [div]value[/div]
Example usage [div] style="border: 1px dotted green; background: yellow; color: brown; width: 100px; padding: 5px" | This box has a green dotted border, a yellow background, and brown text. [/div]
Example output
This box has a green dotted border, a yellow background, and brown text.

[footnote]

This wiki code can be used by clicking this button in the editor.
The tag [footnote] inserts a footnote into wiki articles. This will leave a numerical indication at the current position. In order to display the full value of the footnote, [reflist] must also be used. If [reflist] was used, clicking a footnote will highlight the footnote's full text, and the browser window will jump to it.

Providing an option for the footnote gives it a name. By using matching options, users can include the same footnote more than once without re-typing the value. This BB-Code will only parse in wiki articles, and it will not parse in regular forum posts.
Usage [footnote]value[/footnote]
[footnote=Option]value[/footnote]
Example usage This text requires citations.[footnote]Example[/footnote]
This text requires citations.[footnote=sample]Example[/footnote]
Example output This text requires citations.[1]
This text requires citations.[2]

[gallery1]

The tag [gallery1] is used to insert a selection of wiki attachments, commonly used for images, into posted content. Excluding the first line, each new line in the tag's value should contain the file name of a wiki attachment or an entire wiki attachment tag. Attachments specified in this way will be included in the gallery. You can also customize the appearance of the gallery by adding arguments to the first line of the tag, followed by a |. In any order and any combination, try experimenting by specifying:
widths="x" in px, specifies the maximum width of any item in the gallery
heights="x" in px, specifies a fixed height for every item in the gallery
perrow="x" the number of items to show in each row before forcing a new line
rows="x" the maximum number of lines to show. If used in combination with perrow, then only attachments that satisfy both arguments will be visible at the same time. In this case, the gallery will transform into a scrollable widget with attachments on multiple pages.
feature="true" gallery items can be selected by the user. The selected item will be displayed in a larger, more prominent view above the others.
Example usage [gallery1] heights="100" perrow="3" rows="1" |
Attachment-File-Name.ext | caption text
Attachment-File-Name.ext | caption text
[/gallery1]

[h]

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 1 and 6.

Special cases:
  • When used on wiki pages, a value of 1 also causes the heading to start a completely new content block from the preceding content.
  • If the "X" character is placed after the number, such as "2X", then the content following the heading will be hidden by default; the user must expand the heading themselves to see the content.
Usage [h=Option]value[/h]
Example usage [h=2]Example[/h]
Example output

[top]Example

[hr1]

The tag [hr1] 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 [hr1]value[/hr1]
Example usage [hr1]width=100%|size=5|color=blue|color1=blue|color2=red[/hr1]
Example output

[inject]

The tag [inject] is used to embed a piece of wiki content. The tag's value should be the name of the content you wish to embed.
Example Usage [inject]Prefix:Title[/inject]

[reflist]

This wiki code can be used by clicking this button in the editor.
The tag [reflist] inserts a list of footnotes into wiki pages. 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 specified number of columns. This tag cannot be used in regular posts, and will only parse in wiki pages.
Usage [reflist][/reflist]
[reflist]value[/reflist]
Example usage [reflist][/reflist]
[reflist]2[/reflist]
Example output
  1. ^Example
  2. ^Example

    1. ^Example
    1. ^Example

[span]

The [span] tag allows you to wrap content in an inline container and apply styles to that container. Attributes and styles are separated from the content using a pipe character |
Usage [span]value[/span]
Example usage [span] style="border: 1px dotted green; background: yellow; color: brown" | This box has a green dotted border, a yellow background, and brown text. [/span]
Example output
This text has a green dotted border, a yellow background, and brown face.

[table1]

This wiki code can be used by clicking this button in the editor.
The tag [table1] creates tables in messages. Editors use special characters in the value to distinguish between table rows and cells.
Usage [table1]value[/table1]
Example usage [table1] border="1"
|-
| class="primaryContent" colspan="2" | Example header
|-
| style="font-style: italic" | Example data 1
| Example data 2
|-
[/table1]
Example output
Example header
Example data 1 Example data 2

[toc]

The tag [toc] can customize how a wiki page's table of contents is displayed. Normally, the table of contents will appear below the first paragraph when there are at least (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 pages.
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]NONUM[/toc] removes the table of contents numbering, leaving only the bullet points
[toc][/toc] places a table of contents at the current position

[var]

The [var] tag allows you to include wiki page data or perform other dynamic functions in wiki content. It does nothing in regular posts.

As its value, the [var] tag takes a function name, followed by an optional text argument. These must be separated by a pipe character |

Usage [var]value[/var]
Example usage [var]PAGENAME[/var]
[var]URLENCODE|URL Safe Text[/var]
Example output List of Wiki Codes
URL+Safe+Text

See the full list of [var] functions.

[widget]

The [widget] tag allows you to create custom widget blocks and insert them into your posts.

For its value, the [widget] tag takes a widget type, followed by the respective arguments for that widget type. These must be separated by a pipe character |

Usage [widget]value[/widget]
Example usage [widget]Area|area="Games"[/widget]
Example output

See the full list of [widget] types.

Template-only Bb-Codes

There are several Bb-Codes that perform special functions when they are used in the text of a wiki template. They don't do anything in regular wiki pages or regular posts.

[if]

When the template is used in another wiki page, the [if] tag only shows its content when the wiki page meets a set condition. The optional parameter is required, or the condition will evaluate to false.

Example: [if=true]Show this content[/if]

You can also place the [else /] code in the tag value. If the condition evaluates true, anything before the [else /] is shown; false, anything after it.

Example: [if=false]Not shown[else /]Shown[/if]

A common use of the [if] tag is to test the values of template parameters ({{{name|}}}) to check if they contain any text. Keep in mind that white-space characters are considered text.

You can also use a number of comparative operators in your condition, to check if things are equal or not: == > < >= <= !=
Usage [if=Option]value[/if]
Example usage [if="{{{name|}}}"]Name has a value[/if]
[if="{{{name|}}}"]Name has a value[else /]Name has no value[/if]
[if="{{{name|}}}==Fred"]Name is Fred[else /]Name is not Fred[/if].

[includeonly]

The [includeonly] tag defines text that is only visible when the template is used in another wiki page. Any text enclosed in these tags are ignored when the template page is viewed directly.

[noinclude]

The [noinclude] tag defines text that is only visible when visiting the wiki template page. Any text enclosed in these tags are ignored when the template is used in another wiki page.

[onlyinclude]

The [onlyinclude] tag defines text that is only visible when the template is used in another wiki page. If this tag is used, then any text that is not enclosed by one of these tags will not be visible when the template is used in another wiki page. In addition, any text enclosed in these tags are ignored when the template page is viewed directly.
 

Wiki: Recent activity

Back
Top