Guide: BBCode Guide

Last edited by Takaia, 16 August 2016 05:21:03 PM
BBCode is a type of markup mainly used on boards and forums. A function generally consists of an opening tag, such as [i], and a closing tag, such as [/i]. The table below is aimed to guide you in understanding the BBCode that is supported here at Art Fight.

BBCode formatPosted resultsAcceptable input/notes
Standard
[i]italicized text[/i]italicized text
[b]bolded text[/b]bolded text
[s]strikethrough text[/s]strikethrough text
[u]underlined text[/u]underlined text
[small]small text[/small]small text
[sub]subscript text[/sub]subscript text
[sup]superscript text[/sup]superscript text
[url=http://example.org]hyperlinked text[/url]hyperlinked text
[img]image.png[/img][img]/images/logo50.png[/img]Images that are too large will be automatically resized
[size=5]text resize[/size]text resize 1 - 7
[h1]header text[/h1]

header text

h1

to
h6
[font=Georgia]font style[/font]font styleArial, Arial Black, Courier New, Georgia, Impact, Sans-Serif, Serif, Times New Roman, Trebuchet MS, Verdana
[right]right-aligned text[/right]
right-aligned text
[center]center-aligned text[/center]
center-aligned text
[left]left-aligned text[/left]
left-aligned text
[hr]
Note: A horizontal rule does not need a closing bracket.
example[br][br][br]textexample


text
Introduces a new line within the same line.
[quote]Quote[/quote]
Quote
[quote=@username]Named quote[/quote]
adminNamed quote
The quoted name does not have to be a user ping.
[spoiler]spoiled text[/spoiler]
Spoiler:
This will be displayed in full in the WYSIWYG editor as a preview, but will be hidden when displayed normally.
[ code]non-transforming text[ /code]non-transforming text
[list=1][li]list=1[/li][/list]
  1. [list=A]
  1. [list=1]
  1. [list=A]
  1. [list=a]
  1. [list=I]
  1. [list=i]
Notes: Leaving the option blank will result in an unordered list. [*] (no closing tag) can be used for bullets.
Tables
[table][/table]Required to start the table.
[tr][/tr]Required to have a row in the table. Inserted between the opening and closing tags for the table. You may have multiple of these in a table.
[td]table cell[/td]Required to have information in the table. Inserted between the opening and closing tags for the table row. You may have multiple of these in a row. Each row should have the same number of cells.
[th]table header cell[/th]For header cells. Can be used in place of normal table cells.
[table][tr][td]cell 1[td][td]cell 2[td][/tr][tr][td]cell 3[td][td]cell 4[td][/tr][/table]
cell 1cell 2
cell 3cell 4
Table sample
Art Fight Specific
@admin adminNote: In comments, this will notify the user that they were pinged and turn into a link to their page. The username will not turn into a link if the user does not exist.