Guide to Blocks
A block (also known as statblock or sheet) is a piece of structured content that is created once and can be used multiple times in different places. Its main usage is to represent the statistics of an NPC, an item or a PC (in which case they are called character sheets). They can also be used for other non-RPG purposes, such as tables and embedded web sites.
Creating RPG blocksIn order to make your first blocks, you'll need to select the RPG system for your world. Once this is done, go to the Blocks and sheets section of your world, accessible from the sidebar menu. On top of the page you will see a box with a drop-down from which you can select the kind of sheet you want to create. For example, if you want to create a character sheet of Dungeons and Dragons 5e, you will have to choose Character Sheet (Dungeons & Dragons 5th Edition (DnD5e)). When you click the create button, a page with a form will appear. Fill in the fields you need to fill and click Svae changes. You're done!
Creating non-RPG blocksWhether you select and RPG system or not, the blocks & sheets section will have some blocks tagged as Generic. These are utility blocks that are not meant to be used as statblocks. Their name is Generic, [block type]
TableIn a table block you can add the table title, a description and then the table itself, in the Table Data field. This field uses the standard CSV syntax with the character | as a separator. What this means is that you can just write the content of each row in its own line, separating the cells with |. Take, for example, the following code:
Level|XP|Abilities 1|0|Super Cuccumber 2|1200|Tomato Slicing ExpertiseThe result will look like this:
|2||1200||Tomato Slicing Expertise|
TextText blocks are just plain-text content. The Content fiields accepts regular BBCode formatting. This can be used to create template text that you can easily re-use in multiple articles.
ImageThe Image block lets you add an image (that has been uploaded to your world, see Guide to Images) with a title, description and a table attached to it.
WebpageIf you want to embed a full web page on a world anvil article, use this block. Just paste the URL of the page you want to embed and that's it! Keep in mind that some web sites don't allow embedding, so this system will not work with all web sites.
Random tableRandom tables use the same formatting as regular tables. The difference is that when you view the table, you will be able to click a button to "roll on the table". Make sure that the first cell of every row contains a number or a number range like 18-20 (the rest of cells can have whatever content you want).
Using blocksNo matter the kind of block you created, they can be used in the same way. All blocks have an ID number that you can use to embed in any article, journal, Heroes post or generally any text fields that supports BBCode. The block contents will not actually be in the article, so editing the block itself will change how it is displayed in all places where it is embedded. To get the ID, view the block you want to embed and go to the bottom, where you will see a footer similar to the following screenshot:
DnD 5e SRD SRD
Ranged Weapon Finesse, Thrown Common
|Simple||1d4||Piercing||20/60 ft||Finesse, Thrown|
Cost: 5 cp Weight: 1/4 lb