| The introduction |
What is BBCode? BBCode is special variant HTML. You can or not use BBCode in your messages, is defined by the manager of forums. Besides, you can disconnect use BBCode in the concrete message at its placing. Itself BBCode it is similar on style on HTML, теги are concluded in square brackets [and], instead of in <>; it gives more possibilities of management to how the data is deduced. At use of some templates you can add BBCode in your messages, using the simple interface located over a field for input of the text. But even in this case the given management can appear useful. To return to the beginning |
 |
| Text formatting |
How to make the text fat, inclined or underlined BBCode includes теги for fast change of style of a font, to make it it is possible in the next ways: - To make the text fat, conclude it in [b] [/b], for example
[b] Greetings [/b]
There are Greetings - For underlining use [u] [/u], for example:
[u] Good morning [/u]
Becomes Good morning - Italics becomes тегами [i] [/i], for example:
It [i] cool! [/i]
Will give out It cool!
To return to the beginning |
 |
How to change colour or the size of the text For colour or font size change the following теги (the definitive kind will depend on system and a browser of the user) can be used: - Colour of the text can be changed, having surrounded it [colour =] [/color]. You can specify or a known name of colour (red, blue, yellow, etc.), or sexadecimal representation, for example #FFFFFF, #000000. Thus, for creation of the red text you can use:
[color=red] Greetings! [/color]
Or
[color=#FF0000] Greetings! [/color]
Both ways will give as a result Greetings! - Change of the size is reached similarly at use [size =] [/size]. This тег depends on the used templates, a recommended format — the number showing the size of the text in pixels, beginning from 1 (so small that you will not see it) to 29 (very big). For example:
[size=9] SMALL [/size]
Most likely will be SMALL
While:
[size=24] THE HEALTHY! [/size]
Will be HEALTHY!
To return to the beginning |
 |
Whether I can combine теги? Yes, certainly can. For example for attraction of someone's attention you can write:
[size=18] [color=red] [b] LOOK AT ME! [/b] [/color] [/size]
That will give out LOOK AT me!
We do not recommend to deduce thus long texts! Consider that you, the author of the message, should take care of that теги have been correctly enclosed. Here this BBCode, for example, is wrong:
[b] [u] It is incorrect [/b] [/u] To return to the beginning |
 |
| Citing and conclusion of the formatted texts |
Citing at answers There are two ways to quote the text, with the reference and without.- When you use the button «to Answer with the citation» for the answer to the message its text is added in the field of input by the surrounded block [quote = ""] [/quote]. This method will allow you to quote referring to the author, or on something else that you there will enter. For example for citing of a fragment of the text written Mr. Blobby, you will write:
[quote = "Mr. Blobby"] Text Mr. Blobby will be here [/quote]
As a result before the text words "Mr will be inserted. Blobby has written:". Remember, you should put inverted commas "" round a name, they cannot be lowered. - The second method simply allows you to quote something. For this purpose it is necessary to you заключитть the text in теги [quote] [/quote]. At message viewing before the text there will be only a word "the Citation:"
To return to the beginning |
 |
Conclusion of a code or the formatted text If you have to deduce a piece of the program or something that should be deduced a font of the fixed width (Courier) you should conclude the text in теги [code] [/code], for example
[code] echo "This is some code"; [/code]
All formatting used inside тегов [code] [/code] will be kept. To return to the beginning |
 |
| Creation of lists |
Creation of the marked list BBCode supports two kinds of lists: marked and numbered. They are almost identical to the equivalents from HTML. In the marked list all elements are deduced consistently, everyone is marked by a symbol-marker. For creation of the marked list use [list] [/list] and define each element with the help [*]. For example, to deduce the favourite colours, you can use:
[list] [*] Red [*] Dark blue [*] Yellow [/list]
It will give out such list:- The red
- Dark blue
- The yellow
To return to the beginning |
 |
Creation of the numbered list The second type of the list numbered, allows to choose, what exactly will be deduced before each element. For creation of the numbered list use [list=1] [/list] or [list=a] [/list] for creation of the alphabetic list. As well as in case of the marked list, elements are defined with the help [*]. For example:
[list=1] [*] To go to shop [*] To Buy the new computer [*] To Curse the computer when there will be an error [/list]
Will give out the following:- To go to shop
- To buy the new computer
- To curse the computer when there will be an error
Для алфавитного списка используйте: [list=a] [*] The First possible answer [*] The Second possible answer [*] The Third possible answer [/list]
That will give out- The first possible answer
- The second possible answer
- The third possible answer
To return to the beginning |
 |
| Creation of references |
References to other site In BBCode some ways of creation URL'ов are supported.- The first of them uses тег [url =] [/url], after a sign = should go necessary URL. For example, for the reference to phpBB.com you could use:
[url=http://www.phpbb.com/] Visit phpBB! [/url]
It will create a following reference: Visit phpBB! The reference will open in a new window so the user can continue to read forums. - If you want, that as the reference text was shown itself URL, you can simply make the following:
[url] http://www.phpbb.com/ [/url]
It will give out a following reference: http://www.phpbb.com/ - Besides phpBB supports the possibility, named Automatic references, it will translate any синтаксически correct URL in the reference without necessity of instructions тегов and even a prefix http://. For example, input www.phpbb.com in your message will lead to automatic delivery www.phpbb.com at message viewing.
- The same concerns and e-mail addresses, you can or specify the address in an explicit form:
[email] no.one@domain.adr [/email]
That will give out no.one@domain.adr or simply to enter no.one@domain.adr into your message, and it will be automatically transformed at viewing. As well as with all other тегами BBCode, you can conclude in URL'ы any others теги, for example [img] [/img] (the following point), [b] [/b] etc. see As well as with тегами formatting, the correct enclosure тегов depends on you, for example:
[url=http://www.phpbb.com/] [img] http://www.phpbb.com/images/phplogo.gif [/url] [/img]
It is incorrect that can lead to the subsequent removal of your message so be accurater. To return to the beginning |
 |
| Display of pictures in messages |
Picture addition in the message BBCode includes тег for picture addition in your message. Thus it is necessary to remember two very important things: first, many users are irritated with a considerable quantity of pictures, secondly, your picture already should be placed on the Internet (i.e. it cannot be located only on your computer if, of course, you have not started on it a web server!). At present there is no possibility to store the image locally on phpBB (it is expected that this restriction will be removed in the following version phpBB). For a conclusion of a picture you should surround it URL тегами [img] [/img]. For example:
[img] http://www.phpbb.com/images/phplogo.gif [/img]
As it is specified in the previous point, you can conclude a picture in теги [url] [/url], that is
[url=http://www.phpbb.com/] [img] http://www.phpbb.com/images/phplogo.gif [/img] [/url]
Will give out:

To return to the beginning |
 |
| The other |
Whether I can add own теги? Is not present, at least, not in phpBB 2.0. We plan to add support adjusted тегов BBCode in the following version To return to the beginning |
 |
|
|
|