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.

Lista kodów vB

  1. Pogrubienie / Pochylenie / Podkreślenie
  2. Kolor
  3. Wielkość
  4. Czcionka
  5. Podświetlenie
  6. Lewo / Prawo / Środek
  7. Akapit
  8. Link Email
  9. Link URL
  10. Link do Wątku
  11. Link do Postu
  12. Lista Wypunktowana / Zaawansowana Lista
  13. Obrazki
  14. Videos
  15. Kod
  16. Kod PHP
  17. Kod HTML
  18. Cytat
  19. Stop BB Code Parsing
  20. Załącznik
  21. Mention
  22. skreśl
  23. Spoiler
  24. table
  25. YouTube
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])

Pogrubienie / Pochylenie / Podkreślenie

The [b], [i] and [u] tags allow you to create text that is bold, italic and underlined.

    • [b]wartość[/b]
    • [i]wartość[/i]
    • [u]wartość[/u]
    Sposób Użycia
    • [b]ten tekst jest pogrubiony[/b]
    • [i]ten tekst jest pochyły[/i]
    • [u]ten tekst jest podkreślony[/u]
    Przykład Użycia
    • ten tekst jest pogrubiony
    • ten tekst jest pochyły
    • ten tekst jest podkreślony
    Przykładowy Efekt

Kolor

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

  • [color=Opcja]wartość[/color]
    Sposób Użycia
  • [color=blue]ten tekst jest niebieski[/color]
    Przykład Użycia
  • ten tekst jest niebieski
    Przykładowy Efekt

Wielkość

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

  • [size=Opcja]wartość[/size]
    Sposób Użycia
  • [size=+2]ten tekst jest o 2 wymiary większy niż normalnie[/size]
    Przykład Użycia
  • ten tekst jest o 2 wymiary większy niż normalnie
    Przykładowy Efekt

Czcionka

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

  • [font=Opcja]wartość[/font]
    Sposób Użycia
  • [font=courier]ten tekst jest pisany czcionką courier[/font]
    Przykład Użycia
  • ten tekst jest pisany czcionką courier
    Przykładowy Efekt

Lewo / Prawo / Środek

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

    • [left]wartość[/left]
    • [center]wartość[/center]
    • [right]wartość[/right]
    Sposób Użycia
    • [left]ten tekst jest wyrównany do lewej strony[/left]
    • [center]ten tekst jest wyrównany do środka[/center]
    • [right]ten tekst jest wyrównany do prawej strony[/right]
    Przykład Użycia
  • ten tekst jest wyrównany do lewej strony
    ten tekst jest wyrównany do środka
    ten tekst jest wyrównany do prawej strony
    Przykładowy Efekt

Akapit

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

  • [indent]wartość[/indent]
    Sposób Użycia
  • [indent]ten tekst jest pisany z akapitem[/indent]
    Przykład Użycia
  • ten tekst jest pisany z akapitem
    Przykładowy Efekt

Link Email

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

Link URL

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

    • [url]wartość[/url]
    • [url=Opcja]wartość[/url]
    Sposób Użycia
    • [url]http://forum.toproste.pl[/url]
    • [url=http://forum.toproste.pl]ARMIA Podkarpacki OTS[/url]
    Przykład Użycia
  • Przykładowy Efekt

Link do Wątku

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]wartość[/thread]
    Sposób Użycia
    • [thread]42918[/thread]
    • [thread=42918]Kliknij Tutaj![/thread]
    (Note: The threadid/postid is just an example and may not link to a valid thread/post.)
    Przykład Użycia
  • Przykładowy Efekt

Link do Postu

The [post] tag allows you to link to posts by specifying the post id. You can include an optional parameter to 'name' your link.

Lista Wypunktowana

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]wartość[/list]
    Sposób Użycia
  • [list]
    [*]list item 1
    [*]list item 2
    [/list]
    Przykład Użycia
    • list item 1
    • list item 2
    Przykładowy Efekt

Zaawansowana Lista

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=Opcja]wartość[/list]
    Sposób Użycia
  • [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]
    Przykład Użycia
    1. list item 1
    2. list item 2
    1. list item 1
    2. list item 2
    1. list item 1
    2. list item 2
    Przykładowy Efekt

Obrazki

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]wartość[/img]
    Sposób Użycia
    • [img]http://forum.toproste.pl/images/statusicon/forum_new-48.png[/img] (Brak linka)
    • [url=http://www.example.com] [img]http://forum.toproste.pl/images/statusicon/forum_new-48.png[/img] [/url] (Link dołączony)
    Przykład Użycia
    • (Brak linka)
    • (Link dołączony)
    Przykładowy Efekt

Videos

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

  • [video]wartość[/video]
    Sposób Użycia
    • [video=youtube;eOUq4Z6R7xI]http://www.youtube.com/watch?v=eOUq4Z6R7xI[/video]
    Przykład Użycia
    Przykładowy Efekt

Kod

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

  • [code]wartość[/code]
    Sposób Użycia
  • [code]
    <script type="text/javascript">
    <!--
        alert("Hello world!");
    //-->
    </script>
    [/code]
    Przykład Użycia
  • Kod:
    <script type="text/javascript">
    <!--
    	alert("Hello world!");
    //-->
    </script>
    Przykładowy Efekt

Kod PHP

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]wartość[/php]
    Sposób Użycia
  • [php]
    $myvar = 'Hello World!';
    for ($i = 0; \$i < 10; \$i++)
    {
        echo $myvar . "\n";
    }
    [/php]
    Przykład Użycia
  • Kod PHP:
    $myvar 'Hello World!';
    for (
    $i 0$i 10$i++)
    {
        echo 
    $myvar "\n";

    Przykładowy Efekt

Kod HTML

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

  • [html]wartość[/html]
    Sposób Użycia
  • [html]
    <img src="image.gif" alt="image" />
    <a href="testing.html" target="_blank">Testing</a>
    [/html]
    Przykład Użycia
  • Kod HTML:
    <img src="image.gif" alt="image" />
    <a href="testing.html" target="_blank">Testing</a>
    Przykładowy Efekt

Cytat

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

    • [quote]Cytat[/quote]
    • [quote=Nazwa użytkownika]wartość[/quote]
    Sposób Użycia
    • [quote]Lorem ipsum dolor sit amet[/quote]
    • [quote=John Doe]Lorem ipsum dolor sit amet[/quote]
    • [quote=John Doe;1241771]Lorem ipsum dolor sit amet[/quote]
    Przykład Użycia
    • Lorem ipsum dolor sit amet
    • Cytat Napisał John Doe
      Lorem ipsum dolor sit amet
    • Cytat Napisał John Doe Zobacz post
      Lorem ipsum dolor sit amet
    Przykładowy Efekt

Podświetlenie

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

  • Sposób Użycia
    [highlight]wartość[/highlight]
  • Przykład Użycia
    [highlight]ten tekst jest podświetlony[/highlight]
  • Przykładowy Efekt
    ten tekst jest podświetlony

Stop BB Code Parsing

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

  • [noparse][b]wartość[/b][/noparse]
    Sposób Użycia
  • [noparse][b]Lorem ipsum dolor sit amet[/b][/noparse]
    Przykład Użycia
  • [b]Lorem ipsum dolor sit amet[/b]
    Przykładowy Efekt

Załącznik

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]
    Sposób Użycia
  • [attach]12345[/attach]
    Przykład Użycia
  • Przykładowy Efekt

Mention

Mention an user to alert him or her to this post!

  • [mention]wartość[/mention]
    Sposób Użycia
  • [mention]Username[/mention]
    Przykład Użycia
  • @Username;
    Przykładowy Efekt

skreśl

przekreśla tekst

  • [s]wartość[/s]
    Sposób Użycia
  • [s]tekst[/s]
    Przykład Użycia
  • tekst
    Przykładowy Efekt

Spoiler

Creates and hides text.

  • [Spoiler]wartość[/Spoiler]
    Sposób Użycia
  • [spoiler]spiler text[/spoiler]
    Przykład Użycia
  •  Click to show spoiler

    Przykładowy Efekt

table

With this vB code tables can be inserted into the post. Columns are seperated by ť|Ť, every new line is a new row.

  • [table]wartość[/table]
    Sposób Użycia
  • [table]column 1|column 2|column 3[/table]
    Przykład Użycia
  • column 1column 2column 3
    Przykładowy Efekt

YouTube

  • [youtube]wartość[/youtube]
    Sposób Użycia
  • [youtube]spiler text[/youtube]
    Przykład Użycia
  • Przykładowy Efekt