The Quarter Final of the Ravished in a Flash Tournament has begun. Please rate the stories after reading them using the thumbs up button. The rating of a story determines the match winner.

BBCode Guide

In this board, you will find threads for each of the features of the forum explaining how to use them. Please ask questions about them there.
Post Reply
User avatar
Vela Nanashi
Admin
Senior
Posts: 172
Joined: Mon Feb 24, 2025 8:28 am
Reputation: 32

BBCode Guide

Post by Vela Nanashi »

First a quick explainer from Claire:

BBCodes are a standard feature of forums like these. Their primary purpose is to allow users to format text. In general, they are used like this. You put the text you want to format inside of tags that say:

[BBCode]Text[/BBCode]

The [BBCode]-tag tells the forum where it should begin to apply the BBCode and the [/BBCode]-tag with the / tells the forum where it should stop applying the BBCode. Depending on the BBCode you use, different effects will apply to text. If you choose BBCode=b, the text enveloped by the BBCode-tags will be bold. If you choose BBCode=i, it will be italic. BBCode=quote turns the enveloped text into a quote.

Above the text editor window, you should see a bunch of buttons that help you apply BBCodes without having to type the tags yourself. You can, for example, highlight the text you have written, click on the B at top left of the text editor window and it will automatically put BBCode=b tags around your text.

If you are ever unsure what a particular BBCode might look like or you want to make sure that you applied it correctly, use the Preview feature of the forum. Just click on the Preview button left of the Submit button and the forum will show what your post will look like to other users before you actually post it.

This first post will now go on to explain to you what the most basic BBCodes do and how to apply them. The second post will show you more advanced BBCodes.

---

Now I will try to show you some bbcodes, what the code looks like and what the result looks like:

I will show first the code you would type into the post, and then how it looks:

---

Code: Select all

The b or [b]bold[/b] tag.
The b or bold tag.

---

Code: Select all

The i or [i]italics[/i] tag.
The i or italics tag.

---

Code: Select all

The u or [u]underline[/u] tag.
The u or underline tag.

---

Code: Select all

You can combine tags together to do more fancy stuff:
[b]Bold text [i]that has italics in it [u]that has underline in it[/u][/i][/b]
Just make sure to put the pairs of tags in the opposite order when closing them as when you opened them.
You can combine tags together to do more fancy stuff:
Bold text that has italics in it that has underline in it
Just make sure to put the pairs of tags in the opposite order when closing them as when you opened them.

---

Code: Select all

The quote [quote]quote[/quote] tag,
it also can be set to be from someone
[quote=the very much not real person this is from]fake quote[/quote].
The quote
quote
tag,
it also can be set to be from someone
the very much not real person this is from wrote:fake quote
.

The quote tag also has more advanced forms that are automatically generated when you quote a post, and then you don't have to worry about how to write the code.

---

Code: Select all

The list and ordered list tag:
[list][*]point one
[*]point two
[*]point three[/list]
[list=1][*]point one
[*]point two
[*]point three[/list]
The list and ordered list tag:
  • point one
  • point two
  • point three
  1. point one
  2. point two
  3. point three
---

Code: Select all

The img [img]https://ravishmentacademy.com/download/file.php?avatar=60_1740477849.jpg[/img] tag.

On the current forum theme images will auto adjust their size to fit the width of the post box, and there is no mechanism to manually change the size currently.
The img Image tag.

On the current forum theme images will auto adjust their size to fit the width of the post box, and there is no mechanism to manually change the size currently.

---

Code: Select all

The two forms of the url tag:
[url]https://google.com/[/url]
[url=https://ravishmentacademy.com/index.php]Ravishment Academy index page[/url]
The second one will look cleaner. Also please see advanced uses later.
The two forms of the url tag:
https://google.com/
Ravishment Academy index page
The second one will look cleaner. Also please see advanced uses later.

---

Code: Select all

The color tag, that alters the font foreground color,
please use this very sparingly, as it may make your text hard to read,
especially if the theme of the forum ever changes,
then text may not be readable in the new theme:

You can use the name of a color as well as its # RR GG BB without spaces, where RR is red, GG is green, BB is blue, from lowest 00 to highest FF, it is a hexadecimal number, 0 to 9 you already know what they mean A means 10 B 11 C 12 D 13 E 14 F 15. It is also an additive color, meaning the lights add up, not like paints that are subtractive colours (or CMYK that is used for printing).

[color=red]red text[/color]
[color=#BF00BF]Some kind of purple text[/color]
[color=#181818]Example of text that won't work on this theme[/color]
You can highlight the above line if you want, it is not the best way to do a spoiler though... given if theme changes it breaks.
The color tag, that alters the font foreground color,
please use this very sparingly, as it may make your text hard to read,
especially if the theme of the forum ever changes,
then text may not be readable in the new theme:

You can use the name of a color as well as its # RR GG BB without spaces, where RR is red, GG is green, BB is blue, from lowest 00 to highest FF, it is a hexadecimal number, 0 to 9 you already know what they mean A means 10 B 11 C 12 D 13 E 14 F 15. It is also an additive color, meaning the lights add up, not like paints that are subtractive colours (or CMYK that is used for printing).

red text
Some kind of purple text
Example of text that won't work on this theme
You can highlight the above line if you want, it is not the best way to do a spoiler though... given if theme changes it breaks.

Claire: You can click on the color palette button to see a bunch of predefined colors to choose from. The button doesn't work in chat though.

---

Code: Select all

The size tag:
[size=50]Tiny[/size]
[size=85]Small[/size]
[size=100]Normal[/size]
[size=150]Large[/size]
[size=200]Huge[/size]
The size tag:
Tiny
Small
Normal
Large
Huge

---

In the post above I have been using the code bbcode to show the code followed by the content of the code after it, however the code block will likely not render its closing tag properly, but let's give it a shot :)

Code: Select all

[code]code goes here, any tags inside it will not happen nor should smileys:)
    spaces are preserved     in       code blocks
the closing bbcode of the code block can not be properly escaped that is why
I added a space between the o and d in code here:[/co de]
removed the space:

Code: Select all

code goes here, any tags inside it will not happen nor should smileys:)
    spaces are preserved     in       code blocks
the closing bbcode of the code block can not be properly escaped that is why
I added a space between the o and d in code here:
User avatar
Vela Nanashi
Admin
Senior
Posts: 172
Joined: Mon Feb 24, 2025 8:28 am
Reputation: 32

Re: BBCode Guide

Post by Vela Nanashi »

Advanced Tags:

---

Code: Select all

The font tag, used to change the font face:
[font=Courier New]I personally like Courier New[/font]
[font=Comic Sans MS]some people like Comic Sans[/font]
The font tag, used to change the font face:
I personally like Courier New
some people like Comic Sans

---

Code: Select all

The highlight text tag:
[highlight=yellow]That also may make text harder to read for certain people[/highlight]
The highlight text tag:
That also may make text harder to read for certain people

---

Code: Select all

The s [s]strike through[/s] tag.
The s strike through tag.

---

Code: Select all

The sup [sup]super script[/sup] tag.
The sup super script tag.

---

Code: Select all

The sub [sub]sub script[/sub] tag.
The sub sub script tag.

---

Code: Select all

The glow [glow=yellow]glow[/glow] as with highlight be careful, it can make things hard to read.
The glow glow as with highlight be careful, it can make things hard to read.

---

Code: Select all

The shadow [shadow=yellow]yellow shadow[/shadow] tag.
The shadow yellow shadow tag.

---

Code: Select all

The dropshadow [dropshadow=yellow]drop shadow[/dropshadow] tag.
The dropshadow drop shadow tag.

---

Code: Select all

The blur [blur=yellow]yellow blur[/blur] tag.
The blur yellow blur tag.

---

Code: Select all

The spoil tag: [spoil]useful for spoilers, but you can also use it for other things, this tag is a bit dumb that it does not let you label its button though...[/spoil]
The spoil tag:
► Show Spoiler
---

Code: Select all

The text direction tag:
[dir=ltr]You probably won't actually have need to use this[/dir]
[dir=rtl]But it would allow you to write some silly snakeing[/dir]
[dir=ltr]Text, if only it also allowed mirroring it would be[/dir]
[dir=rtl]Even more cool to use it for something like this[/dir]
The text direction tag:
You probably won't actually have need to use this
But it would allow you to write some silly snakeing
Text, if only it also allowed mirroring it would be
Even more cool to use it for something like this

---

Code: Select all

The hidden tag: [hidden]hidden content only visible to registered users[/hidden]
The hidden tag:
Hidden Content
This board requires you to be registered and logged-in to view hidden content.
---

Code: Select all

Tables:

n|A|B|C|D|E|F|G
-|-|-|-|-|-|-|-
0|A0|B0|C0|D0|E0|F0|G0
1|you can|100%|write what you want|in|the|cells|but why?
Tables:
nABCDEFG
0A0B0C0D0E0F0G0
1you can100%write what you wantinthecellsbut why?
---

Code: Select all

The align tag:
[align=left]Left text[/align]
[align=center]Centered text[/align]
[align=right]Right text[/align]
[align=justify]Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below.[/align]
The align tag:
Left text
Centered text
Right text
Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below.

---

Code: Select all

The floating tag: (it likes mangling text near it so extra new lines are needed to avoid that)

[float=left]Float left[/float]--no Float--[float=right]Float right[/float]



We can do some other things with it like this below, it is a bit complicated though... since float tags mangle nearby lines and need extra newlines, it seems one extra per float tag for some reason...


[float=right][img]https://ravishmentacademy.com/download/file.php?avatar=60_1740477849.jpg[/img][/float][align=justify]Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below.[/align]
The floating tag: (it likes mangling text near it so extra new lines are needed to avoid that)
Float left
--no Float--
Float right


We can do some other things with it like this below, it is a bit complicated though... since float tags mangle nearby lines and need extra newlines, it seems one extra per float tag for some reason...

Image
Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below.

---

There are also tags for soundcloud and bbvideo ... I won't bother showing those, please use those sparingly.

---

There are some tags created by other extensions as well:

The mention system, described here by Claire in more detail, can be used you just write an at symbol then some letters in the user name you want and it will make a mentions tag for you, but you can also write them yourself:

Code: Select all

[mention]@Claire[/mention]
@Claire

---

Code: Select all

There is hash tags #bbcode
There is hash tags #bbcode

---
User avatar
Vela Nanashi
Admin
Senior
Posts: 172
Joined: Mon Feb 24, 2025 8:28 am
Reputation: 32

Re: BBCode Guide

Post by Vela Nanashi »

Tags we made for the forum:

---

We have a nopreview tag that Claire describes here: In the Topic Preview thread. Its only purpose is to tell the Topic Preview extension what NOT to include in the preview.

---

I added a tag that I will be using for all my posts that have an index, and more importantly for single posts that contain many sub chapters or sections:

Code: Select all

The section tag:[section=tsttop][/section] this to the left is a hidden section.

[url=#chapter1]The first chapter[/url] this url is safe to use if you are in the same or very close post.
[url=https://ravishmentacademy.com/viewtopic.php?p=512#chapter2]The second chapter[/url] this url is safe to use between pages, and is what the non hidden section tags will be links to, that you can right click, select copy url/link, then paste into the url tag.

adding lots of empty lines here to show it better

























[section=chapter1]The first Chapter[/section]

[url=#chapter2]to chapter 2[/url] [url=#tsttop]back to top of the section tag information[/url]












[section=chapter2]The Second Chapter[/section]

[url=#chapter1]Back to chapter 1[/url] [url=#tsttop]back to top of the section tag information[/url]
The section tag: this to the left is a hidden section.

The first chapter this url is safe to use if you are in the same or very close post.
The second chapter this url is safe to use between pages, and is what the non hidden section tags will be links to, that you can right click, select copy url/link, then paste into the url tag.

adding lots of empty lines here to show it better

























The first Chapter

to chapter 2 back to top of the section tag information












The Second Chapter

Back to chapter 1 back to top of the section tag information

---

Code: Select all

The cb tag:
[cb=Dances with dragons][align=justify]Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below.[/align][/cb]
Dances with dragons
Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below. Justified text needs a bit more text to let you see what it does so I have to babble a bit more so you can see its effect this will look stupid in the code tag but hopefully will make more sense when you see it in the actual block below.
Post Reply