BB Code
The ability to use BBCode was gradually phased out with the introduction of a new Text Editor, which allowed the use of HTML. | [1]
The last remaining use of BBCode may have been the Committee's 'Mass Mail' until it was replaced there by the new Editor in August 2024 | [2]
The remainder of this page should be considered in a historical context only.
BBCode is how you edit text in Torn City.
BBCode is quite simple once you've got the hang of it.
Codes
All Codes can be used together E.g. [b][i]Your Text[/i][/b] This would look like: Your Text
| Code | Description | Example |
|---|---|---|
| Text Styles | ||
| [b]Text[/b] | Bold | Text |
| [i]Text[/i] | Italics | Text |
| [u]Text[/u] | Underline | Text |
| [s]Text[/s] | Strike Through | |
| [o]Text[/o] | Overline | Text |
| [color=X]Text[/color] | Text color (see Color Chart) | Text |
| [size=X]Text[/size] | Text Size | Text (Size 4) |
| [font=X]Text[/font] | Text Font (see Font List) | Text (Comic Sans MS) |
| [center]Text[/center] | Centers the Text (on Profiles this is done by default) | Text |
| [right]Text[/right] | Aligns text to the right | Text |
| [left]Text[/left] | Aligns text to the left (except Profiles this is done by default) | Text |
| Links | ||
| [profile]User ID[/profile] | Profile Link | [3] |
| [fac]Faction ID[/fac] | Faction Link | [4] |
| [url=URL]Your Link[/url] | Creates a hyperlink | Your Link |
| [mail]Email[/mail] | Creates a email mailto: link (Does not create a torn mail link) | [5] |
| Images / Flash / Youtube | ||
| [img]Image URL[/img] | Displays the Image | |
| [img=WidthxHeight]Image URL[/img] | Displays the Image resized to "Width" and "Height" maintaining aspect ratio | |
| [background img=IMAGE URL]Text[/background] | Displays an Image layered behind Text | |
| [flash=HeightxWidth]Flash SWF URL[/flash] | Displays a Flash (.SWF) File | |
| [url=SITE URL][img]IMAGE URL[/img][/url] | Creates a Hyperlink on the displayed image. | |
| [youtube]Video ID[/youtube] | Embeds a Youtube video. | See below |
| Other | ||
| [quote]Someones Text[/quote] | Creates a quote box around your text. | |
| [code]Code Text[/code] | Creates a table to display code. | |
Restrictions
- You can't change the color of a link. e.g. [url=X][color=X]Text[/color][/url]
- As mentioned above [url=URL][img]Image URL[/img][/url] wont work, you must use [imgurl=URL]Image URL[/imgurl]
- Torn uses its own custom sizing when using size BB code. The minimum is '1' and the maximum is '7'
Color Chart
Put any one of these colors into the ([color=ColorHere]Text[/color]) BB Code tags to change the color of your writing. You may also use HTML Color Codes instead of the color. Example: [color=#42445E]Text[/color], this would display "Text". You can generally find the codes for colors in program's color pickers (like photoshop).
| aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond |
| blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue |
| cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkkhaki |
| darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray |
| darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dodgerblue | firebrick | floralwhite | forestgreenfuchsia |
| fuchsia | gainsboro | ghostwithe | gold | goldenrod | gray | green | greenyellow | honeydew |
| hotpink | indianred | indigo | ivory | khaki | levender | levenderblush | lawngreen | lemonchiffon |
| lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen |
| lightskyblue | lightslategray | lightsteelblue | lightyellow | lime | green | linen | magenta | maroon |
| mediummaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred |
| midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab |
| orangered | orchid | palegoldenrod | palegreen | palaturquoise | palevioletred | papayawhip | peachpuff | peru |
| pink | plum | powderblue | purple | red | rosybrown | royalblue | saddlebrown | salmon |
| sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | snow |
| springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat |
| white | whitesmoke | yellow | yellowgreen | |||||
Font List
This is a list of Default fonts (That come pre-installed on computers):
| Arial | Arial Narrow | Arial Black | Century Gothic | Book Antiqua | Courier New | Comic Sans MS | Garamond | Franklin Gothic Medium | Georgia |
| Impact | Lucida Sans Unicode | Lucida Console | Palatino Linotype | Microsoft Sans Serif | Tahoma | Trebuchet MS | Times New Roman | Verdana | |
Youtube
A typical youtube video url: https://www.youtube.com/watch?v=dQw4w9WgXcQ
BBcode uses the ID part of the url, namely the alphanumeric after the = sign
[youtube]dQw4w9WgXcQ[/youtube]
If done correctly the video should then be embedded into the page