PHO - Pokémon Hackers Online
Go Back   PHO - Pokémon Hackers Online > FAQ

BB Code
BB code is a set of tags based on the HTML language that you may already be familiar with. They allow you to add formatting to your messages in the same way as HTML does, but have a simpler syntax and will never break the layout of the pages you are viewing. 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.

Below is a list of the BB code tags you can use to format your messages.
BB Code List
[b], [i], [u] Bold / Italic / Underline
[color] Color
[size] Size
[font] Font
[highlight] Highlight
[left], [right], [center] Left / Right / Center
[indent] Indent
[email] Email Linking
[url] URL Hyperlinking
[thread] Thread Linking
[post] Post Linking
[list] Bulleted Lists / Advanced Lists
[img] Images
[code] Code
[php] PHP Code
[html] HTML Code
[quote] Quote
[noparse] Stop BB Code Parsing
[attach] Attachment
[a id] Anchor Link
[a url] Aurl
[acronym] Acronym
[aurl] Aurl alt
[br] Line Space
[cd] CSS Div
[cimg] Cimg
[class] Div Class
[css-div] Styled Division Input
[css-span] CSS Span
[Div] CSS Div
[flipnote] Ugomemo Flipnotes
[founders] Founders
[glow] Glow
[h1] Header
[h2] Header 2
[h3] Header 3
[hlight] Highlight
[hr] Horizontal Rule
[iframe] iFrame
[imgalign] Image Align
[imglink] imglink
[indent2] Indent
[iurl] iURL
[marquee] Marquee
[mention] Mention
[MP3] MP3 Audio
[pokemon] Pok?mon Sprite
[s] Strike
[sound] Sound v2
[span] CSS Advanced Input
[spoiler] Spoiler
[title] Title
[user] User
[youtube] YouTube Embed
Incorrect BB Code Usage:
  • [url] www.example.com [/url] - don't put spaces between the bracketed code and the text you are applying the code to.
  • [email]myname@domain.com[email] - the end brackets must include a forward slash ([/email])

Bold / Italic / Underline
The [b], [i] and [u] tags allow you to create text that is bold, italic and underlined.
Usage [b]value[/b]
[i]value[/i]
[u]value[/u]
Example Usage [b]this text is bold[/b]
[i]this text is italic[/i]
[u]this text is underlined[/u]
Example Output this text is bold
this text is italic
this text is underlined

Color
The [color] tag allows you to change the color of your text.
Usage [color=Option]value[/color]
Example Usage [color=blue]this text is blue[/color]
Example Output this text is blue

Size
The [size] tag allows you to change the size of your text.
Usage [size=Option]value[/size]
Example Usage [size=+2]this text is two sizes larger than normal[/size]
Example Output this text is two sizes larger than normal

Font
The [font] tag allows you to change the font of your text.
Usage [font=Option]value[/font]
Example Usage [font=courier]this text is in the courier font[/font]
Example Output this text is in the courier font

Highlight
The [highlight] tag allows you to emphasize your text.
Usage [highlight]value[/highlight]
Example Usage [highlight]this text is highlighted[/highlight]
Example Output this text is highlighted

Left / Right / Center
The [left], [right] and [center] tags allow you to change the alignment of your text.
Usage [left]value[/left]
[center]value[/center]
[right]value[/right]
Example Usage [left]this text is left-aligned[/left]
[center]this text is center-aligned[/center]
[right]this text is right-aligned[/right]
Example Output
this text is left-aligned
this text is center-aligned
this text is right-aligned

Indent
The [indent] tag allows you to indent your text.
Usage [indent]value[/indent]
Example Usage [indent]this text is indented[/indent]
Example Output
this text is indented

Email Linking
The [email] tag allows you to link to an email address. You can include an optional parameter to 'name' your link.
Usage [email]value[/email]
[email=Option]value[/email]
Example Usage [email]j.doe@example.com[/email]
[email=j.doe@example.com]Click Here to Email Me[/email]
Example Output j.doe@example.com
Click Here to Email Me

URL Hyperlinking
The [url] tag allows you to link to other websites and files. You can include an optional parameter to 'name' your link.
Usage [url]value[/url]
[url=Option]value[/url]
Example Usage [url]http://pokemonhackersonline.com[/url]
[url=http://pokemonhackersonline.com]PHO - Pokémon Hackers Online[/url]
Example Output http://pokemonhackersonline.com
PHO - Pokémon Hackers Online

Thread Linking
The [thread] tag allows you to link to threads by specifying the thread id. You can include an optional parameter to 'name' your link.
Usage [thread]threadid[/thread]
[thread=threadid]value[/thread]
Example Usage [thread]42918[/thread]
[thread=42918]Click Me![/thread]
(Note: The threadid/postid is just an example and may not link to a valid thread/post.)
Example Output http://pokemonhackersonline.com/showthread.php?t=42918
Click Me!

Post Linking
The [post] tag allows you to link to posts by specifying the post id. You can include an optional parameter to 'name' your link.
Usage [post]postid[/post]
[post=postid]value[/post]
Example Usage [post]269302[/post]
[post=269302]Click Me![/post]
(Note: The threadid/postid is just an example and may not link to a valid thread/post.)
Example Output http://pokemonhackersonline.com/showthread.php?p=269302#post269302
Click Me!

Bulleted Lists
The [list] tag allows you to create simple, bulleted lists without specifying an option. Within the value portion, each bullet is denoted by the [*] tag.
Usage [list]value[/list]
Example Usage [list]
[*]list item 1
[*]list item 2
[/list]
Example Output
  • list item 1
  • list item 2

Advanced Lists
The [list] tag allows you to create advanced lists by specifying an option. The option should have a value of 1 (for a numbered list) or A (for an alphabetic with capital letters list) or a (for an alphabetic with lowercase letters list) or I (for a numbered with capital Roman numeral list) or i (for a numbered with small Roman numeral list).
Usage [list=Option]value[/list]
Example Usage [list=1]
[*]list item 1
[*]list item 2
[/list]

[list=a]
[*]list item 1
[*]list item 2
[/list]
Example Output
  1. list item 1
  2. list item 2
  1. list item 1
  2. list item 2

Images
The [img] tag allows you to embed images within your posts. You can also combine this tag with the [url] tag to make images become links.
Usage [img]value[/img]
Example Usage [img]http://pokemonhackersonline.com/images/templates/b2/statusicon/forum_new.gif[/img] (Not linked)

[url=http://www.example.com] [img]http://pokemonhackersonline.com/images/templates/b2/statusicon/forum_new.gif[/img] [/url] (Linked)
Example Output (Not linked)

(Linked)

Code
The [code] tag switches to a fixed-width (monospace) font and preserves all spacing.
Usage [code]value[/code]
Example Usage [code]
<script type="text/javascript">
<!--
    alert("Hello world!");
//-->
</script>
[/code]
Example Output
Code:
<script type="text/javascript">
<!--
	alert("Hello world!");
//-->
</script>

PHP Code
The [php] tag performs the same function as the [code] tag, but also adds syntax highlighting for PHP code. Although it is designed for PHP, it may correctly highlight some other C-like languages.
Usage [php]value[/php]
Example Usage [php]
$myvar = 'Hello World!';
for ($i = 0; $i < 10; $i++)
{
    echo $myvar . "\n";
}
[/php]
Example Output
PHP Code:
$myvar 'Hello World!';
for (
$i 0$i 10$i++)
{
    echo 
$myvar "\n";


HTML Code
The [html] tag allows you to perform syntax highlighting for HTML code.
Usage [html]value[/html]
Example Usage [html]
<img src="image.gif" alt="image" />
<a href="testing.html" target="_blank">Testing</a>
[/html]
Example Output
HTML Code:
<img src="image.gif" alt="image" />
<a href="testing.html" target="_blank">Testing</a>

Quote
The [quote] tag allows you to attribute text to someone else.
Usage [quote]Quote[/quote]
[quote=User Name]value[/quote]
Example Usage [quote]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe]Lorem ipsum dolor sit amet[/quote]
[quote=John Doe;136631]Lorem ipsum dolor sit amet[/quote]
Example Output
Quote:
Lorem ipsum dolor sit amet
Quote:
Originally Posted by John Doe
Lorem ipsum dolor sit amet
Quote:
Originally Posted by John Doe View Post
Lorem ipsum dolor sit amet

Stop BB Code Parsing
The [noparse] tag allows you to stop the parsing of BB code.
Usage [noparse][b]value[/b][/noparse]
Example Usage [noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
Example Output [b]Lorem ipsum dolor sit amet[/b]

Attachment
The [attach] tag allows you to display an attachment in your post rather than at the bottom. It will only display attachments that belong to the post in which it is utilized.
Usage [attach]attachmentid[/attach]
Example Usage [attach]12345[/attach]
Example Output

Anchor Link
The [aurl] tag is used in conjunction with the [a id] tag. One is not functional without the other.
Usage [a id]value[/a id]
Example Usage [a id]This takes you to a new location within a post <---- PEDRO12: No it doesn't GAWD ---->[/a id]
Example Output

Aurl
This is where you jump to
Usage [a url=Option]value[/a url]
Example Usage [aurl=aname]This is where you jump to[/aurl]
Example Output This is where you jump to

Acronym
Makes a hover effect for selected text.
Usage [acronym=Option]value[/acronym]
Example Usage [acronym=Pretty neat, huh?]Hover for message[/acronym]
Example Output Hover for message

Aurl alt
This is where you jump to
Usage [aurl=Option]value[/aurl]
Example Usage [aurl=aname]This is where you jump to[/aurl]
Example Output This is where you jump to

Line Space
Adds an empty line.
Usage [br]value[/br]
Example Usage [br][/br]
Example Output

CSS Div
Allows CSS usage in a div tag.
Usage [cd=Option]value[/cd]
Example Usage [cd="padding: 2px 2px 2px 2px; border: dashed 1px #60B530; font-variant: small-caps; color: #60B530; background-color: #FFFFFF;"]This division box has CSS styling it.[/cd]
Example Output
This division box has CSS styling it.

Cimg
Use CSS to style images.
Usage [cimg=Option]value[/cimg]
Example Usage [cimg="border:1px solid #000;padding:1px;background-color:#fff"]http://img.skitch.com/20090810-cy5h8syy26pyc3g653tk9eixd9.png[/cimg]
Example Output

Div Class
Use a theme's CSS classes in your post. Possible uses include adding a themed based background color, etc.
Usage [class=Option]value[/class]
Example Usage [class=tcat]This is an example.[/class]
Example Output
This is an example.

Styled Division Input
Allows CSS usage in a div tag.
Usage [css-div=Option]value[/css-div]
Example Usage [css-div="padding: 2px 2px 2px 2px; border: dashed 1px #60B530; font-variant: small-caps; color: #60B530; background-color: #FFFFFF;"]This division box has CSS styling it.[/css-div]
Example Output
This division box has CSS styling it.

CSS Span
Hehehe.
Usage [css-span=Option]value[/css-span]
Example Usage [css-span="color:red;"]This is red.[/css-span]
Example Output This is red.

CSS Div
Usage [Div=Option]value[/Div]
Example Usage [div="padding:1em;background:#000;color:#FFF;"]LOL[/div]
Example Output [div="padding:1em;background:#000;color:#FFF;"]LOL[/div]

Ugomemo Flipnotes
Embed Flipnotes from the Flipnote Hatena service. Visit Flipnote Hatena for more information.
Usage [flipnote=Option]value[/flipnote]
Example Usage [flipnote=5D1BA19027FB354F]FB354F_0C0325BA1A687_006[/flipnote]
Example Output

Founders
Displays the founders icons.
Usage [founders]value[/founders]
Example Usage [founders][/founders]
Example Output Green Charizard Christos TreeckoLv100

Glow
This code makes text "Glow" (Actually a shadow attribute)
Usage [glow=Option]value[/glow]
Example Usage [glow="red"]test glow[/glow]
Example Output test glow

Header
Modifies the text sized to the option.
Usage [h1]value[/h1]
Example Usage [h1]This is the biggest header[/h1]
Example Output

This is the biggest header


Header 2
Modifies the text sized to the option.
Usage [h2]value[/h2]
Example Usage [h2]This is the second biggest header[/h2]
Example Output

This is the second biggest header


Header 3
Modifies the text sized to the option.
Usage [h3]value[/h3]
Example Usage [h3]This is a small header[/h3]
Example Output

This is a small header


Highlight
Put highlighting around selected text.
Usage [hlight]value[/hlight]
Example Usage [hlight]Here is your text[/hlight]
Example Output Here is your text

Horizontal Rule
Creates a horizontal line.
Usage [hr]value[/hr]
Example Usage [hr]text[/hr]
Example Output

iFrame
Usage [iframe]value[/iframe]
Example Usage [iframe]https://docs.google.com/drawings/d/17DTNfMKI6KJ_gnfov2IlFxy8IPp_-z4pVFj6TNKVtEY/edit[/iframe]
Example Output

Image Align
Allows you to align an image.
Usage [imgalign=Option]value[/imgalign]
Example Usage [imgalign=left]http://www.thepkmnworld.co.uk/sprites/117.png[/imgalign] This is an example.
Example Output http://www.thepkmnworld.co.uk/sprites/117.png This is an example.

imglink
Use THIS IMGLINKtag to put images with a link in your forum. This allows: [url=link][imglink]urltotheimage[/imglink][/url] ...to work again without The Image Resizer to broke the link.
Usage [imglink]value[/imglink]
Example Usage [imglink]../images/misc/rss.jpg[/imglink]
Example Output

Indent
Adds an indent.
Usage [indent2]value[/indent2]
Example Usage [indent2][/indent2]
Example Output        

iURL
This BB code links you directly to a part of the forum.
Usage [iurl=Option]value[/iurl]
Example Usage [iurl=misc.php?do=bbcode]BB Code List[/iurl]
Example Output BB Code List

Marquee
Creates scrolling content. (Can contain text, images, links etc. etc...) You may choose either Left or Right Directions.
Usage [marquee=Option]value[/marquee]
Example Usage [marquee=left]Scrolling Content![/marquee]
Example Output Scrolling Content!

Mention
Mention an user to alert him or her to this post!
Usage [mention]value[/mention]
Example Usage [mention]Username[/mention]
Example Output @

MP3 Audio
Embeds MP3 audio clips into posts.
Usage [MP3]value[/MP3]
Example Usage [MP3]http://dl.dropbox.com/u/34957059/Make%20It%20Work%20series/Pok%C3%A9mon%20Diamond%20Rival%20Battle%20theme%20-%20FF8.mp3[/MP3]
Example Output [MP3]http://dl.dropbox.com/u/34957059/Make%20It%20Work%20series/Pok%C3%A9mon%20Diamond%20Rival%20Battle%20theme%20-%20FF8.mp3[/MP3]

Pok?mon Sprite
A BB code that lets you show a Pok?mon sprite, given by its Pok?dex Number/ID.
Usage [pokemon]value[/pokemon]
Example Usage [pokemon]roserade[/pokemon]
Example Output roserade

Strike
Used to strike through a strings of words.
Usage [s]value[/s]
Example Usage [s]This is an example.[/s]
Example Output This is an example.

Sound v2
Just a better sound player
Usage [sound=Option]value[/sound]
Example Usage [sound=Better song player]https://dl.dropbox.com/u/34957059/Make%20It%20Work%20series/Pokemon%20B%26W-%20Icirrus%20City.mp3[/sound]
Example Output

CSS Advanced Input
Allows CSS in span.
Usage [span=Option]value[/span]
Example Usage [span="font-size: 11px;"]This is text in 11px defined by CSS.[/span]
Example Output This is text in 11px defined by CSS.

Spoiler
This Tag uses to hide information.
Usage [spoiler]value[/spoiler]
Example Usage [spoiler]This a message inside the spoiler tag.[/spoiler]
Example Output
Spoiler:
This a message inside the spoiler tag.

Title
This code allows you to add title to a content.
Usage [title=Option]value[/title]
Example Usage [title=This is a title]Example.[/title]
Example Output Example.

User
Usage [user]value[/user]
Example Usage [user]Winter's Dew[/user]
Example Output Winter's Dew

YouTube Embed
This BB Code will embed a YouTube video into your post.
Usage [youtube]value[/youtube]
Example Usage [youtube]RZlIcJbbm08[/youtube]
Example Output


All times are GMT. The time now is 04:16 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc. User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo.
Pokémon Hackers Online (PHO) is in no way affiliated with or endorsed by Nintendo LLC, Creatures, GAMEFREAK inc,
The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast.
All forum/site content (unless noted otherwise) and site designs are © 2006-2013 Pokémon Hackers Online (PHO).
Green Charizard Christos TreeckoLv100

"Black 2" by ARTPOP. Kyurem artwork by XOUS.