BBCodes

From 5punk Wiki
Revision as of 05:46, 16 March 2008 by Stoat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Forum BBCode Quick Reference

Basic Styling

  • [b]text[/b] - Bold.
  • [i]text[/i] - Italic.
  • [u]text[/u] - Underlined.
  • [s]text[/s] - Strikethrough.
  • [color=#n]text[/color] - Text Colour.
  • [size=n]text[/size] - Font Size (in pixels) (*Not supported on the Discussion Board*).


Links and Embeds

  • [url]address[/url] - Link to a page.
  • [url=address]text[/url] - Link to a page, using text as the link.
  • [img]image address[/img] - Embed an image.
  • [img size=n]address[/img] - Embed an image and set its width (in pixels).
  • [media]video address[/media] - Embed a video player from YouTube, Google, DailyMedia or GameTrailers.


Other

  • [quote]text[/quote] - Display text in a box-out.
  • [quote="x"]text[/quote] - Display text in a box-out, giving x as the source.
  • [code]text[/code] - Display text in a box-out that is not affected by any tags.
  • [list]
    • [*]
  • [/list] - A list. (*Not supported on the Discussion Board*).


Text Color

The [color] tag supports a number of predefined colour names, such as red, orange, green, black and many more. For more control, however, it also supports hexadecimal colour reference (0 to F). For example, [color=#ff00cc]text[/color] produces a bright pink colour (Full red (ff) No green(00) and a medium blue (cc)).