BBCodes for size and font type

Post/Author/DateTimePost
#1

Astromath

Apr 27, 2011 23:11:33
I've sort've been playing around with the bbcode for this board.  I wanted to share my discoveries.

First, you can change the size of the text with [size={size text}]{text}[/size]
where size text equals small, medium, large.  The other 4 sizes (xx-small, x-small, x-large, xx-large) can only be formated though HTML.   The default size is small.
[size=small]Small[/size]<br />[size=medium]Medium[/size]<br />[size=large]Large[/size]

produces

Small
Medium
Large

Second you can change the font face/type with the following code: [font={type}]{text}[/font]

Since I've only tested it on my computer, I know that any font I have loaded can be displayed.  However, you must type the font as it with the spaces intact.  In other words, Times New Roman must be entered as "times new roman" NOT "timesnewroman".  The default font is Arial.
[font=times new roman]Time New Roman[/font]<br />[font=courier new]Courier New[/font]<br />[font=wingdings]Wingdings[/font]<br />[font=iokharic]Iokharic[/font]

produces

Times New Roman
Courier New
Wingdings
Iokharic

The last font was a test to see if you have the Iokharic font installed.  If you do, you should see the symbols.  If not, go get them installed.

This is not a primer for BBCode for this site, nor am I an expert.  This is what I have found through experimentation.  I wish this board would have an FAQ for BBCode like the old board did.
#2

jetshield

Apr 27, 2011 23:58:44
Why use BBCode when HTML erdana,sans-serif">is an option?

#3

pluisjen

Apr 28, 2011 4:03:08
I was wondering the same thing.
#4

Astromath

Apr 28, 2011 8:25:37
Why use BBCode when HTML erdana,sans-serif">is an option?




Some people out there just don't know how to use html whereas they can learn to use a simpler version such as bbcode.  Even I don't fully know how to use html.
#5

zombie_babies

Apr 28, 2011 9:49:17
The previous incarnation of the boards used BBCode so a lot of members are vastly more familiar with that than html.  Most people, I'd imagine, aren't all that familiar with either.  In other words, just cuz it works for you don't mean it'll work for everyone.  Thanks for taking the time to read this and become an ever-so-slighltly more considerate human being. 
#6

jetshield

Apr 28, 2011 11:23:30
Heh. I was teasing. I actually use BBCode more often than HTML here. Not that I use either very often. There's just not much reason to.
#7

homicidal_squirrel

Apr 28, 2011 11:41:06
Pffft... you all suck. I don't use any code. Hell, I don't even use a computer. I just will stuff to appear on these boards. 
#8

zombie_babies

Apr 28, 2011 11:51:35
Oh yeah?  Then will us out of it.
#9

EscherEnigma

Apr 28, 2011 12:31:01
Thanks for taking the time to read this and become an ever-so-slighltly more considerate human being. 


It was a trap!

#10

zombie_babies

Apr 28, 2011 12:33:50
What? You do not like to be next to my filthy thoughts?



I doubt your power.

It was a trap!



Muaahhahaa!
#11

pluisjen

Apr 28, 2011 14:38:57
I would think that the people who don't know html would use the built in wysiwyg editor (the top bar with all the options in it) instead of resorting to BBcode.
#12

zombie_babies

Apr 28, 2011 15:13:54
There's stuff that bar can't do.  Sblock is the prime example.  But yeah, it's a damned helpful thing ... when it doesn't eat your posts.    Seriously, spell check caused posts to poof for a while.  Ever since they linked that I have not had a SC option.  Heh.
#13

zombie_babies

Apr 28, 2011 15:22:10
Actually I don't.  Once they determined SC may be at fault, they pulled it and I don't have it.  Some people claim to but I know for certain I don't.  Others don't either.  It's sad.  I liked it when it was there.  Er, until it started eating my posts.
#14

zombie_babies

Apr 28, 2011 15:30:59
Not if it ate your posts!  Or would it ...
#15

Astromath

Apr 28, 2011 17:17:09
I would think that the people who don't know html would use the built in wysiwyg editor (the top bar with all the options in it) instead of resorting to BBcode.



There's two things they have yet to put in the editor.  The ability to chose fonts and font sizes.
#16

Jharii

Apr 28, 2011 17:28:13
Did you need more sizes than what the headings already offer, because there are 6 sizes already available.

And there is a lot more things missing than font type.
#17

EscherEnigma

Apr 28, 2011 18:44:04
I have spell check, it works, and it doesn't eat my posts.  It's the little "ABC" above a check mark to the right of the "insert movie" and to the left of "emoticons" buttons.
#18

Mad_Jack

Apr 28, 2011 18:49:03

 What's the code for the strikethrough text? I have no idea how to do it without using the button for it...



#19

Astromath

Apr 28, 2011 21:15:11

Here's some of the basics if you want to do it yourself instead of using the editor:

Bold: [b]{text}[/b]


Italic: [i]{text}[/i]


Underline: [u]{text}[/u]


Strikethrough: [s]{text}[/s]


Font type: [font={type}]{text}[/font]


Font size: [size={small/medium/large}]{text}[/size] (choose one of the three sizes listed)


Font color: [color={colorname}]{text}[/color] (colorname must be one that is recognized by bbcode.&nbsp; See this post for color names:&nbsp; <a href="/go/thread/view/75894/19960582/The_Haven_Guide" rel="nofollow"><a href="http://community.wizards.com/go/thread/view/75894/19960582/The_Haven_Guide" title="http://community.wizards.com/go/thread/view/75894/19960582/The_Haven_Guide" target="_blank" rel="nofollow">community.wizards.com/go/thread/view/758...</a></a>)<br />or<br />[color=#******]{text}[/color] (replace the six "*"s with hexadecimal numbers from 00 to FF)


Left Aligned: 

[left]{text}[/left]


Center Aligned:

[center]{text}[/center]


Right Aligned:

[right]{text}[/right]


BTW:  the last three codes you must hardcode into your posts.  The justification buttons on the editor aligns the entire post.

#20

pluisjen

Apr 29, 2011 1:21:42
Honestly... the last thing I want is everybody to change their fonts and sizes and text color. It's so bloody annoying and we're not 12-year olds.
#21

zammm

Apr 29, 2011 2:46:22
Font size can also use "1", "2", "3", all the way up to "7". The standard size is "2".
#22

zombie_babies

Apr 29, 2011 8:48:17
I have spell check, it works, and it doesn't eat my posts.  It's the little "ABC" above a check mark to the right of the "insert movie" and to the left of "emoticons" buttons.



Some people do and some don't.  I honest to god don't have that button.  Used to, but no longer.  Maybe it's a browser related thing?  I dunno.
#23

Astromath

Apr 29, 2011 12:19:32
Font size can also use "1", "2", "3", all the way up to "7". The standard size is "2".



Actually, numbers don't work on this site.  I've already tried.  Other sites can use numbers 1-7, still other sites use the actual font size like in a word processor, and even others use a percent.  It's just this site that uses words.