Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account


MOBAFire's second Mini Guide Contest of Season 14 is here! Create or update guides for the 30 featured champions and compete for up to $200 in prizes! 🏆

League of Legends BBCode Guide

Learning to BBCode

This MobaFire Wiki Article is aimed towards users who wish to learn more about the coding language used by MobaFire (how to bold text, or how to mask URLs), or those who want to make a visually gratifying guide, but lack the knowledge to do so. Here you will find examples of how to code to help you get started in your guide making endeavours and how to keep up with general coding for use in the forums.

Here you will learn:

  • How to format your work (columns, lists, font/colour changes)
  • How to make your guide/posts attractive (including: images, videos, coding)
  • How to make a fantastic guide/interesting contribution to the forums

Check out jhoijhoi's Guide to Making a Guide for more coding tricks, chapter templates and tips to making a good guide. Further guide writing articles: Ten Commandments of Guide Writing and Guide Basics.

If you're looking to learn table coding and advanced techniques, make sure to check out Katasandra's Table Coding Guide!

Text Effects

Many of you will have noticed the above bar when commenting on MobaFire or writing guides. You can use the in-built tools to do pretty much 90% of what this guide teaches. When you "Quick Reply" to something, you are not presented with the above toolbar; it is up to you if you want to learn the behind-the-scenes coding.

Simple Text Effects

b, i, u, s - Creates bold, italic, underlined, or strike-through text. To achieve these effects, simply add the desired letter before the text you would like to change, as seen to the right. Emphasis is used to add distinction between objects and plain text. We want the reader to pay attention at a particular idea, or thought.
[b]Bold[/b] [i]Italics[/i] [u]Underlined[/u] [s]Strikethrough[/s]

Optional Text Effects

Color, SuperScript, SubScript - Additional text effects can help convey information or create style within a paragraph. Use colour sparingly - consider those annoying flashing advertisments that scream you're the 1 trillionth visitor; these ads annoy you, just the way overusing colour would annoy a reader.
[color=red]Red[/color] [color=blue]Blue[/color] [color=green]Green[/color] [sup]Super[/sup]Script [sub]Sub[/sub]Script

Additional Text Effects

Headings - Like colour, use these sparingly. There are useful for breaking up text to indicate a change in direction within a chapter, or for title purposes. Each heading automatically adds an enter space after it.
[h1]Heading 1[/h1] [h2]Heading 2[/h2] [h3]And so on...[/h3]

Heading 1

URL Masking

URL Masking is great. Long strings of meaningless gibberish isn't fun to look at. So instead of we want to write Making a Guide.

[url=]Making a Guide[/url]
Making a Guide

You can also use URL masking around more than just text; images can be hyperlinked to your desired page as well! To direct your viewers to a particular URL when they click a given image, you can use the same technique with URL tags around the image.

[url=][img= width=80][/url]

DataBase Wiki Coding

Linking to MobaFire's DataBase

The most common form of code you will see used on MobaFire are links to the database. This sort of wiki is easy to implement. Add double square brackets to any item, champion, ability, summoner spell, or rune to achieve this effect. Capitalization isn't necessary.
[[doran's blade]] [[ashe]] [[volley]] [[flash]] [[lethal tempo]]
Doran's Blade
Lethal Tempo
If two database entries have the same name, there is a way to fix that problem.
[[Eclipse]] [wiki ability=eclipse] OR [[ability eclipse]]

Icon-Only Links

The second most common form of code you will see used on MobaFire are varying sizes of wiki icons. These can be used to start a paragraph, indicate a champion/item, and more. The possibilities are endless.
[icon=zoe size=50] [icon=trinity force size=50] [icon=arcane comet size=50]

If two database entries have the same name, there is a way to fix that problem.
[icon=eclipse size=50] [icon ability=eclipse size=50] OR [icon=eclipse ability size=50]

Pulling Data from Your CheatSheet

You can now embed build information in any comment on the site, and in your build description. You can do this by using the separate builder tools to get a link to a custom setup, or you can use it in your description to automatically pull build information down into the description without typing it out again.
[items] [runes] [abilities]
Planner Tools

[items=46-294-169] (you can find the ID of any item in its link, e.g. going to Infinity Edge's page you'll find 46 in its link)

Item Sequence

Infinity Edge 3400
Rapid Firecannon 2600
Statikk Shiv 2800

[abilities=qwqwqwqwqwerereree champion=warwick]

Ability Sequence
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

For champion names with a space, use quotation marks around the champion name.

[abilities=qweqqrqwqwrwweeree champion="lee sin"]

Ability Sequence
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Formatting Techniques

Line Dividers/Separators/Rules

Throughout this guide you will have noticed the white line underneath the titles for each section. I call these "line dividers", they can also be known as "rules" or "separators". Use these to separate paragraphs of text when necessary, as they can act as a chapter break. Feel free to use the ones I (jhoijhoi) created for my own personal use; they're the coloured ones below.
---- OR [rule]


You can also use the [table] code to create a [rule] with a custom color using basic color words (e.g. red, yellow, green) or HTML color codes (e.g. #ff0000, #ffffff).

[table][tr][td bgcolor=green padding=1 width=705][/td][/tr][/table]



The ability to "indent" or in other words "tab" paragraphs. Indents "stack", so using multiple indents will push the text further and further to the right. If you do not close off an indent tag, it produces a cascading effect, as seen below.

[indent]Format: Having a good format to follow, and not having everything lying around is key to a good guide, it makes your guide easier to follow through. Good formatting includes using coding like Columns, Lists, and Font Effects to emphasise or draw attention to important aspects of your guide.[/indent]

Format: Having a good format to follow, and not having everything lying around is key to a good guide, it makes your guide easier to follow through. Good formatting includes using coding like Columns, Lists, and Font Effects to emphasise or draw attention to important aspects of your guide.

[indent][icon=ashe size=50] [indent][icon=syndra size=50] [indent][icon=skarner size=50][/indent][/indent][/indent]


Lists can be used to... list things. After the opening list tag, you can add as many bullets as you like before closing the list.
[list] [*] Bullet 1 [*] Bullet 2 [*] Bullet 3 [/list]
  • Bullet 1
  • Bullet 2
  • Bullet 3

To make a numbered list, simply add "=1" to the end of the word "list" in the coding tag.
[list=1] [*] Number 1 [*] Number 2 [*] Number 3 [/list]
  1. Number 1
  2. Number 2
  3. Number 3


Columns can be used to align text or images next to each other. Splitting your guide or forum post with columns allows for more control of how you present your content. Do note that columns don't come with any inherent padding (there's no space between them), so you'll need to create that extra space if you want your columns to be separated. The easiest way to do this is by creating an empty column with a fixed width (usually something small, between 10 and 30 pixels should do).


[columns] [nextcol width=250]This is one column. [nextcol width=30] [nextcol width=250]This is another. [nextcol width=30] [nextcol width=250]And last one...[/columns]

This is one column. This is another. And last one...

For More Columns Information...

For more information and a thorough in-depth explanation on Columns and examples of column usage, please visit IceCreamy's: How to Use Columns Guide or Astrolia's Columns Guide.


Tables are a lot like columns in that they allow you to control where text and images are shown. Tables are a little more complicated than columns, but they also offer more tools to customize how your content is displayed.

The basic components of a table are the following tags:
[table] - The opening tag, creates a new table
[tr] - Creates a new row of the table
[th] - Creates a header cell (optional, only if you want a special row at the top)
[td] - Creates a new cell. Your content goes in each of these cells.
[/td] - Closes the current cell.
[/th] - Closes the current header cell.
[/tr] - Closes the current row.
[/table] - Closes the table.

When using tables, be very sure to close all of your tags. If you leave open tags, you may see that your guide or post repeats, cuts off or is positioned strangely. If you notice something strange with your guide, always check to see if you missed any closing tags.

There are lots of other interesting parameters for tables that can be used to modify them. Two of the most common parameters that I (PsiGuard) use all the time are width and padding. The width parameter determines how wide the cells in a given column will be (or how large the entire table will be). For example, you can create a cell that's 100 pixels wide like this: [td width=100] or [td width="100px"]. You can also adjust the width of cells based on a percentage of the total width of the table. e.g. [td width=25%]

By adding padding (e.g. [td padding=10]) you create extra space around a given cell so its content isn't too close to adjacent cells' content. Just remember that the padding will be added to all sides (top, bottom, left, right) of your cell, so adding 10 pixels of padding will add 20 pixels of horizontal space to that cell. This can affect how much total space a table will take up in a guide or forum post, especially if you have padding on all your cells.


[table] [tr] [td width=100 padding=10]Row 1, Cell 1[/td] [td width=100 padding=10]Row 1, Cell 2[/td] [td width=200 padding=10]Row 1, Cell 3 (it's wider!)[/td] [td width=100 padding=10]Row 1, Cell 4[/td] [td width=100 padding=10]Row 1, Cell 5[/td] [/tr] [tr] [td width=100 padding=10]Row 2, Cell 1[/td] [td width=100 padding=10]Row 2, Cell 2[/td] [td width=200 padding=10]Row 2, Cell 3 (it's wider!)[/td] [td width=100 padding=10]Row 2, Cell 4[/td] [td width=100 padding=10]Row 2, Cell 5[/td] [/tr] [/table]

Row 1, Cell 1 Row 1, Cell 2 Row 1, Cell 3 (it's wider!) Row 1, Cell 4 Row 1, Cell 5
Row 2, Cell 1 Row 2, Cell 2 Row 2, Cell 3 (it's wider!) Row 2, Cell 4 Row 2, Cell 5

For More Tables Information...

For more information and a thorough in-depth explanation on Tables and examples of table usage, please visit Katasandra's Table Coding Guide or Foxy Riven's Tables Guide! .

Other BBCode Tools

randomize: Create a list of items, each of which will show at random one at a time on page load. This is mainly intended for signatures, so that you can have various signatures that change randomly. Example:

[ri] Item 1
[ri] Item 2
[ri] Item 3

floating: Floating images allows you to easily position an image to the left or right of your text or other content. You can float any image or icon to the left or right by adding "float=left" or "float=right" to the bbcode. Example: [img=/images/something.png float=right] or [icon=Nunu float=left]. When you want to drop below the floated item early you can use the clear tag.

clear: This is used in conjunction with the floating feature. If you float an image to the left or right of some text and then want to jump below the image just put [clear].

anchor: Set a position in your text that can be linked directly to. This is best used next to h1/h2 headers in your guide in combination with the "goto" tag to create a table of contents. [anchor=nameofanchor]. You can then link to your page adding #nameofanchor to the end of the URL, allowing you to link directly to a specific section of your guide.

goto: Similar to URL but this links to a specific anchor you created elsewhere in the page. For example, if you had [anchor=conclusion] near the end of your guide, you could put [goto=conclusion]Conclusion[/goto] at the top to link directly to the bottom without reloading the page.

spoilers: Spoilers are boxes that can expand on click. They are useful for containing a large amount of text or an image. Simply wrap the [spoiler] tags around the text or image you wish to hide. If you want to name your spoiler you can use code [spoiler=SPOILER NAME HERE][/spoiler]

Spoiler: Click to view

Spoiler #1

Webm: To embed a video using webm, use the following code:

[webm url=]

Some possible modifications:
[webm url= autoplay=on loop=on width=550]

New Comment

You need to log in before commenting.

WayOfTheTempesst (1) | February 4, 2022 8:31am
Is it possible to embed a YouTube video with a timestamp?

I've tried the embed code, but it just links the normal video on my Yone Guide.
Fruxo (326) | February 4, 2022 8:47am
Unfortunately I do not think that's possible. You can embed the video normally but it won't set it to a specific timestamp, only the start of the video (clicking on it will start it from the beginning).

The other option would be to use a clip with the timestamp you're trying to showcase and link it via the webm solution shown within the guide.
WayOfTheTempesst (1) | February 4, 2022 8:54am
Fair enough. Thank you for the swift response, I appreciate it!
VuKing (5) | September 19, 2021 9:33pm
Excuse me, I have a video link like this
- How to include this link in my Guide as a Video
Fruxo (326) | September 19, 2021 11:15pm
You can make use of webm code to include your clips in your guide (that aren't youtube videos), by doing this:
[webm url=]

I would also recommend to add in a few other values to your clip such as autoplay (makes it play when shown) and loop (makes it play over and over again), so that it both works a bit better but also to fit in more with the guide. Along with this I'd also put in changes to the width (as to not be too large or too small). Like this:
[webm url= autoplay=on loop=on width=500]
VuKing (5) | September 20, 2021 12:41am
Really thank you so much, I made it, love you
Luquinha (2) | July 29, 2021 7:18am
Hey I was updating my guide and I was trying to put in an image. I copied the code of the other image I had and it worked fine, then I changed the link to the new picture and the image is just a small little square, like it is not loaded. Is it a internet problem or I did something wrong.
Fruxo (326) | July 29, 2021 7:29am
Try and use this link: instead.

You'll have to right click the image after you've uploaded it and copy the image adress instead. Otherwise it might have issues trying to realise what kind of image it is/which image hosting website it comes from (in this case imgur).
Luquinha (2) | May 13, 2021 4:37am
How can I link a YouTube video? But I want the video to appear not only the link...
Fruxo (326) | May 13, 2021 5:59am
you can use the embed feature so for example:

and then you could use other types of code to center it or make it look better/fit better within the guide.
Vinmai | September 8, 2021 3:54am
Fruxo wrote:
you can use the embed feature so for example:

and then you could use other types of code to center it or make it look better/fit better within the guide.

when i do that, it turns out like this:

EDIT: huh apparntly i cant do images too. What is in the image is essentially a black square with white button with "play video" on it
Load more comments (1 more replies) →
Luquinha (2) | May 13, 2021 6:13am
Makes sense thanks for the help! Also I am glad you did not rickroll me...
Luquinha (2) | February 27, 2021 8:17pm
When I preview my guide my links to the Mobafire Database do not work, despite me putting them in-between double brackets, not putting spaces between the bracket and the begging of the name and not capitalizing any letters. Is it normal to not appear on the preview and if not how can I fix it?
Fruxo (326) | February 28, 2021 1:08am
I see you're trying to use bbcode in your cheat sheet notes, which doesn't work. BBCode can only be applied to the guide chapters. It's not covered for the cheat sheet or its notes.
Luquinha (2) | February 28, 2021 4:31pm
Oh so that is why... Well gotta change things up now. Thanks anyway! EDIT: Will we some day be able to use BCCode outside the chapters?
Load more comments (1 more replies) →
Katasandra (101) | February 27, 2021 10:58pm
It definitely should appear on the preview, can you give an example?

Edit: Fruxo already resolved it.
SaltCat (19) | December 11, 2020 12:59am
I have a question how can i choose where to put an image or icon? I know with the float=left of right you can choose but if i want to put it a little bit more down or a bit more up how can i do?
SaltCat (19) | November 26, 2020 7:33am
my brain hurts i am studying too much of these code, the more i see it gets even harder hahaha
I see the featured guides and i my brain just melts thinking how much work they have put into it or how even they got that knowledge to do show
Fruxo (326) | November 26, 2020 8:39am
It takes some time to learn, but if you put the effort in and you truly want to be able to know how to code, it'll be well worth the try.
SaltCat (19) | November 26, 2020 9:03am
thank you for recomending this guide to me!
SaltCat (19) | November 25, 2020 12:59am
How do i put images?
Katasandra (101) | November 25, 2020 1:27am
You can use [img]Direct image URL[/img. So for example:

Turns into

You need to make sure that there is some kind of suffix (usually .png or .jpg) otherwise it doesn't work.
XayLies (2) | October 19, 2020 4:01pm
how do I move text to the center? (you know, one of the simplest things)
PsiGuard (1495) | October 22, 2020 4:17pm
Put [center] [/center] around whatever you want centered.
TheInkKingLoL (43) | October 19, 2020 5:07pm
what you can do is [center
obviously with the closing bracket but I don't know how to make it show up without it not being there.
Loading Comments...
Load More Comments

League of Legends Champions:

Teamfight Tactics Guide