BBcode

xcfr > en

BBcode | Restrictions | Colour Chart | Font List | Youtube Videos


BBcode:
BB Code is quite simple once you've got the hang of it. This table contains all of the BBcode usable within TC.

Key
(to below table):

X
= These X's should be self explanatory.
Your text = The text you want affected by the code.
User ID = The players ID you want to link to.
Faction ID = The Factions ID you want to link to.
Email = The email address you want to link to.
ImageURL = The full url of the image you want to display.
URL = The full url of the link you want to link/flash file you want to link to/display.
Height = Height of the flash you want to be displayed.
Width = Width of the flash you want to be displayed.

Code: Description: Example:
Text Styles
[b]Your text[/b] Bold Bold
[i]Your text[/i] Italics Italics
[u]Your text[/u] Underline Underline
[o]Your text[/o] Overline Overline
[s]Your text[/s] Strikethrough Strikethrough
[colour=X]Your text[/colour] Text colour (see colour chart)
Text colour
[size=X]Your text[/size] Text Size Size 8
[font=X]Your text[/font] Changes the Font (see font list )
Changes the Font
[cen]Your text [/cen] Centers the text
Center
[right]Your text[/right] Aligns text to the right
Right
[left]Your text[/left] Aligns text to the left
Left
Links
[profile]User ID[/profile] Profile Link Profile for ID: 32978
[fac]Faction ID[/fac] Faction Link Faction ID: 1
[url=URL]Your text[/url] Hyperlinks the text Hyperlinks the text
[mail]Email[/mail] Mail link N/A
[url]URL[/url] Makes a raw URL a link
http://www.tcbasic.com
Images/ Flash
[img]ImageURL[/img] Shows an Image
[flash=HeightxWidth]URL[/flash] Shows a flash (*.swf) animation N/A
[imgurl=URL]ImageURL[/imgurl] Displays an Image that is hyperlinked
Other
[quote]Someones text[/quote] Creates a quotation box around the text
N/A
[code]Your text[/code] Creates a table to display raw code (doesn't work correctly) N/A

 


BBCode Restrictions:

  • Combining code will not always work, for instance you can't have a piece of text link to something, and change its colour. [url=x][colour=x]text[/colour][/url] will not work.
  • There are some restrictions with what words you can have in links, i.e. you can't have certain words, or else it will not work properly, and only show the raw bbcode- for instance:
    - '&' will break your link

Colour Chart:
Put any one of these colours into the [color=colourhere]Text[/color] BBcode tags to change the colour of your writing
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 limegreen 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
Note: Can also use hex codes: [color=00ffaa]Text here[/color]


Font List:
Remember, you can use any font installed on your computer in you bbcode, but others will only see it if they also have that same font installed. This is a list of Default fonts (That come pre-installed on all 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 Videos:
To add a youtube video, open the Youtube video page, and click on 'embed video'.
From the resulting code, take only this part (in bold):

embed src="/http://www.youtube.com/v/upkyesbHu-o?fs=1&hl=de_DE&rel=0"

Put this url into the flash tags (see table at the top of this page), including whatever width / height you desire.
Example: [flash=385x640]http://www.youtube.com/v/upkyesbHu-o[/flash]


Comments (58)

Subscribe to this comment's feed

Show/hide comments
 1 2 > 
...
0
[cen]ImageUrl or Text[/cen]

Centres images and text to the page ;)
bcfcespley , April 24, 2007
...
0
Can u put music on the profile somehow?
Lasko , October 02, 2007
...
0
I finally found a Flash game website that creates the BBCODE for you. You just have to copy the BBCODE and add it to your profile signature.
It’s called http://www.classicflashgame.com
JackBlack128 , October 30, 2007
...
TaxCollector
Thanks for the coding...it helped my profile sig big time
peter , February 14, 2008
...
261311
Testing if we can use HTML in our posts.
Hi
Bold
Emp

Probably won't work.
Zack , May 14, 2008
...
0
it did work
GTX247 , June 07, 2008
...
0
Is it possible to put your own picture saved to my desktop up on my profile?
{_()_______]~~' , August 06, 2008
...
0
I figured it out! I used photobucket.com to upload my pic, then used the BBCode to paste it in my profile.
{_()_______]~~' , August 06, 2008
...
Samuel_asd
Samuel W , August 16, 2008
...
Samuel_asd
OOps.. it did not work
Samuel W , August 16, 2008
...
Samuel_asd
but it works
Samuel W , August 16, 2008
...
0
How come the Url BBCode doesn't work?
Someone_Guyz , August 22, 2008
...
pimpgabriel
your text
that is a good one
gabriel , October 07, 2008
...
0
Hello! Ive seen on a few profiles lately that the background of there profile signature is all one colour behind all the sigs, quotes, battles etc how can you do this does anyone know?
Bub , October 18, 2008
...
0
can someone tell me how to place flash games in my profile signature? TCB i have asked many peeps in tc but they dont reply.... i even asked the helpers plz help!!!!
james ash , October 19, 2008
...
0
it works i can now use a profile image
jlm78 , October 19, 2008
...
0
how do you add videos to your profile

TCB: You can add flash format videos using the [flash] tags. Youtube videos give you the code to imbed them right next to the video.
ryantc , October 26, 2008
...
0
how do u add games
i dont no , November 19, 2008
...
0
I am with problems in my profile look, my id is 661036, I can't put more than 3 links, I want to put one link to people apply in my company, one link to people send cash for me, and one link to people add me on their friends list, and already have one link to people click and logout ^^ and one link to people click and attack me =P, if someone can help me send me one menssage on torn ok? thank's

TCB: There's no limit to links in your profile. But links that cause people to attack, and links that cause people to logout are illegal.
SilverEagle , December 02, 2008
...
matty992
[colour=hotpink]OR CLICK THIS LINK http://www.torncity.com/joblis...af7106a087.............why wont this link work on tc??
NotesCafe , December 03, 2008
...
0
hi, just thought i would let you know there is a bit of a typo on the Colour Chart..

"limelimegreen" should be just "limegreen".

no big deal, just letting ya know.

wicked site tho, use it all the time!
Scratcha , December 17, 2008
...
dessie
i followed every step for the colour thing ..... but still when i put it up on my proflile sig .. it doesnt work .. it just says what i put down like [colour=....................]

so what did i do wrong ?

TCB: Try it without the 'u' in color.
dessie , December 25, 2008
...
0
hey

for the url BBcodeyou have said example
when it really is [*url=www.tcbasic.com[/*url] like below
jambojim , January 05, 2009
...
0
How to change the writing on a picture?

TCB: You have to edit the picture using a photo editing program, eg photoshop, or gimp
mitch , January 07, 2009
...
0
how do u put a hit counter on your profile

TCB: Google for a free Hit Counter site, follow the instructions, and then put the code they give you into the [flash] tags described in the tutorial above.
chaz , January 15, 2009
...
0
how do you get a link on your proflie for them to log out

TCB: That's illegal.
chaz , February 05, 2009
...
0
Is it possible to apply a picture as your background and how would you do that?

TCB: It's not possible using code.
Drakor , February 13, 2009
...
Bragonz
I can't get the font code to work...i wrote [/font*] anyone know why this doesn't work?

TCB: Take out the star?
Adam , May 19, 2009
...
TornGeneral
Hi Everyone!

I have tryed to upload games on my profile but to no avail! When I copy and paste the code (without editing it) and save the code on my profile signature it just comes up a white box?

I don't understand it TCB Please Help!
Graham , June 07, 2009
...
Bragonz
are you sure you have the right section? you only need part of it. this is the code from my game so see if yours is similar

[flash=344x425]"http://www.owensworld.com/flashgames/files/play.swf?game=846_ragdoll_avalanche_2_1"[/flash***]
Adam , June 08, 2009
 1 2 > 

Write comment

You can add your comment here

busy

Random Info

If you're paying upkeep/ rent that you shouldn't be, go to Properties > To view all daily costs of your properties, please click here. > Back, and it will reset all of your property costs.
This content on this website is © gamebasics.info | Images © Torn City - Online RPG Game | Hosted by BlueTreeHost