BB Code

Explanation

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

  1. Bold / Italic / Underline
  2. Color
  3. Size
  4. Font
  5. Highlight
  6. Left / Right / Center
  7. Indent
  8. Email Linking
  9. URL Hyperlinking
  10. Thread Linking
  11. Post Linking
  12. Bulleted Lists / Advanced Lists
  13. Images
  14. Videos
  15. Kód
  16. PHP Code
  17. HTML kód
  18. Quote
  19. Stop BB Code Parsing
  20. Melléklet
  21. Áthúzott szöveg
  22. új/beszúrt szöveg
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.

    • [b]value[/b]
    • [i]value[/i]
    • [u]value[/u]
    Használat
    • [b]this text is bold[/b]
    • [i]this text is italic[/i]
    • [u]this text is underlined[/u]
    Példa a használatra
    • this text is bold
    • this text is italic
    • this text is underlined
    A példa kimenete

Color

The [color] tag allows you to change the color of your text.

  • [color=Option]value[/color]
    Használat
  • [color=blue]this text is blue[/color]
    Példa a használatra
  • this text is blue
    A példa kimenete

Size

The [size] tag allows you to change the size of your text.

  • [size=Option]value[/size]
    Használat
  • [size=+2]this text is two sizes larger than normal[/size]
    Példa a használatra
  • this text is two sizes larger than normal
    A példa kimenete

Font

The [font] tag allows you to change the font of your text.

  • [font=Option]value[/font]
    Használat
  • [font=courier]this text is in the courier font[/font]
    Példa a használatra
  • this text is in the courier font
    A példa kimenete

Left / Right / Center

The [left], [right] and [center] tags allow you to change the alignment of your text.

    • [left]value[/left]
    • [center]value[/center]
    • [right]value[/right]
    Használat
    • [left]this text is left-aligned[/left]
    • [center]this text is center-aligned[/center]
    • [right]this text is right-aligned[/right]
    Példa a használatra
  • this text is left-aligned
    this text is center-aligned
    this text is right-aligned
    A példa kimenete

Indent

The [indent] tag allows you to indent your text.

  • [indent]value[/indent]
    Használat
  • [indent]this text is indented[/indent]
    Példa a használatra
  • this text is indented
    A példa kimenete

Email Linking

The [email] tag allows you to link to an email address. You can include an optional parameter to 'name' your link.

    • [email]value[/email]
    • [email=Option]value[/email]
    Használat
    • [email]j.doe@example.com[/email]
    • [email=j.doe@example.com]Click Here to Email Me[/email]
    Példa a használatra
  • A példa kimenete

URL Hyperlinking

The [url] tag allows you to link to other websites and files. You can include an optional parameter to 'name' your link.

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.

    • [thread]threadid[/thread]
    • [thread=threadid]value[/thread]
    Használat
    • [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.)
    Példa a használatra
  • A példa kimenete

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.

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.

  • [list]value[/list]
    Használat
  • [list]
    [*]list item 1
    [*]list item 2
    [/list]
    Példa a használatra
    • list item 1
    • list item 2
    A példa kimenete

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).

  • [list=Option]value[/list]
    Használat
  • [list=1]
    [*]list item 1
    [*]list item 2
    [/list]

    [list=A]
    [*]list item 1
    [*]list item 2
    [/list]

    [list=a]
    [*]list item 1
    [*]list item 2
    [/list]
    Példa a használatra
    1. list item 1
    2. list item 2
    1. list item 1
    2. list item 2
    1. list item 1
    2. list item 2
    A példa kimenete

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.

  • [img]value[/img]
    Használat
    • [img]http://archive.forum.travian.hu/images/travianvb4/statusicon/forum_new-48.png[/img] (Not linked)
    • [url=http://www.example.com] [img]http://archive.forum.travian.hu/images/travianvb4/statusicon/forum_new-48.png[/img] [/url] (Linked)
    Példa a használatra
    • (Not linked)
    • (Linked)
    A példa kimenete

Videos

The [video] tag allows you to embed videos from various video services within your posts.

  • [video]value[/video]
    Használat
    • [video=youtube;eOUq4Z6R7xI]http://www.youtube.com/watch?v=eOUq4Z6R7xI[/video]
    Példa a használatra
    A példa kimenete

Kód

The [code] tag switches to a fixed-width (monospace) font and preserves all spacing.

  • [code]value[/code]
    Használat
  • [code]
    <script type="text/javascript">
    <!--
        alert("Hello world!");
    //-->
    </script>
    [/code]
    Példa a használatra
  • Kód:
    <script type="text/javascript">
    <!--
    	alert("Hello world!");
    //-->
    </script>
    A példa kimenete

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.

  • [php]value[/php]
    Használat
  • [php]
    $myvar = 'Hello World!';
    for ($i = 0; \$i < 10; \$i++)
    {
        echo $myvar . "\n";
    }
    [/php]
    Példa a használatra
  • PHP Code:
    $myvar 'Hello World!';
    for (
    $i 0$i 10$i++)
    {
        echo 
    $myvar "\n";

    A példa kimenete

HTML kód

The [html] tag allows you to perform syntax highlighting for HTML code.

  • [html]value[/html]
    Használat
  • [html]
    <img src="image.gif" alt="image" />
    <a href="testing.html" target="_blank">Testing</a>
    [/html]
    Példa a használatra
  • HTML kód:
    <img src="image.gif" alt="image" />
    <a href="testing.html" target="_blank">Testing</a>
    A példa kimenete

Quote

The [quote] tag allows you to attribute text to someone else.

    • [quote]Quote[/quote]
    • [quote=Felhasználó]value[/quote]
    Használat
    • [quote]Lorem ipsum dolor sit amet[/quote]
    • [quote=John Doe]Lorem ipsum dolor sit amet[/quote]
    • [quote=John Doe;164884]Lorem ipsum dolor sit amet[/quote]
    Példa a használatra
    • Lorem ipsum dolor sit amet
    • Quote Eredetileg írta: John Doe
      Lorem ipsum dolor sit amet
    • Quote Eredetileg írta: John Doe Hozzászólás megtekintése
      Lorem ipsum dolor sit amet
    A példa kimenete

Highlight

The [highlight] tag allows you to emphasize your text.

  • Használat
    [highlight]value[/highlight]
  • Példa a használatra
    [highlight]this text is highlighted[/highlight]
  • A példa kimenete
    this text is highlighted

Stop BB Code Parsing

The [noparse] tag allows you to stop the parsing of BB code.

  • [noparse][b]value[/b][/noparse]
    Használat
  • [noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
    Példa a használatra
  • [b]Lorem ipsum dolor sit amet[/b]
    A példa kimenete

Melléklet

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.

  • [attach]attachmentid[/attach]
    Használat
  • [attach]12345[/attach]
    Példa a használatra
  • A példa kimenete

Áthúzott szöveg

A [del] segítségével, lehet áthúzott (törölt) szöveget megjeleníteni. Kombinálható más BB kódokkal.

  • [del]value[/del]
    Használat
  • [del]ez egy áthúzott szöveg[/del]
    Példa a használatra
  • ez egy áthúzott szöveg
    A példa kimenete

új/beszúrt szöveg

  • [ins]value[/ins]
    Használat
  • [ins]beszúrt szöveg[/ins]
    Példa a használatra
  • beszúrt szöveg
    A példa kimenete