BBCode Tags

Restructuring the Codex

We are currently moving articles around and changing the general structure of the Codex. Please come back later if you get lost!
 

Using BBCode to format your text

Comments

Please Login in order to comment!
Mar 28, 2018 18:26

could you possibly explain, how to add images into an article? as in directly within the area, where text is normally contained. I would be very appreciative, as I am a visual artist before a writer, and feel that diagrams explain the natural laws in my universe, in a much more concise, and easily understandable manner, than a wall of text. thank you, for listening to my request.

Mar 28, 2018 18:50 by TJ Trewin

Sure thing! I'll add this to the guide (it's in need of some TLC), but a quick answer for you - go to your world's image library https://www.worldanvil.com/world/image/list and upload an image. In the top corner it should provide you with a BBCode link such as

seventomesbadge.png
by xanthussmarduk
- you can place it just like that anywhere in your article and it will show up.   Feel free to leave a comment or send me a message if you have any other questions! :D


Journals of Yesteryear


Follow me on Bluesky for more pixel art :D
Mar 28, 2018 19:53

Thanks so much TJ! I've got it to work. :)   Now I just need to play with it enough to get the hang of using it alongside formatting. trial and error time!

May 20, 2018 03:07

Is there currently a way for me to add links to my other articles? For example I write about a certain race within the article about their empire, is it possible to have it so the reader can click the race name and be redirected to the article about that race?

May 21, 2018 17:40 by TJ Trewin

Yep! Just go to your articles list and click the clipboard icon to add the BBCode to your clipboard, then just paste it into your article to add a link :D alternatively you can find this code for any article when you go to edit that article - it will be listed in the side near the bbcode reference button


Journals of Yesteryear


Follow me on Bluesky for more pixel art :D
Oct 15, 2018 12:17

Is there a way to format content as a table? For example, I want a look up table from a distance to a number (e.g. 8000 is 40, 7000 is 45, 6000 is 50)

Oct 24, 2018 22:10 by Kanga LaRue

You can use rpg blocks! 1. Make a new rpg block, use the generic, table type. 2. Give the table a name 3. Put in the content > format like this: Heading1 | Heading2 | Heading1 | etc... Data 1 | Data 2 | Data 3 | ... Data 4 | Data 5 | Data 6 | ... 4. Save it. 5. Use it in articles with bbcode given on the block's page

Jan 26, 2019 06:15 by Lyraine Alei

This page is extremely valuable and useful, thank you for composing it! *re-adds the page to her World Building Bookmarks*

Lyraine, Consumer of Lore, She/Her, primary project: Corive
Aug 19, 2019 15:03 by Kevin Seachrist

I attempted to use the "Coloured Text" (e.g. [color:red]) BBCode tag and the page seems to ignore it, continuing to display the text in the base format. Am I neglecting to do something? The other BBCode tags I've tried work great!

Sep 25, 2019 14:41 by Jacob Billings

Sections, Color, and Icons are all listed under guild(grandmaster) features. That means anyone with a rank underneath that will be unable to use them.

Nov 10, 2019 20:47

I think this BBCode table generator is very good, :) https://theenemy.dk/table/

Dec 19, 2019 22:58

I wonder if an update messed up some of this page? Several, more than half I think, of the code/example pairs don't show code, but instead show the example twice. I also found a few sections where it was obvious you were trying to show code but it's missing. I also see some headers that end in "Using" like "blah blah Using" where obviously that shouldn't be the end of the header. Perhaps this should be a candidate for a decent edit?

Dec 30, 2019 09:27

Oops. My examples were {center}Center{/center} and {center}Your text.{/center}

Mar 25, 2020 23:47 by Rachel

There is bb code listed here to make text small, but after exploring my options and trying various options, I can't find anything that works to make text large. Will I need to use custom css? I'm rusty, but capable. If there's simple bb code that works, I'd prefer that. I tried using header types as substitutes but I don't like them for the main text block.

Apr 6, 2020 08:57

Hi, is it possible to anchor to a header on another article?

Jul 28, 2020 06:28 by Kaleb Troy

I want to second this; I would love to be able to link to specific sections of my more lengthy articles, but I don't think the current anchor system allows for it.

Sep 22, 2024 01:57

I want that feature too

Apr 20, 2020 18:30

Does anyone know of an online BBCode editor that will generate a table of contents with nested anchor links to all the headers in the article?   Please add this feature.

Apr 25, 2020 15:19

https://www.worldanvil.com/w/la-costa-de-la-espada-elmazmorro/a/enanos-article

May 18, 2020 04:54 by SirCobalt

There is a Note in the Contents sidebar that contains a reference to the BBCode for a URL, it's listed as url= when I believe it should be url:.

May 18, 2020 09:06

Both = and : work with the url tag!

[they/them] Creator of Black Light, a science-fantasy universe.
May 19, 2020 05:59 by SirCobalt

Good to know, thanks!

Aug 5, 2020 06:41 by Hannah

Minor correction to the [color:#0000FF90]This is blue with 90% opacity![/color] explanation: It's not 90% opacity since the color is in hexadecimal format. 0x90 is equivalent to 144, so 0x90/0xff = 144/255 ~= 0.56. So rather than 90% opacity, it's actually about 56% opacity. If the color were expressed as rgba(0,0,255,.9), then it'd be 90% opacity.

Aug 6, 2020 11:01

Thanks for the correction!

[they/them] Creator of Black Light, a science-fantasy universe.
Aug 6, 2020 14:49 by Hannah

Hopefully I wasn't being too pedantic; it really is just a minor thing.

Aug 6, 2020 23:38

Of course not, keep them coming! I haven't added the full explanation because I think it's not the space for it, but it was an error, so it had to be corrected. Feel free to give any more feedback!

[they/them] Creator of Black Light, a science-fantasy universe.
Sep 8, 2020 20:33

Whenever I attempt to call a tag with BBcode it doesn't seem to recognize the tag and I can't figure out why. I'm using the exact same BBcode as shown in this article.

Sep 9, 2020 17:48

Hi! Do you mean that the tag is displayed in the article when you view it? This might be because you are using the WYSIWYG editor. To switch to a code editor, click the ">_" button in the toolbar. If you want to switch to code permanently, I recommend to choose Euclid as the editor in your interface settings.

[they/them] Creator of Black Light, a science-fantasy universe.
Sep 20, 2020 18:49

Are email links allowed? I can't seem to get them to work. Example: [[email protected]]send email[/email]

Sep 20, 2020 19:00

Hi! This tag does not exist, so it won't work unfortunately. It might work if you use [noparse]send email instead, but I'm not sure. Either way, you can always just paste the email address.

[they/them] Creator of Black Light, a science-fantasy universe.
Sep 20, 2020 22:31

I couldn't get that to work. Thank you anyway!!

Sep 21, 2020 10:47

Sorry, I missed a tag in my reply. I meant: [url=mailto:whatever@email.com]send email[/url].

[they/them] Creator of Black Light, a science-fantasy universe.
Nov 3, 2020 18:44

I have a question on tables within the articles and how to format them for rows spanning columns and for columns spanning rows. I've tried a few variations of the standard html "rowspan" and "colspan" tags, but those are not working. How would I get a row to span multiple columns (and a column to span multiple rows)?

Nov 4, 2020 09:51

Hi! Unfortunately our BBCode system doesn't support colspan/rowspan tags. Feel free to submit a feature request, though. You can access the feature request system from the help page (you'll need a separate account, because it uses a third-party service called Jira).

[they/them] Creator of Black Light, a science-fantasy universe.
Jan 31, 2021 20:03

Did the guild features like color and icons move to a different page? I can't seem to find them on this page anymore.

Feb 1, 2021 12:15

Hi! We're in the process of restructuring the bbcode guides. The content was removed from this one because it will be moved to a separate guide. For now, I've restored the guild contents while we work on the new guide. Sorry about that!

[they/them] Creator of Black Light, a science-fantasy universe.
Feb 1, 2021 21:46

No worries! Thanks!

Feb 13, 2021 06:22

Why when I copy and paste the bbcode for my calendar does it turn out blank white?

Feb 13, 2021 19:09

Hi! I don't understand what you mean. Could you elaborate? Thank you!

[they/them] Creator of Black Light, a science-fantasy universe.
Feb 14, 2021 06:07

https://gyazo.com/a980b86983bcc658b5aa93f3c330a351 https://gyazo.com/5b034daf629fae82370a25ecee75a35f https://gyazo.com/0e4aadca4dc7f8757a4f42b83b24bb97

Feb 14, 2021 18:15

I see what you mean! Calendars are working for me, so assuming that you created weekdays to fill the calendar, it's probably a bug. Calendars are currently developed by Ademal, so the bug-tracking system is different. You can use [url:https://trello.com/c/6dk57D4M/27-comment-feedback-bugs-here]this Trello board[/utl] to report the bug. Thank you!

[they/them] Creator of Black Light, a science-fantasy universe.
Feb 15, 2021 08:36

Thank you! I signed up and left a message!

Mar 26, 2021 05:03 by Nash Peterson

This may seem like a stupid question. How do you add the footer widgets to your articles? I can't find any documentation in your articles on adding the "like" and "add to reading list" buttons.

Mar 26, 2021 13:01

Hi! No such thing as a stupid question! :) These buttons appear automatically on all of your articles, but they're only visible to your logged-in readers.

[they/them] Creator of Black Light, a science-fantasy universe.
Mar 27, 2021 03:13 by Seesaw

*Me keeping this tab open 100% of the time so I can always just scroll and find what I need*

Made by the goblins in my head.
Jul 16, 2021 17:24

I'm sorry if this is answered elsewhere, but is there a way to integrate spreadsheet calculations into a table?   Here's specifically what I want to do [and can do in a Wordperfect X6 spreadsheet], 2 related things: 1: I want a "generic item" whose stats are the average of the others on the list. the spreadsheet code I use is like this +AVE(B3:B53)   2: for incomplete Items I want the values in the public side of the table to either be the entered value or, if absent, the value of the generic value (the average of the entered values on the table)   The purpose of this is both to make quick items by only listing the outlying stats, and to help in my project which is making Final Fantasy's stats work on tabletop when not all games had all stats (like accuracy, or evasion)   Here's a table for reference  

  Thanks in advance!

Jul 16, 2021 17:31

A more general example of what I'm trying to do would be for D&D 3E, to say "this sword has the stats of a regular longsword, but its threat range is 16-20 and it weighs 6 lbs" I could basically Xor it with longsword and just put in the stats that are different

Jul 18, 2021 10:36

I'm afraid calculations aren't part of the tables feature. Given the complexity this features probably has, I doubt it will be implemented.

[they/them] Creator of Black Light, a science-fantasy universe.
Aug 2, 2021 14:06 by Rhoanne Highwood

Greetings! Is there an undo feature when writing articles if you have accidentally backspaced over text?

Rhoanne Highwood - Fantasy with Bite
Aug 3, 2021 11:38

Yes, Ctrl+Z and Ctrl+Y (undo and redo) should work as usual!

[they/them] Creator of Black Light, a science-fantasy universe.
Aug 3, 2021 14:26 by Rhoanne Highwood

You're a true hero, Ondo! Thank you!

Rhoanne Highwood - Fantasy with Bite
Oct 28, 2021 17:37

Is there a way to add comments in the BBCode source? It would help to structure the text and find quicker the spot you like to change something. For example when you work with tables, etc.   examples: [!-- commented text goes here --] // one line comment   thx

Oct 28, 2021 17:40

Interesting some of the examples did not make it in the comment (slash + star, etc.)

Oct 28, 2021 20:24

You got it! Guild members have the slash+star syntax as the one that can be used on World Anvil (comments are BBCode-enabled too).

[they/them] Creator of Black Light, a science-fantasy universe.
Oct 29, 2021 11:16

Lucky me ... :) Thanks & a Great Weekend

Dec 20, 2021 03:16

Hello, I'm at a loss when it comes to adding Icons to Categories. I have copied and pasted the RPGAwesome icon code into the Icon line under edit category and the only thing it did was remove the folder icon from my homepage, leaving only the category name. Thanks in advance.

Dec 20, 2021 11:45

Hi! Could you paste here the full icon code you used? This will help me see what the issue is. Thanks!

[they/them] Creator of Black Light, a science-fantasy universe.
Dec 20, 2021 23:37

<i class="ra ra-moon-sun"></i>

Dec 21, 2021 10:15

I see the problem. The code you use for the category icon should just be "ra ra-moon-sun" (without quotation marks). The system will fill in the rest of the necessary HTML code.

[they/them] Creator of Black Light, a science-fantasy universe.
Dec 21, 2021 19:35

Ondo, you are a gentleman and a scholar, once again, thank you.

May 4, 2022 22:58

Are the RPG Icons from Pathfinder and Genesy Dice the only icons available (for free users)?

May 5, 2022 10:39

Pin icons are also available using the [pin] tag. To get a list of them, go to a map and press alt+enter. They're usually used as map pins (hence the name), but you can also embed them anywhere with BBCode.

[they/them] Creator of Black Light, a science-fantasy universe.
Jan 23, 2023 22:58

Is there a way to add a quickly adjustable value to the character sheet ? For instance a box that can hold a number for lets say gold that can be adjusted in the sheet without having to open the edit menu?

Jan 24, 2023 09:16

There is! That's what the badge version of the sheet is for. If you're using a character sheet with a badge version (like the D&D 5e one), it will appear in the session screen. You can also embed it in any article by adding the "badge" parameter, like this: [block:123|badge] (replacing "123" for the ID of your sheet, of course). Note that this will make the character sheet editable to anyone with access to the article!

[they/them] Creator of Black Light, a science-fantasy universe.
Feb 11, 2023 14:55 by Jiryü Räsen

How do I make a table that is set to the width of the data in the cells, instead of taking up the whole page (page width)? I've only got three columns and small words. To have that stretch the whole width of the page is awkward.   Thanks.

Feb 13, 2023 09:28

That's not possible with just BBCode. Guild members get access to Interactive Tables (which can change their size, among other things) and to CSS (which can probably used for this purpose).

[they/them] Creator of Black Light, a science-fantasy universe.
Apr 20, 2023 11:10 by Caleb

Is there a way to add custom HTML code to the page? Someone made me an awesome table to roll on by clicking and I'd like to have it appear in my article if possible as more than just a link.

Apr 20, 2023 13:46

Hi! No, HTML can't be used on World Anvil. If the table you're talking about is from an external website, you could embed that website in your article with an iframe block (go to statblocks -> select "Generic, Webpage").   But if you just want a rollable table, we have those on World Anvil too! Go to statblocks and create a "Random Table" block. For more advanced uses, go to Advanced Tools on the sidebar and click Tables. Let me know how it goes!

[they/them] Creator of Black Light, a science-fantasy universe.
Apr 20, 2023 14:55 by Caleb

Thank you for the info, I will check this all out :] I could definitely use the built in stuff for the future, but I'd like to use the external link for this specific article.

Dec 13, 2023 23:09 by spleen

Hi, sorry, really minor detail - there's a space in the word "have" between "h" and "ave" ("h ave") at the beginning of the article, where it talks about Guild BBCode.

Have a wonderful day!
Dec 14, 2023 07:34

Fixed, thank you!

[they/them] Creator of Black Light, a science-fantasy universe.
Dec 24, 2023 21:12

unrelated comment but everyone has the best titles on world anvil "Exalted councilor of the inner sanctum" wow (:!

Jan 3, 2024 06:17

Hey, being a Grandmaster is pretty fancy too! ;)

[they/them] Creator of Black Light, a science-fantasy universe.
Jun 20, 2025 17:46

This page appears to have been mostly removed, but is still linked under the editor in, minimally, the Notebook function. Where do I need to go now to actually find the BB Code?

Jun 20, 2025 18:02

Hi! If you click the big red banner on the page, it will take you to the new BBCode page: https://www.worldanvil.com/learn/bbcode-tutorials/basic-bbcode   I'll talk to the devs and see if we can replace the link for the new one, if there's still a Codex link, it's an oversight on our part!

[they/them] Creator of Black Light, a science-fantasy universe.