Unofficial BBCode Compendium

Tarkya

❮ II. Dungeon Knave ❯
Messages
63
Gold
240
Mastery
120
Valor
0
Event
0
Special
0
OOC
Storage
a meat popsicle
A list of the various custom BBCodes on the forum that aren't listed in the buttons. More will be added as I figure em out.

Various bits of BBCode can be combined in interesting ways - banners can go in boxes, for example. All you have to do is mess around a bit to find what you're after!

DISCLAIMERS

All these codes are subject to change, and updates on the back-end can break them. Use these at your own risk!

If you are editing code that isn't part of the default editor, it's best to edit it with rich text OFF. This will prevent the editor from altering your code and formatting by doing things such as adding newlines. The option to toggle BBCode is on the top right of the text editor, and may be hidden behind a dropdown.

Some of this code may look/perform different on Chromium-based browsers vs Firefox. Chromium browsers will have the "correct" look by default. Any code that performs oddly on Firefox will be labelled.

METER BARS

[ 50/100 ]
[bar=<current value>]<maximum value>[/bar]

[ 50/100 ]
[bar2=<current value>]<maximum value>[/bar2]


[metercolor=<decimal less than or equal to 1>]<color>[/metercolor]

Meter
[metercolor=0.5]<color>[/metercolor][metertext=#48B2E0]<meter label>[/metertext][/metercolor]

Meter Color Options:
  • Red
  • Orange
  • Yellow
  • Blue
  • Teal
  • Purple
  • Pink
50 / 100


[hp=<current HP>]<max HP>[/hp]


❰ 5 / 10 ❱

[enemyhp=<current enemy hp>]<max enemy HP>[enemyhp]


❰ 500 / 1000 ❱

[bosshp=<current boss HP>]<max boss HP>[/bosshp]


❰ 500 / 1000 ❱

[bosshp2=<current boss HP>]<max boss HP>[/bosshp2]

❰ 500 / 1000 ❱

[sp=<current SP>]<max SP>[/sp]

CONTAINERS AND BOXES

Box Contents

[box]<box contents>[/box]


A Darker Colored Box Contents

[box2]<box contents>[/box2]


Title

Contents

[tbox=<title>]<box contents>[/tbox]


Title

Darker contents

[tbox2=<title>]<box contents>[/tbox2]

Title
Contents

[actioncard=<title>]Contents[/actioncard]
Taunting (500)

[taunt]<value>[/taunt]


Movement: A3 > B3
[move]<move content>[/move]


A3 > B3
[path]<move content>[/path]


Rolls

Action box contents


[action]<action contents>[/action][/tbox]


Critical Success
100
Good things!!!

[nat100]Post Contents[/nat100]


Critical Failure
1
Bad things...

[nat1]Post Contents[/nat1]


Warning

Awesome McCoolname, you are dead. If you are not revived within the time limit, your body will reconstruct at the nearest sanctified location.


[death]<name>[/death]
CARD LIST
A flexible card list with titled cards. Maximum of three cards per row.


Card 1
Card contents

Card 2
Card contents

Card3
Card contents



[cardlist] [cardenemy=<cardname>]<cardcontents>[/cardenemy] [cardenemy=<cardname>]<cardcontents>[/cardenemy] [cardenemy=<cardname>]<cardcontents>[/cardenemy] [/cardlist]


CURRENT STATUS
A container for borderless cards. Can be titled or untitled. Maximum of three cards per row.


Card contents

Card contents

Card Title
Card contents



[currentstatus] [cbox]Card contents[/cbox] [cbox]Card contents[/cbox] [ncbox=Card Title] Card contents[/cbox] [/currentstatus]
The tab box allows you to create "slides" within your post. You can have multiple tabs and cross-link between them.



Code:
[TABS]
[SLIDE_HEADER]Title 1[/SLIDE_HEADER]
[SLIDE]Content 1 - [tab=2]Link to tab 2[/tab][/SLIDE]
[SLIDE title="Title 2"]Content 2[/SLIDE]
[/TABS]

[TABS]Slide code[/TABS]
All slide code should be wrapped in the tabs tags
[SLIDE_HEADER]<tab title>[/SLIDE_HEADER]
Title of your tab.
[SLIDE]<slide content>[/SLIDE]
Content of the slide.

[tab=<tab number>]<link name>[/tab]
Creates a link to another slide
Speech bubble contents


[speech=<image url>]<speech bubble contents>[/speech]


Right-aligned speech


[speechright=<image url>]<speech bubble contents>[/speechright]

Mail

Mail Message


[mail]<message contents>[/mail]


Voice Mail

Voicemail Message


[vmail]<message contents>[/vmail]


Party

Party Invite has invited you to join their party.


[invite]<Inviter Name>[/invite]


Notice

Notice Box


[notice]<message contents>[/notice]


Notice

Notice Box without the buttons


[notice2]<message contents>[/notice2]


Title

Letter


[writing=Title]<message contents>[/writing]

FORMATTING

Mouse over me
[abbr=<hover text>]<main text>[/abbr]

Regular text. Subscript​
[sub]<text>[/sub]

Regular text. Superscript​
[sup]<text>[/sup]

[b]This is not bold text.[/b]
[plain]<text>[/plain]

Click this blur! Hello! Click me again to blur.
[ispoiler]<spoiler text>[/ispoiler]

Click me! Spoiler text!
[inlinespoiler=<spoiler title>]<spoiler text>[/inlinespoiler]
Floated content will wrap around existing text and images. This can lead to weird interactions.

Left-floated contents
Unfloated text.

[fleft]Left-floated contents[/fleft]

Right-floated contents
Unfloated text.

[fright]Right-floated contents[/fright]
Banner Text

[banner=#000000]Banner Text[/banner]


[ibanner]<banner url>[/ibanner]
FontAwesome and RPGAwesome are collections of icons that can be inserted into posts using the following codes. A full list can be found at the following links.

Example - "fa-duotone fa-crow":
[fa]<FontAwesome/RPGAwesome image code>[/fa]



Text Example (can also be used without a banner wrapping it)


[bannericon]<FontAwesome/RPGAwesome image code>[/bannericon]

FontAwesome icons can be styled with certain suffixes, allowing you to adjust the size and animate them.



A full list of style options can be found at this finely crafted link.

OTHER

Smolltube creates a small youtube box that can be floated or placed as needed.

[smolltube]<youtube video id>[/smolltube]
The TIME code lets you place timestamps that change based on the viewer's timezone, and will display relative time as you get closer to the listed time.. To use these, you will need to generate a timestamp code using a converter. I recommend this one.

Once you've input your time, copy the ISO 8601 string. This will be your timestamp code. You can also use a Unix timestamp I guess.


[time]<timestamp code>[/time]
Fieldset gives you a box with a narrow border. The title and width can be customized. The width is measured by character count.

Fieldset:
Fieldset Contents

[fieldset]Fieldset Contents[/fieldset]

Custom Title
Fieldset Contents

[fieldset title="Custom Title"] Fieldset Contents[/fieldset]

Fieldset:
Fieldset Contents

[fieldset width="30"]Fieldset Contents[/fieldset]
Encadre gives you a box with a red header that is floated right. The title and width can be customized. The width is measured by character count.




[encadre]Encadre Contents[/encadre]




[encadre title="Custom Title"]Encadre contents[/encadre]





[encadre width="80"]Encadre contents.[/encadre]
 
Last edited:

Tarkya

❮ II. Dungeon Knave ❯
Messages
63
Gold
240
Mastery
120
Valor
0
Event
0
Special
0
OOC
Storage
a meat popsicle
Some personal BBcode templates of mine. Feel free to use them and modify them as you please.

The spacing in this code is intentional in order to achieve a specific appearance. Messing with the spacing will make things look different. This code is best worked with in the BBcode only mode as a result, or in a separate text editor to make sure the spacing isn't affected.

Check out Rizu's stuff as well!

10 PRINT "HELLO WORLD"
20 GOTO 10


Code:
[box][banner=#0e1118][COLOR=rgb(65, 168, 95)][FONT=courier new][B]<text box contents>[/B][/FONT][/COLOR][/banner]

Contact Name

receiving

text message fun times!



sending






A little format box for simulating a text messaging app. The fieldset is used to constrain the box to a certain width, while the HR lines are used to make sure the speech bubbles don't escape. Not particularly customizable other than changing the width of the box and possibly adding a background color using a banner. You'll need to make sure you manually set the text color in the speech bubbles if you do this, because it'll change the text to white but leave the bubbles unaffected.

Code:
[fieldset title=" " width=60][box]
[B][SIZE=5]<Contact Name>[/SIZE][/B]
[HR] [/HR]
[speech=<receiver icon>]<incoming message>
[/speech]

[speechright=<sender icon>]<outgoing message>[/speechright]


[HR][/HR]
[/box][/fieldset]

channel-name optional channel desc

Username Yesterday at Timestamp
I'm out here saying words.

Username Today at Timestamp
And I'm responding to words!

@Nobody a message to reply to
Username Today at Timestamp
And I'm replying to previous words!
I'm also saying multiple lines of words...
But they're still aligned correctly.


A box emulating Discord (dark mode, specifically). Has two post types, one for regular and one for replies. The icons use the [roundimg] code, which doesn't automatically resize images. The ideal size for "discord icons" is 50x50 px. You can change up the background color easily, but if you want to change the text color it'll be more involved.

Wrapping box (chatroom)
Code:
[box][banner=#36393e]
[size=5][color=#B5BAC1][fa]fa-solid fa-hashtag[/fa][/color] [b]<channel-name>[/b][/size] [color=#B5BAC1]<optional channel desc>[/color]
[hr][/hr]

<message blocks go here>

[/banner][/box]

Wrapping box (Direct Message)
Code:
[box][banner=#36393e]
[size=5][color=#B5BAC1][fa]fa-solid fa-at[/fa][/color] [b]Person name[/b][/size]
[hr][/hr]

<message blocks go here>

[/banner][/box]

Wrapping box (Group DM)
Code:
[box][banner=#36393e]
[size=5][color=#B5BAC1][fa]fa-solid fa-user-group[/fa][/color] [b]Group Name[/b][/size]
[hr][/hr]

<message blocks go here>

[/banner][/box]

Standard message block.
Code:
[fleft][roundimg]https://placehold.co/50x50/silver/black[/roundimg][/fleft][B]<Username>[/B] [SIZE=3][color=#B5BAC1]<timestamp>[/SIZE][/color]
[container]<message contents>[/container]

Replying to a message block.
Code:
[fa]fa-solid fa-share[/fa] [color=#B5BAC1][b]@<person replied to>[/b] <previous message>[/color]
[fleft][roundimg]https://placehold.co/50x50/silver/black[/roundimg][/fleft][B]Username[/B] [SIZE=3][color=#B5BAC1]<timestamp>[/SIZE][/color]
[container]<message contents>[/container]
Code meant to emulate Twitter X. Comes the reposting line built in, but you can remove this line to make it a basic message.

<username> reposted
Display Name @tagname · 0m
Messages from the site fomerly known as Twitter...

0
0
0



Code:
[box][SIZE=3][color=rgb(83, 100, 113)][fa]fa-regular fa-retweet[/fa] <username> reposted[/color][/SIZE][color=rgb(83, 100, 113)][/color]
[fleft][roundimg]https://placehold.co/50x50/silver/black[/roundimg][/fleft][b]Display Name[/b] [color=rgb(83, 100, 113)][plain]@tagname[/plain][B] · [/B]0m[/color]
[container]<message contents>[/container]
[color=rgb(83, 100, 113)][currentstatus][ncbox=][fa]fa-regular fa-comment[/fa] 0[/ncbox] [ncbox=][fa]fa-regular fa-retweet[/fa] 0[/ncbox] [ncbox=][fa]fa-regular fa-heart[/fa] 0[/ncbox][/currentstatus][/color]
[/box]

DM Codeblocks

Templates I made for running DM challenges. These are meant to be pretty simple to fill out and modify - there's very little extra formatting included, and done my best to prettify the code without altering the appearance of the final result.

A block used for single boss enemies. It includes code for multiple SP bars above the boss's HP using the currentstatus and cbox code. A maximum of three bars can be side-by-side, matching the width of the boss HP, but the code can handle more. You can also delete the block entirely if you aren't using SP.

《 BOSS TITLE 》
BOSS NAME



PART
❰ 100 / 100 ❱


PART
❰ 100 / 100 ❱


PART
❰ 100 / 100 ❱

❰ 1000 / 1000 ❱

ACTIONS
  • Action Name. Action type. Action information. (Uses remaining)


Action Order: Movement > Control > AoE > Attack

LOG
  • Enemy 1 does Action on Target
  • Enemy 1 does Action on Target



Code:
[box2][banner=#0e1118][center][b]《 BOSS TITLE 》
[size=8]BOSS NAME[/size][/b][/center]

[/banner][ibanner]https://placehold.co/850x300/silver/black[/ibanner]
[currentstatus]
[cbox][center][b]PART[/b][/center][sp=100]100[/sp][/cbox]

[cbox][center][b]PART[/b][/center][sp=100]100[/sp][/cbox]

[cbox][center][b]PART[/b][/center][sp=100]100[/sp][/cbox]
[/currentstatus][bosshp=1000]1000[/bosshp]
[box][banner=#0e1118][fa]fa-solid fa-claw-marks fa-fw[/fa] [b]ACTIONS[/b][/banner][list]
[*][b]Action Name.[/b] [i]Action type.[/i] Action information. (Uses remaining)[/list]

[hr][/hr][center][font=courier]Action Order: Movement > Control > AoE > Attack[/font][/center]
[/box]
[box][banner=#0e1118][fa]fa-solid fa-eye fa-fw[/fa] [b]LOG[/b][/banner][list]
[*][b]Enemy 1[/b] does [b]Action[/b] on [b]Target[/b]
[*][b]Enemy 1[/b] does [b]Action[/b] on [b]Target[/b]
[/list]
[/box]
[/box2]
A block for tracking multiple enemies or boss battle adds. This uses the cardlist and cardenemy code, and each card contains HP, actions, and an action log. Three are included by default.

ENEMIES


Enemy 1


Status
Vulnerable
❰ 100 / 100 ❱


ACTIONS
  • Action Name. Action type. Action information.
LOG
  • Enemy 1 does Action on Target
  • Enemy 1 does Action on Target

Enemy 2


Status
Protected
❰ 100 / 100 ❱


ACTIONS
  • Action Name. Action type. Action information.
LOG
  • Enemy 2 does Action on Target
  • Enemy 2 does Action on Target




Code:
[box2][banner=#0e1118][size=6][fa]fa-solid fa-eye-evil fa-fw[/fa] [b]ENEMIES[/b][/size][/banner]
[cardlist]
[cardenemy=Enemy 1][currentstatus][cbox][roundimg]https://placehold.co/100x100/silver/black[/roundimg][/cbox]

[ncbox=Status]
[i]Vulnerable[/i]
[enemyhp=100]100[/enemyhp]
[/ncbox][/currentstatus][hr][/hr]
[fa]fa-solid fa-claw-marks fa-fw[/fa] [b]ACTIONS[/b][list]

[*][b]Action Name.[/b] [i]Action type.[/i] Action information.[/list]
[fa]fa-solid fa-eye fa-fw[/fa] [b]LOG[/b][list]

[*][b]Enemy 1[/b] does [b]Action[/b] on [b]Target[/b]
[*][b]Enemy 1[/b] does [b]Action[/b] on [b]Target[/b]
[/list][/cardenemy]

[cardenemy=Enemy 2][currentstatus][cbox][roundimg]https://placehold.co/100x100/silver/black[/roundimg][/cbox]

[ncbox=Status]
[i]Protected[/i]
[enemyhp=100]100[/enemyhp]
[/ncbox][/currentstatus][hr][/hr]
[fa]fa-solid fa-claw-marks fa-fw[/fa] [b]ACTIONS[/b][list]

[*][b]Action Name.[/b] [i]Action type.[/i] Action information.[/list]
[fa]fa-solid fa-eye fa-fw[/fa] [b]LOG[/b][list]

[*][b]Enemy 2[/b] does [b]Action[/b] on [b]Target[/b]
[*][b]Enemy 2[/b] does [b]Action[/b] on [b]Target[/b]
[/list]
[/cardenemy]
[/cardlist]
[/box2]
[/spoiler]

Enemy Card Code
Code:
[cardenemy=Enemy 1][currentstatus][cbox][roundimg]https://placehold.co/100x100/silver/black[/roundimg][/cbox]

[ncbox=Status]
[i]Vulnerable[/i]
[enemyhp=100]100[/enemyhp]
[/ncbox][/currentstatus][hr][/hr]
[fa]fa-solid fa-claw-marks fa-fw[/fa] [b]ACTIONS[/b][list]

[*][b]Action Name.[/b] [i]Action type.[/i] Action information.[/list]
[fa]fa-solid fa-eye fa-fw[/fa] [b]LOG[/b][list]

[*][b]Enemy 1[/b] does [b]Action[/b] on [b]Target[/b]
[*][b]Enemy 1[/b] does [b]Action[/b] on [b]Target[/b]
[/list][/cardenemy]
A block for a visual map with a legend for terrain effects. This uses the currentstatus and ncbox code to format the terrain legend. Three are included by default.

MAP

black

TERRAIN


TERRAIN NAME
black
Terrain flavor blurb

Terrain effect.


TERRAIN NAME
black
Terrain flavor blurb

Terrain effect.


TERRAIN NAME
black
Terrain flavor blurb

Terrain effect.



MAP LOG
  • Enemy 1 moves from Location to Location
  • Player moves from Location to Location



Code:
[box2][banner=#0e1118][size=6][fa]fa-solid fa-map fa-fw[/fa] [b]MAP[/b][/size][/banner]
[center][img]https://placehold.co/500x500/silver/black[/img][/center]

[box][banner=#0e1118][fa]fa-solid fa-mountain-sun fa-fw[/fa] [b]TERRAIN[/b][/banner][currentstatus]

<terrain blocks here>

[/currentstatus][/box]
[box][banner=#0e1118][fa]fa-solid fa-person-running fa-fw[/fa] [b]MAP LOG[/b][/banner][list]
[*][b]Enemy 1[/b] moves from [b]Location[/b] to [b]Location[/b]
[*][b]Player[/b] moves from [b]Location[/b] to [b]Location[/b]
[/list]
[/box]
[/box2]

Terrain legend card code
Code:
[ncbox=TERRAIN NAME]
[img align="left"]https://placehold.co/50x50/silver/black[/img][i]Terrain flavor blurb[/i]
[hr][/hr]Terrain effect.
[/ncbox]
A block for non-combat challenges. Uses the cardlist to display actions that can be taken to complete the challenge.


EVENT

black

50/100

Something has happened! Deal with it using one of the following methods.



Action
The thing you can do and the effect of it.


Action
The thing you can do and the effect of it.


Action
The thing you can do and the effect of it.




Code:
[box2][banner=#0e1118][size=6][fa]fa-solid fa-dice-d20 fa-fw[/fa] [b]CHALLENGE[/b][/size][/banner]
[img]https://placehold.co/800x100/silver/black[/img]
[metercolor=0.5]red[/metercolor][metertext=darkred]50/100[/metertext]

[box]A thing is in your way! Deal with it using one of the following methods.[/box]
[cardlist]

<action card code goes here>

[/cardlist]
[/box2]

Action Card
Code:
[cardenemy=Action][center][roundimg]https://placehold.co/100x100/silver/black[/roundimg][/center]
The thing you can do and the effect of it.[/cardenemy]
A block for party member information. Can be used to track vanilla information or additional homebrew. The individual cards have an additional bar and two collapsibles included to make it easier to see where they can be added - they can be removed if unneeded.

PARTY


83.jpg
Player Name •《 Player Title
50 / 100
🢁 Augments
• Augment

🢃 Ailments
• Ailment

[ 50/100 ]
【Homebrew】

Contents
【Homebrew】

Contents

83.jpg
Player Name •《 Player Title
50 / 100
🢁 Augments
• Augment

🢃 Ailments
• Ailment

[ 50/100 ]
【Homebrew】

Contents
【Homebrew】

Contents

83.jpg
Player Name •《 Player Title
50 / 100
🢁 Augments
• Augment

🢃 Ailments
• Ailment

[ 50/100 ]
【Collapsible 1】

Contents
【Collapsible 2】

Contents



Wrapping Box
Code:
[box2][banner=#0e1118][SIZE=6][fa]fa-solid fa-users fa-fw[/fa] [B]PARTY[/B][/SIZE][/banner]

<Player Cards go here>

[/box2]

Individual Player Card (With Color)
Code:
[box][fleft][IMG width="100px"]avatar url[/IMG][/fleft][banner=#556b2f][size=5][b] Player Name[/b][/size] •《 [i]Player Title[/i] 》
[hp=current]max[/hp][currentstatus][ncbox=🢁 Augments]
• Augment
[/ncbox]
[ncbox=🢃 Ailments]
• Ailment[/ncbox]
[/currentstatus][bar=50]100[/bar][/banner][center][inlinespoiler="【Collapsible 1】"]
[box][left]
Contents
[/left][/box][/inlinespoiler][inlinespoiler="【Collapsible 2】"]
[box][left]
Contents
[/left][/box][/inlinespoiler][/center][/box]

Player Card (No Color)
Code:
[box][fleft][IMG width="100px"]https://terrarp.com/data/avatars/l/0/83.jpg?1697055178[/IMG][/fleft][size=5][b] Player Name[/b][/size] •《 [i]Player Title[/i] 》
[hp=50]100[/hp][currentstatus][ncbox=🢁 Augments]
• Augment
[/ncbox]
[ncbox=🢃 Ailments]
• Ailment[/ncbox]
[/currentstatus][bar=50]100[/bar][center][inlinespoiler="【Collapsible 1】"]
[box][left]
Contents
[/left][/box][/inlinespoiler][inlinespoiler="【Collapsible 2】"]
[box][left]
Contents
[/left][/box][/inlinespoiler][/center][/box]
 
Last edited:

Tarkya

❮ II. Dungeon Knave ❯
Messages
63
Gold
240
Mastery
120
Valor
0
Event
0
Special
0
OOC
Storage
a meat popsicle
Some various notes/formatting tricks I've learned for my own post composition. This is still in progress.

  • Text in the [currentstatus] tags is smaller than the forum's default font size. If you want it to match the rest of the post, use [size=4] to change it.
  • The image resizing of the [skill] code breaks when put in any box. If you still want to use them together, manually resize your images.
 
Last edited:
Top