
BB kodovi
-
[B], [I], [U], [S] - Podebljano, nakrivljeno, podcrtano i precrtano
Označen tekst podebljava, nakrivljuje ili podcrtava.
- Primjer:
- Ovo je [B]podebljani[/B] tekst.
Ovo je [I]nakrivljeni[/I] tekst.
Ovo je [U]podcrtani[/U] tekst.
Ovo je [S]precrtani[/S] tekst.
- Izlaz:
- Ovo je podebljani tekst.
Ovo je nakrivljeni tekst.
Ovo je podcrtani tekst.
Ovo je precrtani tekst.
-
[COLOR=boja], [FONT=ime], [SIZE=veličina] - Boja teksta, font i veličina
Mijenja boju, font ili veličinu označenog teksta.
- Primjer:
- Ovo je [COLOR=red]crveni[/COLOR] i [COLOR=#0000cc]plavi[/COLOR] tekst.
Ovo je [FONT=Courier New]Courier New[/FONT] font.
Ovo je [SIZE=1]mali[/SIZE] i [SIZE=7]veliki[/SIZE] tekst.
- Izlaz:
- Ovo je crveni i plavi tekst.
Ovo je Courier New font.
Ovo je mali i veliki tekst.
-
[URL], [EMAIL] - Linking
Creates a link using the wrapped text as the target.
- Primjer:
- [URL]http://www.example.com[/URL]
[EMAIL]example@example.com[/EMAIL]
-
[URL=link], [EMAIL=address] - Linking (Advanced)
Links the wrapped text to the specified web page or email address.
- Primjer:
- [URL=http://www.example.com]Go to example.com[/URL]
[EMAIL=example@example.com]Email me[/EMAIL]
- Izlaz:
- Go to example.com
Email me
-
[USER=ID] - Profile Linking
Links to a user's profile. This is generally inserted automatically when tagging a user.
- Primjer:
- [USER=1]User Name[/USER]
- Izlaz:
- User Name
-
[IMG] - Image
Display an image, using the wrapped text as the URL.
- Primjer:
- [IMG]https://www.national-preservation.com/styles/default/xenforo/avatars/avatar_s.png[/IMG]
- Izlaz:
-
[MEDIA=site] - Embedded Media
Embeds media from approved sites into your message. It is recommended that you use the media button in the editor tool bar. Odobri stranice: Dailymotion; Facebook; Liveleak; Metacafe; Vimeo; YouTube;
- Primjer:
- [MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
- Izlaz:
- An embedded YouTube player would appear here.
-
[LIST] - Lists
Displays a bulleted or numbered list.
- Primjer:
- [LIST]
[*]Bullet 1
[*]Bullet 2
[/LIST]
[LIST=1]
[*]Entry 1
[*]Entry 2
[/LIST]
- Izlaz:
- Bullet 1
- Bullet 2
- Entry 1
- Entry 2
-
[LEFT], [CENTER], [RIGHT] - Text Alignment
Changes the alignment of the wrapped text.
- Primjer:
- [LEFT]Left-aligned[/LEFT]
[CENTER]Center-aligned[/CENTER]
[RIGHT]Right-aligned[/RIGHT]
- Izlaz:
- Left-alignedCenter-alignedRight-aligned
-
[QUOTE] - Quoted Text
Displays text that has been quoted from another source. You may also attribute the name of the source.
- Primjer:
- [QUOTE]Quoted text[/QUOTE]
[QUOTE=A person]Something they said[/QUOTE]
- Izlaz:
-
[SPOILER] - Text Containing Spoilers
Hides text that may contain spoilers so that it must be clicked by the viewer to be seen.
- Primjer:
- [SPOILER]Simple spoiler[/SPOILER]
[SPOILER=Spoiler Title]Spoiler with a title[/SPOILER]
- Izlaz:
- Simple spoilerSpoiler with a title
-
[CODE], [PHP], [HTML] - Programming Code Display
Displays text in one of several programming languages, highlighting the syntax where possible.
- Primjer:
- [CODE]General
code[/CODE]
[PHP]echo $hello . 'world';[/PHP]
- Izlaz:
- Kod:
General code
PHP:echo $hello . 'world';
-
[INDENT] - Text Indent
Indents the wrapped text. This can be nested for larger indentings.
- Primjer:
- Regular text
[INDENT]Indented text
[INDENT]More indented[/INDENT]
[/INDENT]
- Izlaz:
- Regular text
Indented text
More indented
-
[PLAIN] - Plain Text
Disables BB code translation on the wrapped text.
- Primjer:
- [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
- Izlaz:
- This is not [B]bold[/B] text.
-
[ATTACH] - Attachment Insertion
Inserts an attachment at the specified point. If the attachment is an image, a thumbnail or full size version will be inserted. This will generally be inserted by clicking the appropriate button.
- Primjer:
-
Thumbnail: [ATTACH]123[/ATTACH]
Full Size: [ATTACH=full]123[/ATTACH]
- Izlaz:
- The contents of the attachments would appear here.
-
[GALLERY=option] - Media Gallery Embed
BB code for using XenForo Media Gallery media in posts.
- Primjer:
- [GALLERY=media, X]Gallery BB Code[/GALLERY]
- Izlaz:
- [GALLERY=media, X]Gallery BB Code[/GALLERY]