BB codes

TWC Tutorials

  • Promoting your mod on Total War Center
    Promoting your mod is as important as working on your mod! Unless you are only making...
    • makanyane
    • Updated:
    • 2 min read
  • Create a Blog
    Acceptable Use Policy for Blogs No Politics - No Religion - This will be STRICTLY enforced! TWC...
    • GrnEyedDvl
    • Updated:
    • 6 min read
  • Account Security Lockouts and Contacting TWC
    This has caught a few people and caused some confusion so I am going to try and clear some of...
    • GrnEyedDvl
    • Updated:
    • 1 min read
  • Resources for Modders & Mod Teams
    Total War Center now has several resources available to Mod Teams to help them collaborate and...
    • GrnEyedDvl
    • Updated:
    • 4 min read
  • Direct Messages on TWC
    The Direct Message system on XenForo is substantially different than the one we had on...
    • GrnEyedDvl
    • Updated:
    • 4 min read

Trending Content

Articles statistics

Categories
7
Series
9
Articles
44
Views
141,120
Comments
9
Ratings
2
Reviews
2

Blogs statistics

Categories
38
Series
10
Blogs
31
   Public blogs
23
   Community blogs
8
Blog Entries
90
   Public blog entries
89
Views
257,328
Comments
91
Ratings
1
Reviews
1

Download statistics

Categories
99
Downloads
3,655
Downloads
11,527,065
Disk usage
6.6 GB

Gallery Statistics

Categories
9
Albums
40
Uploaded media
543
Embedded media
2
Comments
8
Disk usage
103.3 MB

BB codes

  • [B], [I], [U], [S] - Bold, italics, underline, and strike-through

    Makes the wrapped text bold, italic, underlined, or struck-through.
    Example:
    This is [B]bold[/B] text.
    This is [I]italic[/I] text.
    This is [U]underlined[/U] text.
    This is [S]struck-through[/S] text.
    Output:
    This is bold text.
    This is italic text.
    This is underlined text.
    This is struck-through text.
  • [COLOR=color], [FONT=name], [SIZE=size] - Text Color, Font, and Size

    Changes the color, font, or size of the wrapped text.
    Example:
    This is [COLOR=red]red[/COLOR] and [COLOR=#0000cc]blue[/COLOR] text.
    This is [FONT=Courier New]Courier New[/FONT] text.
    This is [SIZE=1]small[/SIZE] and [SIZE=7]big[/SIZE] text.
    Output:
    This is red and blue text.
    This is Courier New text.
    This is small and big text.
  • [URL], [EMAIL] - Linking

    Creates a link using the wrapped text as the target.
    Example:
    [URL]https://www.example.com[/URL]
    [EMAIL][email protected][/EMAIL]
    Output:
  • [URL=link], [EMAIL=address] - Linking (Advanced)

    Links the wrapped text to the specified web page or email address.
    Example:
    [URL=https://www.example.com]Go to example.com[/URL]
    [[email protected]]Email me[/EMAIL]
    Output:
  • [USER=ID] - Profile Linking

    Links to a user's profile. This is generally inserted automatically when mentioning a user.
    Example:
    [USER=1]Username[/USER]
    Output:
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.
    Example:
    [IMG]https://www.twcenter.net/var(--xf-publicLogoUrl)[/IMG]
    Output:
    var(--xf-publicLogoUrl)
  • [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.
    Approved sites: Apple Music, Bluesky, Dailymotion, Facebook, Flickr, Giphy, Imgur, Instagram, Pinterest, Reddit, SoundCloud, Spotify, TikTok, Tumblr, Twitch, X, Vimeo, YouTube
    Example:
    [MEDIA=youtube]kQ0Eo1UccEE[/MEDIA]
    Output:
    An embedded YouTube player would appear here.
  • [LIST] - Lists

    Displays a bulleted or numbered list.
    Example:
    [LIST]
    [*]Bullet 1
    [*]Bullet 2
    [/LIST]
    [LIST=1]
    [*]Entry 1
    [*]Entry 2
    [/LIST]
    Output:
    • Bullet 1
    • Bullet 2
    1. Entry 1
    2. Entry 2
  • [LEFT], [CENTER], [RIGHT] - Text alignment

    Changes the alignment of the wrapped text.
    Example:
    [LEFT]Left-aligned[/LEFT]
    [CENTER]Center-aligned[/CENTER]
    [RIGHT]Right-aligned[/RIGHT]
    Output:
    Left-aligned​
    Center-aligned​
    Right-aligned​
  • [QUOTE] - Quoted text

    Displays text that has been quoted from another source. You may also attribute the name of the source.
    Example:
    [QUOTE]Quoted text[/QUOTE]
    [QUOTE=A person]Something they said[/QUOTE]
    Output:
    Quoted text
    A person said:
    Something they said
  • [SPOILER] - Text containing spoilers

    Hides text that may contain spoilers so that it must be clicked by the viewer to be seen.
    Example:
    [SPOILER]Simple spoiler[/SPOILER]
    [SPOILER=Spoiler Title]Spoiler with a title[/SPOILER]
    Output:
    Simple spoiler
    Spoiler with a title
  • [ISPOILER] - Inline text containing spoilers

    Allows you to display text inline among normal content which hides text that may contain spoilers and must be clicked by the viewer to be seen.
    Example:
    You have to click the following [ISPOILER]word[/ISPOILER] to see the content.
    Output:
    You have to click the following word to see the content.
  • [CODE] - Programming code display

    Displays text in one of several programming languages, highlighting the syntax where possible.
    Example:
    General code:
    [CODE]General
    code[/CODE]

    Rich code:
    [CODE=rich][COLOR=red]Rich[/COLOR]
    code[/CODE]

    PHP code:
    [CODE=php]echo $hello . ' world';[/CODE]

    JS code:
    [CODE=javascript]var hello = 'world';[/CODE]
    Output:
    General code:
    Code:
    General
    code

    Rich code:
    Rich (BB code):
    Rich
    code

    PHP code:
    PHP:
    echo $hello . ' world';

    JS code:
    JavaScript:
    var hello = 'world';
  • [ICODE] - Inline programming code display

    Allows you to display code inline among normal post content. Syntax will not be highlighted.
    Example:
    Inline code sections [ICODE]are a convenient way[/ICODE] of displaying code inline.

    Rich formatting within inline code sections [ICODE=rich]is [COLOR=red]also[/COLOR] [U]supported[/U][/ICODE].
    Output:
    Inline code sections are a convenient way of displaying code inline.

    Rich formatting within inline code sections is also supported.
  • [INDENT] - Text indent

    Indents the wrapped text. This can be nested for larger indentings.
    Example:
    Regular text
    [INDENT]Indented text[/INDENT]
    [INDENT=2]More indented[/INDENT]
    Output:
    Regular text
    Indented text​
    More indented​
  • [TABLE] - Tables

    Special markup to display tables in your content.
    Example:
    [TABLE]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]
    Output:
    Header 1Header 2
    Content 1Content 2
  • [HEADING=level] - Headings levels 1 to 3

    Marks text as a structured heading to facilitate machine readability.
    Example:
    [HEADING=1]Major heading[/HEADING]
    This text comes under a major heading, used to separate the primary sections of an article.

    [HEADING=2]Minor heading[/HEADING]
    When you need to subdivide the primary sections of an article, use a level 2 minor heading.

    [HEADING=3]Subheading[/HEADING]
    If you require additional subdivision, you may drop to level 3.
    Output:

    Major heading​

    This text comes under a major heading, used to separate the primary sections of an article.

    Minor heading​

    When you need to subdivide the primary sections of an article, use a level 2 minor heading.

    Subheading​

    If you require additional subdivision, you may drop to level 3.
  • [PLAIN] - Plain text

    Disables BB code translation on the wrapped text.
    Example:
    [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
    Output:
    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.
    Example:
    Thumbnail: [ATTACH]123[/ATTACH]
    Full size: [ATTACH=full]123[/ATTACH]
    Output:
    The contents of the attachments would appear here.
  • [AMS=option] - AMS: Article | Page | Series embed

    BB code for displaying articles, article pages and series
    Example:
    [AMS=article, X]AMS Article BB Code[/AMS]
    Output:
    [AMS=article, X]AMS Article BB Code[/AMS]
  • [ANCHOR=option] - Anchor for jumping

    This is the Anchor. Used in conjunction with the Jump code you can use it to navigate a page. When you click a Jump this will be at the top of your page.
    Example:
    [anchor=demo]Demonstration Anchor[/anchor]
    Output:
  • [BOX=option] - Box

    Example:
    [box=Header Title]
    This is the collapsible content.
    [/box]
    Output:
    Header Title


    This is the collapsible content.

  • [CONTENTBOX=option] - Content Box

    Example:
    [contentbox=Dead]Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum[/contentbox]
    Output:
    Dead

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum

  • [DEFINE=option] - Dictionary Definition

    Opens a link to the Merriam Webster dictionary on a new page.
    Example:
    [define=definition]The definition of definition[/define]
    Output:
  • [DICEROLL] - Dice roll

    Example:
    [diceroll]{"faces":6,"reason":"Some reason","rolls":4}[/diceroll]
    Output:
    Threw 4 6-faced dice. Reason: Some reason Total: ?
    ? ? ? ? ? ? ? ?
  • [FIELDSET] [FIELDSET=option] - Fieldset with Title

    Fieldset with optional title
    Example:
    fieldset
    [fieldset]there is a box around me[/fieldset]

    fieldset with title option
    [fieldset=Monkey]Likes Bananas[/fieldset]
    Output:
    fieldset
    there is a box around me


    fieldset with title option
    Monkey Likes Bananas
  • [FIELDSET2] [FIELDSET2=option] - Fieldset 2

    Example:
    fieldset2
    [fieldset2]there is a box around me[/fieldset2]

    fieldset with title option
    [fieldset2=Monkey]Likes Bananas[/fieldset2]
    Output:
    fieldset2
    there is a box around me


    fieldset with title option
    Monkey Likes Bananas
  • [FLOAT=option] - Float left/right

    Example:
    text text text [float=right]float this to the right[/float] text text text text text
    Output:
    text text text
    float this to the right
    text text text text text
  • [GALLERY=option] - Gallery embed

    BB code for displaying gallery media items and albums.
    Example:
    [GALLERY=media, X]Gallery BB Code[/GALLERY]
    Output:
    [GALLERY=media, X]Gallery BB Code[/GALLERY]
  • [INS] - Inserted text

    custom_bb_code_desc.ins
    Example:
    [ins]This is new information[/ins]
    Output:
    custom_bb_code_output.ins
  • [INSTAGRAM] - Instagram

    custom_bb_code_desc.instagram
    Example:
    [instagram]https://www.instagram.com/p/BS2kMaZl2XO/[/instagram]
    Output:
    custom_bb_code_output.instagram
  • [JUMP=option] - Jump to anchor

    This is the Jump. Used in conjunction with the Anchor code you can use it to navigate a page. When you click this the Anchor will be at the top of your page.
    Example:
    [jump=demo]Click here to jump to Demonstration Anchor![/jump]
    Output:
  • [LASTFM] - Last.fm Recent Tracks

    custom_bb_code_desc.lastfm
    Example:
    .
    Output:
    custom_bb_code_output.lastfm
  • [LEGEND] - legend

    Example:
    [legend]Legend Title[/legend]
    Output:
    Legend Title
  • [LINE] [LINE=option] - Horizontal Rule (Line)


    Example:
    [line]300[/line] 300px line
    Output:

    300px line
  • [OVERLINE] - Overline

    Example:
    [overline]There is a line on over the top of this text[/overline]
    Output:
    There is a line on over the top of this text
  • [PRE] [PRE=option] - Preserve spacing

    Example:
    [pre] Spacing is preserved[/pre] Not this spacing
    Output:
     Spacing is   preserved
    Not this spacing
  • [QUOTEBOX] - Quote Box

    Puts a box in the center of your content where you can insert a quote.
    Example:
    [quotebox]This is a quote from someone who had something they really wanted to say!
    - Some Name[/quotebox]
    Output:
    This is a quote from someone who had something they really wanted to say!
    - Some Name
  • [SUB] - Subscript

    Displays the text as subscript
    Example:
    H[sub]2[/sub]O
    Output:
    H2O
  • [SUP] - Superscript

    Displays the text as superscript.
    Example:
    E=MC[sup]2[/sup]
    Output:
    E=MC2
  • [TD2] [TD2=option] - Table Data (no border)

    Example:
    [td2]Table content with no border[/td2]
    Output:
    Table content with no border
  • [UBS=option] - UBS: Blog | Blog Entry | Page | Series embed

    BB code for displaying blogs, blog entries, pages and series
    Example:
    [UBS=blog_entry, X]UBS Blog Entry BB Code[/UBS]
    Output:
    [UBS=blog_entry, X]UBS Blog Entry BB Code[/UBS]
  • [W] - TWC Wiki Link

    Opens a link on the TWC Wiki in a new page
    Example:
    [w]Main Page[/w]
    [w]GrnEyedDvl[/w]
    [w]Roma Surrectum[/w]
    Output:
  • [WIKI] - Wikipedia link (no parameter)

    Example:
    [wiki]Mimir[/wiki]
    Output:
  • [YOUTUBE] [YOUTUBE=option] - YouTube Video with No Title

    Example:
    [youtube]-zvCUmeoHpw[/youtube]
    Output:

Site News

Back
Top Bottom