BBcode legend discussion

Be sure to read and follow the guidelines for our forums.

Jul 19, 2021 2:41 pm
A BBcode legend that is. I'm missing some of those sweet formatting options we have and I can guess that others might want to find them in one place.

So, a proposition; let's have a pinned post with all the available tags we now have and update it as stuff gets added. Yay? Nay?

EDIT changed thread title to something more appropriate.
Last edited December 19, 2021 6:01 pm

Len

Jul 19, 2021 3:05 pm
Yep, we can start working on this. I would say that the more fancy stuff might require a private game forum for more of a showcase gallery of cool formatting tricks.
Jul 19, 2021 3:09 pm
This would be awesome!
Jul 19, 2021 3:17 pm
Antiproduct says:
A BBcode legend that is. I'm missing some of those sweet formatting options we have and I can guess that others might want to find them in one place.

So, a proposition; let's have a pinned post with all the available tags we now have and update it as stuff gets added. Yay? Nay?
Supported tags:

bbold
iitalic
uunderline
sstrikethrough
linebreakhorizontal rule
imgimage URL
urlnofollow URL
sizefont size with attribute as percent
oocout of character
spoilercollapsible section
noteprivate note
youtubeembedded youtube video
spotifyembedded spotify player (might be removed - I think the country blocking stopped it being used)
mapas img, but linked to source and supporting newlines (for OtFBM)
tablewith optional attributes center, right and stats
quotequote a section of text
code
Allows the use of [u]tags[/u] in text
Last edited July 27, 2021 2:31 pm
Jul 19, 2021 3:27 pm
lenpelletier says:
Yep, we can start working on this. I would say that the more fancy stuff might require a private game forum for more of a showcase gallery of cool formatting tricks.
Yeah, that's what I had in mind, like the inline pictures and text alignment.
Last edited July 19, 2021 3:31 pm
Jul 29, 2021 9:55 am
Definitely 'Yay' on the sticky. Would be most useful.

missing from the list above is
color

And an associated trick of setting the font face:

[ color=";font-family:monospace"]
The semicolon (;) is needed to separate the "font-family:..." part from the color code and inject it into the page's styles.
If you actually want to set the color as well, you can add it before the semicolon:


[ color=goldenrod;"font-family:monospace"]

Mono text in gold
Jul 29, 2021 10:06 am
Is there a list of what colors and fonts work? I'm sure yellow works, but I never would've thought to try goldenrod, which is a far easier color to read.
Jul 29, 2021 10:20 am
I assume all the standard web colors work, as do #hex codes (see HTML Color Codes and Color Names). Be wary of going too exotic, some colors are hard for some people to read, don't assume your eyes work like others' eyes. :)

Likewise with the fonts, w3schools has a list of 'safe' fonts that might be useful.

The ;-hack means styling the browser supports should work, I only use it for fonts.
Jul 29, 2021 10:35 am
One thing to be wary of with colors is also that some people use dark mode and some use light mode, so try to pick a color that should be legible on both white and dark grey backgrounds
Jul 29, 2021 7:34 pm
bowlofspinach says:
One thing to be wary of with colors is also that some people use dark mode and some use light mode, so try to pick a color that should be legible on both white and dark grey backgrounds
and some people are colour blind and will have a harder time picking some of them up.
Jul 29, 2021 7:46 pm
Quote:
and some people are colour blind and will have a harder time picking some of them up.
That is also a great thing to keep in mind!
Jul 30, 2021 2:32 am
** Reads title of thread **

But I'm already here...
Jul 30, 2021 4:03 am
bowlofspinach says:
Quote:
and some people are colour blind and will have a harder time picking some of them up.
That is also a great thing to keep in mind!
Best way to know if anyone has a problem with the colors you picked... Ask. :)
On the flip-side: If you have trouble with the colors someone is using... Say so.
Sep 4, 2021 6:18 pm
Is there a way of centering text and/or images? It’d be great if we had that option. Just wondering
Sep 4, 2021 6:23 pm

Yep, that can be done with a little hackery.
[ color=";display:block;text-align:center;]
...and then whatever you want centered here
remove the spaces after the opening brackets ([ ), they are there to allow the site to display the format codes
[ /color]
Sep 4, 2021 6:28 pm
vagueGM says:

Yep, that can be done with a little hackery.
[ color=";display:block;text-align:center;]
...and then whatever you want centered here
remove the spaces after the opening brackets ([ ), they are there to allow the site to display the format codes
[ /color]
Awesome, thanks!
Sep 4, 2021 11:45 pm
kalajel says:
** Reads title of thread **

But I'm already here...
😂
Sep 29, 2021 4:47 pm
CodeUse

[b][/b]
Bold

[i][/i]
Italics

[u][/u]
Underline

[s][/s]
Strikethrough

[linebreak]
Adds line through entire post.

[color="CSS color"][/color]
Makes text that color

[color=";font-family:Name"]
The semicolon (;) is needed to separate the "font-family:..." part from the color code and inject it into the page's styles. If you actually want to set the color as well, you can add it before the semicolon:

[img]Image Link Here[/img]
Embeds image in post.

[url=Link]text to link[/url]
links to website: Fourms

[quote="Source"][/quote]
To quote what somebody said.

[note="USERNAME"][/note]
To hide something from everyone but people with usernames listed. (Doesn't hide from GM, or hide the fact that it exists)

[private="USERNAMES"][private]
Like note but Instead Entirely Invisible to others, they won't even know it existed

[ooc][/ooc]
Out of character

[spoiler="Name Of Spoiler"]Contents[/spoiler]
hides contents in collapsible box

[npc="Adam"]https://gamersplane.com/ucp/avatars/5988.png[/npc]
Alow you to post as a character without a character sheet.

@mentions
gets somebodies attention.

[poll="whatever we're voting about"]options each one line down from each other[/poll]
Way to conduct a vote in thread.

[size="%Increase/Decrease"][/size]
Changes The Size of Text

[youtube][/youtube]
Used to Embed Youtube Video

[map][/map]
as img, but linked to source and supporting newlines (for OtFBM)

[table][/table]
Used to line things up vertically, with straight up and down lines as seperators (like this table)
[ +- ] Table Prefix's
[ +- ] Fonts
[ +- ] Typing Fonts
[ +- ] Links to other CSS stuff

Character Sheet Only Tags
CodeUse

[abilities="Ability Type"]
# Ability name
Description
[/abilities]

Abilities renders as any of the usual blocks in non custom character sheets example.
https://i.imgur.com/6I6l1LT.png
[snippet="Group of snippets"]
# Name
Contents
# Name
cont.[/snippet]

[npcs="All the NPC's]
Joe|Joe's Image Link
Adam|https://gamersplane.com/ucp/avatars/5988.png[/npcs]


[2column]
[col]
stuff in the right half of your character sheet
[/col]
[col]
stuff in the left half of your character sheet
[/col]
[/2column]
Last edited November 16, 2021 1:56 pm
Sep 29, 2021 6:11 pm
That looks great! Thanks for putting that together for us, I think it's really helpful.

A couple suggestions:

- The explanation for font is slightly unclear, and example of using font and color at the same time could be helpful.

- I see you used the [size] code in your post, may as well put that on the list, too
Sep 29, 2021 6:19 pm
The 'font' stuff is not just 'font stuff' it is any CSS. Examples (links to?) would be useful.
Sep 29, 2021 6:34 pm
vagueGM says:
The 'font' stuff is not just 'font stuff' it is any CSS. Examples (links to?) would be useful.
Like links to available fonts or colors?
Sep 29, 2021 7:02 pm
AgencyFB font

OstrichSans font

Neuropol font

Kelt font

Dumbledor font

Aniron font

OpenSans_Regular font

Cursive Font
Sep 29, 2021 7:06 pm
skeptical_stun says:
vagueGM says:
The 'font' stuff is not just 'font stuff' it is any CSS. Examples (links to?) would be useful.
Like links to available fonts or colors?
I meant, like links to 'examples of useful CSS attributes', some are mentioned here, in this thread, some in others.

But good, safe fonts and colors might be useful as well. We shouldn't assume others see things the way we do, fonts are tricky on the web, and possibly best kept as simple as possible.

It is more important to convey information clearly than to make it look pretty.
Sep 29, 2021 8:38 pm
I read somewhere that it's more based on what fonts the individual user has installed rather than what BBCode can support. I wonder if there's a standard list for the major browsers. I can definitely see the attraction to having more colorful fonts to give certain NPCs a bit more flavor
Sep 29, 2021 8:46 pm
Jabes’s list are the ones built into the site. They’ll be fine.
Sep 29, 2021 8:57 pm
Adam says:
Jabes’s list are the ones built into the site. They’ll be fine.
And who's idea was it to build Comic Sans into the site? *picks up pitchfork* :P
Last edited September 29, 2021 8:57 pm
Sep 29, 2021 9:03 pm
Okay - that's an exception. Cursive is a browser-specific one, each device might render it differently. If you get Comic Sans then that's on you for using a PC.
Sep 29, 2021 9:09 pm
I see cursive, but then I'm on Chrome on mobile. I'm trying to think of what other fonts folks could want....maybe a robotic language or something?
Sep 29, 2021 9:12 pm
Quote:
Okay - that's an exception. Cursive is a browser-specific one, each device might render it differently. If you get Comic Sans then that's on you for using a PC.
*shakingly turns pitchfork to face myself*
Oct 4, 2021 4:27 pm
GMs - Please use this tag only for evil

The existence of a note tips players off to the fact you're being sneaky.

Create a note, but change the opening and closing tags to the word "private" instead of note.

https://i.imgur.com/R074fAy.png

The DM will see what they've done, but it'll appear like a normal block of text to the relevant players. No note tags, or private tags or anything.

I've used this to give different players different maps, with one pair of players having extra text too.

https://i.imgur.com/g5CR0fS.jpg

I hope GMs running Halloween games have a lot of fun with this. 😈
Last edited October 4, 2021 4:31 pm
Oct 4, 2021 5:42 pm
Random Question about this what happens if the post only has the Private in it?
Oct 4, 2021 5:42 pm
Last edited October 4, 2021 6:25 pm
Oct 4, 2021 6:23 pm
KoldikSteelskin says:
[private="KoldikSteelskin"]also is it enabled yet? I guess not :([private]
End it with /private
You forgot the /
Dec 19, 2021 4:42 pm
The guide to gamer's plan BBC code is exactly what I've been looking for. Thank you!
Dec 19, 2021 4:42 pm
Absolutely, a stellar job putting it together!
Dec 19, 2021 4:59 pm
Amazing work Adam, though we may have to take your developer badge away... developers don't traditionally write documentation. :)
Dec 19, 2021 5:39 pm
Nice, we finally have some documentation.
Dec 19, 2021 5:48 pm
Great work on the BBCode documentation, @Adam! May I suggest linking to it from @Naatkinson's New GP Member Guide &/or one of @Qralloq's videos?
Dec 19, 2021 5:50 pm
And of course, we should pin it.
Dec 19, 2021 5:59 pm
vagueGM says:
And of course, we should pin it.
https://i.imgur.com/3E3P9xx.jpg
Dec 19, 2021 10:59 pm
Very nice guide!
Dec 20, 2021 12:59 am
+1 to giving Adam a cookie for this. Great stuff, man!
Dec 20, 2021 1:42 pm
very useful tips for formatting here, thank you very much!
Dec 20, 2021 1:53 pm
Thank a lot Adam !
Aug 26, 2022 3:45 pm
Is there a way to set the number of checkboxes to a variable?

something like:

glamour ([_glam=0])
[_=0/[_$=glam]]
Feb 28, 2023 3:54 am
Is there a way to change the background color of a character sheet? Something related to the style tag maybe?
Feb 28, 2023 11:49 am
Knighthawke says:
Is there a way to change the background color of a character sheet? Something related to the style tag maybe?
[ f=display:block position:relative padding-bottom:70.5% max-width:960px margin-left:auto margin-right:auto][ f=position:absolute width:100% height:100% background-size:contain background-repeat:no-repeat background-color:red max-width:960px]

change "background-color:" with whatever color you'd like.
Feb 28, 2023 2:13 pm
nezzeraj says:
Knighthawke says:
Is there a way to change the background color of a character sheet? Something related to the style tag maybe?
[ f=display:block position:relative padding-bottom:70.5% max-width:960px margin-left:auto margin-right:auto][ f=position:absolute width:100% height:100% background-size:contain background-repeat:no-repeat background-color:red max-width:960px]

change "background-color:" with whatever color you'd like.
Thank you!
Where do the closing /f entries need to go? If I place them immediately after I just get a block of the background color. If I place them at the end, the sheet doesn't seem to scroll if it's copied to a post...
Feb 28, 2023 2:43 pm
It should go at the end of the sheet. I'm not sure what you mean about scrolling.
Feb 28, 2023 2:59 pm
Testing,
Testing,
One,
Two,
Three ...

Is this what you are trying to do?

If so, here the code:
[ f=display:block width:100% background-color:red]Testing,
Testing,
One,
Two,
Three ...[/f]
Last edited February 28, 2023 2:59 pm
Feb 28, 2023 5:34 pm
nezzeraj says:
It should go at the end of the sheet. I'm not sure what you mean about scrolling.
Chalrytharendir says:

If so, here the code:
[ f=display:block width:100% background-color:red]Testing,
Testing,
One,
Two,
Three ...[/f]
Apparently this was all I needed for what I wanted (adding a background color to the Star Trek Adventures Sheet) :) Thank you both!
Jul 29, 2023 3:14 am
Super handy guide!

Does anyone have the code for the super fancy 5e character sheet shown in the guide? It looks amazingly handy! Just figured I'd ask before I take the time to rebuild it from scratch.
https://i.imgur.com/bmV2SQS.png
Last edited July 29, 2023 3:14 am
Jul 29, 2023 3:55 am
@Carcabob, it's these ones, I believe. They look slightly different in post, but should look as on the screenshot when pasted in the sheet. (And there is a link to a general purpose 5e sheet in the first post in the linked thread.)
Last edited July 29, 2023 3:57 am
Jul 29, 2023 4:44 am
Great, thanks!
Apr 12, 2024 5:51 pm
I'm trying to build a character sheet that isn't in the system. It's a fairly straightforward sheet, but [ center] doesn't seem to work within the sheet. Neither does Adam's method of floating images and even the style code for the logo doesn't show it when I hit preview. In fact, no codes seem to work except for [ charsheet].
Last edited April 12, 2024 5:57 pm
Apr 12, 2024 6:19 pm
Can you maybe post the code here (ideally inside a charsheet tag) so we can have a look at it?
Apr 12, 2024 7:35 pm
I've only really just started, but here's what I have thus far.
[ +- ] V&V 2.1
Ideally, it should look something similar to this.
[ +- ] Sheet
Last edited April 12, 2024 7:38 pm
Apr 12, 2024 7:54 pm
It is
[f=centre]CHARACTER RECORD SHEET[/f]
not
[centre]CHARACTER RECORD SHEET[/center]
Apr 12, 2024 9:11 pm
Update: Obviously, some things have spontaneously decided to work, but I still may have some questions.
Apr 12, 2024 9:23 pm
vagueGM says:
It is
[f=centre]CHARACTER RECORD SHEET[/f]
not
[centre]CHARACTER RECORD SHEET[/center]
It's those British spellings that get ya every time...
Apr 12, 2024 10:02 pm
Is there a way to set a column width? I tried making two columns, but it messes up the formatting because one column is too large.
Apr 12, 2024 10:20 pm
Not having a sample of what you are trying to do, we can not provide direct feedback.

But remember that the columns collapse to a single column on phones or small screens, so if your content does not fit in a column it will be a problem for other people on different devices than yours.

Physical sheets aim to use a little paper as possible. Those old layouts are often ill-suited to the digital world where paper is not a concern and people can scroll forever. Maybe try organise your information in a way that works well here rather than try to emulate the layout of that sheet for nostalgia's sake?
Apr 12, 2024 10:56 pm
Use column for content you want kept in columns. The default is 2 columns but you can easily expand it to 3
A
B
A
B
C
Apr 15, 2024 3:41 pm
witchdoctor says:
vagueGM says:
It is
[f=centre]CHARACTER RECORD SHEET[/f]
not
[centre]CHARACTER RECORD SHEET[/center]
It's those British spellings that get ya every time...
We support both spellings.

[f=centre]Rule, Britannia! Britannia, rule the waves.[/f]
[f=center]O! Say can you see by the dawn's early light[/f]


Rule, Britannia! Britannia, rule the waves.
O! Say can you see by the dawn's early light
Apr 15, 2024 10:33 pm
But f them all! :)
Apr 16, 2024 1:29 am
vagueGM says:
But f them all! :)
I beg your pardon? https://media1.giphy.com/media/d7vbmoGrHfmuc/giphy.gif?cid=6c09b952lzrtqedrpszoe2fezc94ti9os2fz2xmus7o7r02g&ep=v1_internal_gif_by_id&rid=giphy.gif&ct=g

(yes yes, I know it's a joke)

You do not have permission to post in this thread.