BBCode

From PokéFarm Q Official Wiki
Jump to: navigation, search

BBCode is a mechanic on PokéFarm Q that allows users to place objects into Forum Posts or Personal Messages that would be unachievable using regular text. Most BBCodes use the format: [tag]text[/tag] or [tag=data]text[/tag] however there are exceptions. An alternate guide to BBCode can be found on the forums of PokéFarm Q here.

For further help with any of the following tags, use the [help] tag.

Basics

Almost every BBCode is made of three parts.

  • Opening Tag:
A keyword enclosed in square brackets, occasionally accompanied by a parameter that is specified with an equals sign.
Example: [keyword=parameter] (or just [keyword])
  • Contents:
What is between the two tags. This could be text, other BBCodes, or a required parameter that is not part of the opening tag. Many BBCodes will not make visible modifications if they do not have content to modify.
  • Closing Tag:
A forward slash followed by the same keyword as in the opening tag enclosed in square brackets. It never has any parameters.
Example: [/keyword]

Note that when using BBCodes, it is important to be neat and organised. If using multiple BBCodes, make sure that you open and close them in reverse order, and do not open one BBCode inside another and then close it outside of the first.

For example, you should do:
[example1][example2]example text[/example2][/example1]
You should not do:
[example1][example2]example text[/example1][/example2]
You should also not do:
[example1]example text 1 [example2]text 2[/example1] text 3[/example2]

BBCode can be used in the Forums, in Signatures, and in Personal Messages. BBCode can also be used, albeit to a lesser extent, in one's About Me section. The [b], [i] and [u] BBCodes can also be used in Pokémon custom descriptions.

List of BBCodes

The list is in alphabetical order. The format for this list is as follows:

  • Code Name
    • Tag(s): Syntax of the BBCode tag.
    • Parameter(s): What you can change about the code, if applicable.
    • Information: Any other important information, if applicable.
    • Example: An example of the BBCode in use (if it can be properly displayed).

Accordion

  • Tag
    • [accordion]Panels[/accordion]
    • [accordion=DefaultPanel]Panels[/accordion]
  • Parameters
    • DefaultPanel: (optional) Panel number to be displayed by default.
  • Information
    • The Accordion is used to display one panel at a time, the panels being [a-section] BBCodes.
    • This BBCode is complicated and should only be used if you know what you are doing.
  • Example
    • [accordion=1]
      [a-section=Example 1]Content 1[/a-section]
      [a-section=Example 2]Content 2[/a-section]
      [a-section=Example 3]Content 3[/a-section]
      [/accordion]
    • Accordion Example.png

Accordion Section

  • Tag
    • [a-section=SectionTitle]Content[/a-section]
  • Parameters
    • SectionTitle: The title of the Section to be displayed.
  • Information
    • The [a-section] BBCode is used inside with the [accordion] BBCode.
  • Example
    • [accordion][a-section=SectionTitle]Content[/a-section][/accordion]
    • See the [accordion] BBCode.

Background

  • Tag
    • [background=BackgroundColour]Content[/background]
    • [background=BackgroundURL]Content[/background]
  • Parameters
    • BackgroundColour: A colour code denoting the colour of the background to be displayed.
    • BackgroundURL: A URL to an image to use as the background of the Content.
  • Information
    • This BBCode is similar to the [highlight] BBCode, but allows the use of a URL and extends to the left and right borders.
    • This BBCode should be used in conjunction with the [colour] BBCode as other users may use a theme that changes the text colour to one similar to the highlight's colour.
  • Example
    • [background=#FF0000]Black text on a Red Background[/background]
      [background=red]Black text on a Red Background[/background]
      [background=rgba(255, 0, 0, 1)]Black text on a Red Background[/background]
    • Black text on a Red Background

Bold

  • Tag
    • [b]Text[/b]
  • Information
    • This BBCode is used to create Bold text.
  • Example
    • [b]Bold Text[/b]
    • Bold Text

Centre

  • Tag
    • [centre]Text[/centre]
    • [center]Text[/center]
  • Information
    • This BBCode is used to centre the content to the middle of its container.
    • [centre] and [center] are interchangeable.
  • Example
    • [centre]Centred Text[/centre]
    • Centred Text

Colour

  • Tags
    • [colour=Colour]Text[/colour]
    • [color=Colour]Text[/color]
  • Parameters
    • Colour: A colour code denoting the colour of the text to be displayed. May be set to transparent. In that case, the text will be visible only when highlighted.
  • Information
    • This BBCode should be used in conjunction with the [highlight] or [background] BBCode as other users may have a skin that changes the background colour to one similar to the text colour, or the background/text colour contrast may cause other users' eyes pain.
    • [colour] and [color] are interchangeable.
  • Example
    • [color=#FF0000]Red Text[/color]
      [colour=red]Red Text[/colour]
      [color=rgba(255, 0, 0, 1)]Red Text[/color]
    • Red Text
    • ([color=transparent]Hidden Text[/color])
    • (Hidden Text)
      • Highlight the empty area within parentheses to reveal hidden text.

CSS

  • Tag
    • [css=CSSStyling]Content[/css]
  • Parameters
    • CSSStyling: The style that should be applied to the content.
  • Information
    • This BBCode is complicated and should only be used if you know what you are doing.
    • There are a few guidelines for use of this BBCode:
      • Never set the position value to fixed.
      • Only set the position value to absolute if the container has a position value of relative.
      • Never use the opacity key on elements containing text. Use the [colour] BBCode using the rgba(R,G,B,A) format.
      • Never set width, height, min-width, min-height, max-width or max-height to any value that causes the element to be unreasonably small or large.
      • Never use overflow as it can make scrolling tricky.
      • Never use cursor. Changing the cursor without reason is a bad practice in web design.
      • Never use filter. Filters are only used by old versions of Internet Explorer and excessive use can cause major lag.
      • Never set background-attachment to fixed as it can become extremely distracting.
  • Example
    • [css=background-color: #202020; border-radius: 16px; padding: 8px; font-size: 14pt; color: #ffffff]There is no limit to how much CSS you can cram in there.[/css]
    • There is no limit to how much CSS you can cram in there.

Date-Time

  • Tag
    • [datetime]YYYY-MM-DD hh:mm:ss[/datetime]
    • [datetime]any supported format[/datetime]
  • Information
    • The basic date-time format is YYYY-MM-DD hh:mm:ss (Year-Month-Date Hour:Minutes:Seconds).
    • Many formats are supported, to see if your format is, check on php.net. If the time displayed is Never then the format used is not supported.
  • Example
    • The wiki does not support this BBCode. Basically, if the time set was 5 seconds from the current time it would display as in 5 seconds; if the time set was 2 hours in the past it would display as 2 hours ago.

Display

  • Tag
    • [display=PanelTitle]Content[/display]
  • Parameters
    • PanelTitle: The title of the Panel to be displayed.
  • Information
    • This BBCode displays a Panel with a Title and a border around the Content.
    • This BBCode is similar to the [hide] BBCode, but does not have the collapsible functionality.
  • Example
    • [display=Example]Content[/display]
    • Display Example.png

Headings

  • Tags
    • [h1]Text[/h1]
    • [h2]Text[/h2]
    • [h3]Text[/h3]
  • Information
    • This BBCode creates a heading, usually used to separate sections of a post.
    • The Text within this BBCode is bolded, centred and made larger.
    • [h1] creates the largest heading whilst [h3] creates the smallest.
  • Example
    • [h1]Heading 1[/h1]
      [h2]Heading 2[/h2]
      [h3]Heading 3[/h3]
    • Heading 1

      Heading 2

      Heading 3

Help

  • Tag
    • [help=BBTag]
  • Parameters
    • BBTag: A valid BBCode tag.
  • Information
    • This BBCode shows a short explanation for the BBCode specified as BBTag.
    • Usage of this BBCode is technically treated as an error. Therefore, it is not possible to submit a text with this code unless it is enclosed in the [nobbcode] tags.
  • Example
    • [help=pkmn]
    • Help: [pkmn] — Pokémon icon
      Show the icon of the specified Pokémon. Add / then a Forme name for a specific Forme. Add (F) after the name to get the female icon. (S)hiny, (A)lbino and (M)elanistic icons can be specified, although if these sprites haven't been fully implemented yet then they will use the default sprite instead.
      Example usage:
      [pkmn=Pikachu] [pkmn=Nidoran (F)] [pkmn=Unown/X Forme] [pkmn=Venusaur/Mega Forme (F)(S)]

Hide

  • Tag
    • [hide=PanelTitle]Content[/hide]
  • Parameters
    • PanelTitle: The title of the Panel to be displayed.
  • Information
    • This BBCode is very similar to the [display] BBCode, the only difference is the collapsible functionality.
    • It is also very similar to the [accordion] BBCode, the difference being the number of tabs and complexity of the code.
  • Example
    • [hide=Example]Content[/hide]
    • Hide Collapsed Example.png
Hide Expanded Example.png

Highlight

  • Tag
    • [highlight=HighlightColour]Text[/highlight]
  • Parameters
    • HighlightColour: A colour code denoting the colour of the text highlight to be displayed.
  • Information
    • This BBCode is very similar to the [background] BBCode but does not extend to the borders of its container.
    • It should not be used without the text inside of it having a colour, and bright highlights should be avoided.
  • Example
    • [highlight=#F00]Black text with a Red highlight[/highlight]
      [highlight=red]Black text with a Red highlight[/highlight]
      [highlight=rgba(255, 0, 0, 1)]Black text with a Red highlight[/highlight]
    • Black text with a Red highlight

Horizontal Line

  • Tag
    • [hr]
  • Information
    • This BBCode creates a horizontal rule. It can be used to separate sections on a post.
    • Unlike many other BBCodes, this BBCode does not have any content or ending tag.
  • Example
    • [hr]

Images

  • Tag
    • [img]ImageURL[/img]
  • Information
    • The image displayed by this BBCode should be in PNG, JPG or GIF format.
    • If an image is too large to display in its container it will be automatically scaled to fit in the container.
    • Images used on the site must be credited.
  • Example
    • [img]http://pokefarm.wiki/images/3/33/Dawnstone.png[/img]
    • Dawn Stone.png

Inventory

  • Tag
    • [inventory=ItemName]
    • [inventory=ItemName-ReservedAmount]
    • [inventory=CurrencyName]
    • [inventory=CurrencyName-Reserved Amount]
    • [inventory=TypeRace]
  • Parameters
    • ItemName: Name of the item.
    • CurrencyName: Name of the Currency
      • Currently Restricted to the following:
        • [inventory=Credits] for Credits
        • [inventory=Gold] for Gold Poké
        • [inventory=Zophan] for Zophan Canisters
    • TypeRace: How many points the user has earned in the current month's Type Race
    • Optional [ReservedAmount]: Number to be subtracted from current amount.
  • Information
    • First variant: Shows how many of the specified item you have.
    • Second variant: Shows how many of the specified item you have, minus the number given.
  • Examples
    • Assuming the user has 83 Dark Gems:
      • [inventory=Dark Gem]
        • 83
      • [inventory=Dark Gem-10]
        • 73
    • Assuming the user has 1000 Credits:
      • [inventory=Credits]
        • 1000
      • [inventory=Credits-10]
        • 990
    • Assuming the user has 100 Gold Poké:
      • [inventory=Gold]
        • 100
      • [inventory=Gold-10]
        • 90
    • Assuming the user has 10 Zophan Canisters:
      • [inventory=Zophan]
        • 10
      • [inventory=Zophan-10]
        • 0
    • Assuming the user has completed their Personal Goal:
      • [inventory=TypeRace]
        • 200
      • [inventory=TypeRace-10]
        • 190

Italics

  • Tag
    • [i]Text[/i]
  • Information
    • This BBCode is used to create Italicized text.
  • Example
    • [i]Italic Text[/i]
    • Italic Text

Item

  • Tag
    • [item=ItemName]
  • Parameters
    • ItemName: Name of the item.
  • Information
    • Shows an icon of the specified item.
  • Example
    • [item=Dark Gem]
    • Gem Dark.png

Line Break

  • Tag
    • [br]
  • Information
    • Achieves the same results as hitting Enter but can be useful for condensing a code to take up fewer lines or even making it more readable in some cases.
  • Example
    • Text[br]More text
    • Text
      More text

Lists, Unordered

  • Tag
    • [ul]List Items[/ul]
  • Information
    • This BBCode creates an Unordered List.
    • For this BBCode to display it must contain List Items. See [li].
  • Example
    • [ul][li]List Item 1[/li][li]List Item 2[/li][/ul]
      • List Item 1
      • List Item 2

Lists, Ordered

  • Tag
    • [ol]List Items[/ol]
  • Information
    • This BBCode creates an Ordered List.
    • For this BBCode to display it must contain List Items. See [li].
  • Example
    • [ol][li]List Item 1[/li][li]List Item 2[/li][/ol]
      1. List Item 1
      2. List Item 2

List Item

  • Tag
    • [li]Content[/li]
  • Information
    • This BBCode does not display properly unless within a [ul] or [ol] BBCode.
    • This BBCode is used to define a list item within a parent list.
  • Example
    • See above for an example of this BBCode's use.

Math

  • Tag
    • [math]Content[/math]
  • Information
    • Supports all the basic mathematical operations.
      • + and - for addition/subtraction
      • * and / for multiplication/division
      • ^ for exponentiation
      • () for defining precedence.
    • Spaces are ignored.
    • Fractional numbers are rounded to two decimal places.
    • Division by zero results in zero.
    • Very large or very small numbers may not behave as expected.
    • The [math] code can be useful when combined with the [inventory] tag.
  • Examples
    • Assuming the user has 83 Dark Gems:
      • [progress="[inventory=Dark Gem]/275"][math][inventory=Dark Gem] / 275 * 100[/math]% Dark Gem progress[/progress]
      • Math Example.png
    • [math]1 + 2 * 3[/math]
    • 7
    • [math]3 ^ 4[/math]
    • 81
    • [math]81 ^ (1/2)[/math]
    • 9 (square root)

Mature

  • Tag
    • [mature]Content[/mature]
  • Information
    • This BBCode provides a [display]-like box which shows up only for logged-in 18+ users. Guests and users under 18 years cannot view its contents, even by inspecting the page source code.
    • This BBCode works only in the About Me section.
  • Example
    • [mature]Content[/mature]
    • Mature Example.png
    • Guests and users under 18 years will not see anything in this place.

No BBCode

  • Tag
    • [nobbcode]Text[/nobbcode]
  • Information
    • This BBCode Stops the text inside being formatted by the site.
    • This BBCode is usually used to display BBCode without causing the code to format its content.
  • Example
    • [nobbcode][b]Bold Text[/b][/nobbcode]
    • [b]Bold Text[/b]

Number

  • Tag
    • [number]Number[/number]
  • Information
    • This BBCode formats strings of digits as a number with comma separators.
      • Note that if any non-digit characters are nested within the [number] tags, the number will only display up to the first non-digit character.
      • Any zeros at the beginning of a number are also not displayed.
    • This tag is especially useful when combined with the [inventory] tag.
  • Examples
    • [number]0001234567890[/number]
    • 1,234,567,890
    • Assuming the user has 5,488,386 Credits:
[number][inventory=credits][/number]
  • 5,488,386
Without the [number] tag, this would have just displayed as "5488386" without comma separators.

Overline

  • Tag
    • [o]Text[/o]
  • Information
    • This BBCode is used to create text with an overline.
  • Example
    • [o]Overlined Text[/o]
    • Overlined Text

Pokémon

  • Tag
    • [pkmn=PokemonName/FormeName (Modifier)]
  • Parameters
    • PokemonName: Name of Pokémon species to be shown.
    • Optional [FormeName]: Name of Pokémon Forme to be shown.
    • Optional [Modifier]: Can be used to display icons for female and/or Shiny, Albino, or Melanistic Pokémon.
  • Information
    • Shows an icon of the specified Pokémon. If FormeName is specified, shows an icon of the specified Pokémon, in the specified Forme.
    • For Exclusive Pokémon you must use an empty FormeName. Otherwise, you will get a generic (non-exclusive) Pokémon icon.
    • Unlike FormeName, Modifier utilizes parentheses instead of slashes. If Modifier is specified, shows an icon of the specified variant. If no icon exists for the specified variant, the normal icon will be displayed instead.
    • To use the Modifier for shiny, albino, or melanistic Pokémon, you must use capital letters: (S) for shiny, (A) for albino, and (M) for melanistic.
    • FormeName and Modifier can be used together to display variants of alternate formes.
    • For Unown, omitting the FormeName will give you a random letter each time the page is loaded.
  • Example
    • [pkmn=Mightyena]
    • Icon Mightyena.png
    • [pkmn=Mightyena/Mega Forme Q]
    • Icon Mega Mightyena Q.png
    • [pkmn=Shinxel/]
    • Icon Shinxel.png
    • [pkmn=Eevee (S)]
    • Icon Eevee Shiny.png
    • [pkmn=Nidoran (F)]
    • Icon Nidoran Female.png
    • [pkmn=Mightyena (A)/Mega Forme Q]
    • Icon Mega Mightyena Q Albino.png

Pokémon Panel

  • This bit of BBCode shows a Pokémon card in any post allowing BBCode (ex. about me, forum post, signatures, etc.). You can feed the Pokémon, view any item they are holding, etc. as if you were on the owner's profile.
  • To use you insert the following code, along with the unique Pokémon's code:
    • [pkmnpanel=CODE HERE]
  • Examples
    • [pkmnpanel=L3hKv]
    • Pokémon Panel Example 1.png
    • [pkmnpanel=gqg]
    • Pokémon Panel Example 2.png
    • [pkmnpanel=gq5]
    • Pokémon Panel Example 3.png

Progress Bar

  • Tag
    • [progress=Completion/Goal]Message[/progress]
  • Parameters
    • Completion: How far you want the progress bar to fill based on the Goal.
    • Goal: "Out of" value; Affects how much progress is made.
    • Message: Message to be displayed on the Progress Bar.
  • Information
    • This BBCode is used to create a progress bar.
    • The Completion and Goal parameters must:
      • Be positive integers
      • Consist of only numerical characters (0-9), or [inventory] tags in quotation marks. (Placing [inventory] tags without quotation marks will cause an error.)
    • The Goal may be less than the Completion, but will cause the Progress bar to extend off the container.
    • The Message may be any text and can even use BBCode, though it should be kept short enough to fit onto the progress bar.
  • Examples
    • [progress=3/5]I got 3 out of 5![/progress]
    • Progress Example.png
    • Assuming the player has 65 Gold Poké:
    • [progress="[inventory=gold]/450"][item=Exp. Share][inventory=gold]/450 GP to the Exp. Share![/progress]
    • Progress example with inventory.png

Quote

  • Tag
    • [quote]Content[/quote]
    • [quote=QuotedUser]Content[/quote]
    • [quote=QuotedUser;PostID]Content[/quote]
  • Parameters
    • QuotedUser: The person who wrote the content in the quote.
    • PostID: Referenced post ID. You can get this ID by obtaining a standalone link to that post.
  • Information
    • This BBCode is used to quote a user on the site.
    • The use of this BBCode is generally depreciative. This BBCode is automatically generated when quoting someone on the forums and when replying to a Personal Message.
  • Example

Size

  • Tag
    • [size=FontSize]Text[/size]
  • Parameters
    • FontSize: The size of the text to be displayed in points (pt).
  • Information
    • This BBCode is used to change the font size of the text.
    • The size can be within the range of 6 (tiny) and 99 (obscenely huge) but any size below 8 or above 15 typically should be avoided.[1]
  • Example
    • [size=8]Size 8 Text[/size]
    • Size 8 Text

Stackbox

  • Tag
    • [stackbox]Panels[/stackbox]
  • Information
    • This BBCode is very similar to the [accordion] BBCode.
    • The Stackbox is used to display many panels at a time, the panels being [a-section] BBCodes.
    • This BBCode is complicated and should only be used if you know what you are doing.
  • Example
    • [stackbox]
      [a-section=Example 1]Content 1[/a-section]
      [a-section=Example 2]Content 2[/a-section]
      [a-section=Example 3]Content 3[/a-section]
      [/stackbox]
    • Stackbox Example.png

Strike-through

  • Tag
    • [s]Text[/s]
  • Information
    • This BBCode is used to create text that has a strike through it.
  • Example
    • [s]Text with a strike-through[/s]
    • Text with a strike-through

Style

  • Tag
    • [style]CSS declarations[/style]
  • Information
    • An extended version of [css] BBCode. Declares custom CSS for the post. May declare custom CSS classes for use with [styleclass] BBCode.
    • Can be used only once per post, any subsequent occurrences are ignored.
    • The guidelines and restrictions are the same as for [css] BBCode.
    • Skin-dependent values are available:
      • @global-bg: The background image.
      • @col-bg1: The main background colour; default light green.
      • @col-bg2: The "heading" background colour; default light green.
      • @col-bg3: The "panel" background colour; default light green.
      • @col-fg1: The main text colour; default dark green.
      • @col-fg2: The "heading" text colour; default dark green.
      • @col-border1: The colour used for global borders; default green.
      • @col-border2: The colour used for titles; default green.
      • @col-border3: The colour used for content; default green.
      • @col-flavour-up: The colour used for liked flavour; default green.
      • @col-flavour-down: The colour used for disliked flavour; default light red.
      • @col-link1: Link colour; default blue.
      • @col-link2: Visited link colour; default purple.
      • @col-link3: Active link colour; default red.
      • @col-user-normal: User link colour; default red.
      • @col-user-normal2: Visited user link colour; default lighter red.
    • Staff ranks are like user ranks, but each have their own shorthand:
      • Use: @col-user-valuehere
      • Graphics Team: art/art2; default purple and lighter purple.
      • Chat Moderators: chatot/chatot2; default brown and lighter brown.
      • Moderators in Training: mit/mit2; default grey and lighter grey.
      • Moderators: mod/mod2; default yellow and lighter yellow.
      • Super Moderators: supermod/supermod2; default green and lighter green.
      • Administrators: admin/admin2; default blue and lighter blue.
  • Example
    • The following is the code required in this example:
    • [style]
.test_for_wiki {
.panel {
font-family: Times New Roman,serif;
&>h3 {
background: #007F0E;
color: #FFFFFF;
}
&>div {
background: #FFFFFF;
color: #000000;
}
}
}
[/style]
[display=Default CSS]Content[/display]
[styleclass=test_for_wiki]
[display=Custom CSS]Content[/display]
[/styleclass]
  • Style Example.png

Style Class

  • Tag
    • [styleclass=Class]Text[/styleclass]
    • [sc=Class]Text[/sc]
  • Parameters
    • Class: The CSS class to be applied.
  • Information
    • Applies a CSS class declared within a [style] BBCode or one of the above skin-dependent classes to a post fragment.
    • [styleclass] and [sc] are interchangeable.
  • Example
    • See the [style] BBCode for an example.

Subscript

  • Tag
    • [sub]Text[/sub]
  • Information
    • This BBCode is used to create subscripted text.
  • Example
    • [sub]Subscripted Text[/sub]
    • Subscripted Text

Superscript

  • Tag
    • [sup]Text[/sup]
  • Information
    • This BBCode is used to create superscripted text.
  • Example
    • [sup]Superscripted Text[/sup]
    • Superscripted Text

Tabs

  • Tag
    • [sc=tabbed_interface horizontal][ul]
    • [li]Title[/li][/ul][
    • ][sc=tab-active]example text[/sc][
    • ][/sc]
  • Information
    • This BBCode is used to create horizontal tabs
  • Example
    • [sc=tabbed_interface horizontal][ul][li]Title[/li][li]Title[/li][li]Title[/li][/ul][sc=tab-active]example text[/sc][sc=tab]example text[/sc][sc=tab]example text[/sc][/sc]
    • Example of tabs.PNG

Tables

  • Tag
    • [table]Table Elements[/table]
  • Information
    • This BBCode is used in conjunction with the [td], [th] and [tr] BBCodes to create a table.
    • This BBCode alone does nothing but serves as a container for the rest of the table BBCodes.
    • If you add more [td], [th] and [tr] codes, the height will change and more boxes will be added.
  • Example
    • [table][tr][th]Table Heading[/th][/tr][tr][td]Table Cell[/td][/tr][/table]
    • Table Heading
      Table Cell

Table Cell

  • Tag
    • [td]Cell Content[/td]
    • [td=CxR]Cell Content[/td]
  • Information
    • This BBCode is used to create a Table Cell, displaying information.
    • In order to make cells span across multiple rows, columns or both, use the second syntax. C is the number of columns to span, and R the number of rows. The x is a literal "x", to separate the two numbers.
    • This BBCode can only be used within a [tr] BBCode.
  • Example
    • See the [table] BBCode for a generic example.
    • With row/column spanning:
    • NormalNormalNormalNormal
      Normaltd=3x1
      Normaltd=1x2td=2x2
      Normal

Table Heading

  • Tag
    • [th]Heading Content[/th]
    • [th=CxR]Heading Content[/th]
  • Information
    • This BBCode is used to create a Table Heading Cell, displaying a Heading.
    • In order to make cells span across multiple rows, columns or both, use the second syntax. C is the number of columns to span, and R the number of rows. The x is a literal "x", to separate the two numbers.
    • This BBCode can only be used within a [tr] BBCode.
  • Example
    • See the [table] BBCode for a generic example.
    • See the [td] BBCode for an example with row/column spanning.

Table Row

  • Tag
    • [tr]Cells[/tr]
  • Information
    • This BBCode is used to define a new row within a table.
    • This BBCode can only be used within the [table] BBCode.
  • Example
    • See the [table] BBCode for an example.

Tooltips - [tip]

  • Tag
    • [tip=TipText]Text[/tip]
  • Parameters
    • TipText: The text to be displayed when the user hovers over the text.
  • Information
    • This BBCode is used to show a tip when the user's cursor hovers over the text.
    • The text inside has a dotted line underneath, denoting a tip is available.
  • Example
    • [tip=Tip Example]Text[/tip]
    • Tip Example.png

Tooltips - [pit]

  • Tag
    • [pit=Text]PitText[/pit]
  • Parameters
    • Text: The text that is normally displayed without hovering.
    • PitText: The text to be displayed when the user hovers over the text.
  • Information
    • This BBCode is used to show a tooltip when the user's cursor hovers over the text. It works the same as the tip-BBCode with its parameters switched around. This can be useful if there is a long string of text including BBcode that should be displayed in the tooltip.
    • The text inside has a dotted line underneath, denoting a tip is available.
  • Example
    • [Pit=Text]Pit Example[/pit]
    • Pit Example.png

Type

  • Tag
    • [type=Type]
    • [type=Type/V]
  • Parameters
    • Type: The Type icon to be displayed.
  • Information
    • This BBCode is used to display any of the 18 type icons, not including the Type Unknown.png-type.
    • This BBCode is used to display any of the 18 V~Wave Icons which are also used for the Type Races.
  • Example
    • [type=Normal]
    • Type Normal.png
    • [type=Normal/V]
    • Type Normal Type Race.png

Under 18 Test

  • Tag
    • [under18test]
  • Information
    • This BBCode is used to test the (dis)appearance of [mature] sections. All those sections will be hidden if at least one instance of this tag is present.
    • Saving the post with this tag will hide all [mature] sections from all users.

Underline

  • Tag
    • [u]Text[/u]
  • Information
    • This BBCode is used to display a solid underline below text.
  • Example
    • [u]Underlined Text[/u]
    • Underlined Text

URLs

  • Tag
    • [url=URL]Text[/URL]
    • [url=URL][img]Image Link here[/img][/url]
  • Parameters
    • Optional [URL]: The URL for the Text to redirect to. If this parameter is left out the Text will become the URL.
  • Information
    • This BBCode is used to direct the user to a new page upon clicking the link created.
  • Example
    • [url=http://pokefarm.wiki/EggDex]EggDex[/url]
    • EggDex

Youtube

  • Tag
    • [youtube]YouTubeID[/youtube]
  • Parameters
    • YouTubeID: A YouTube video's unique URL ID. A video's ID is the last string of chracter's in a video's URL (http://www.youtube.com/watch?v=YouTubeID).
  • Information
    • This BBCode produces a YouTube video player.
  • Example
    • [youtube]okMK1NYRySI[/youtube]
    • YouTube Example.png

Notes

  • When defining parameters that use brackets ([ and ]), quotes may be used to stop the parser looking for the first right bracket.
E.g. [tip="This tip uses brackets! [[ ] [ ][ ] ]"]Brackets![/tip]
  • If one were to end a line with [ then start the next with ], then the newline is ignored. Furthermore, any other characters are ignored up until the first right bracket. This allows for for easier organisation.
Example:
[url=http://pokefarm.wiki/BBCode#Notes][
This text is after a newline, after a left bracket, and will not be visible.
]Wowie, this sure is a link![
][/url]
results in
Wowie, this sure is a link!

References

  1. Sei. "Legibility Guidelines". News Archive, 2016.