Silgrad Tower from the Ashes

Full Version: [FORUM] UBBCode Specific to Silgrad
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This post contains information regarding Silgrad Tower's specialized UBBCode which our members might like to know.


[title]Centering[/title]


To clear up something about the tags that come predefined. To align something to the left and right, you need to write ALIGN=RIGHT or ALIGN=LEFT or ALIGN=JUSTIFY, but if you want to center a paragraph on the screen, you can just write CENTER instead of ALIGN=CENTER, though both functions exactly the same.


[title]Special Character Codes[/title]


Not really related to UBBCode, but did you know you can add html character codes in your forum posts, and they become translated automatically?

Watch what happens when I write "& # 1 4 9 ;" without spaces: ?
And the long - sign "& # 1 5 1 ;" without spaces: ?

There are many other characters in the extended ASCII set you can do this with as well.
? Here is a complete list.


[title]TITLE[/title]

By using the TITLE tag you can create a title which resembles the miniTitle style of our website, and it can be a useful way of partitioning a long post into sections.


[title]1ST[/title]


[1ST]t[/1ST]he first character of a paragraph becomes replaced by a left-aligned image and given generous whitespace to the right and bottom. It's not case sensitive, although both case produce the same image.


[title]STRIKE[/title]


The [STRIKE]STRIKE[/STRIKE] tag can give a text the strikethrough effect, if you want to for example strike something you wrote before that should be disregarded.


[title]CODE[/title]


Code:
The code tag produces
     a fixed-width font with preser-
ved blankspaces, and automa-

tically gives your text numbe-
     red lines. It can be espe-
cially useful for writing scripts.

[title]TT[/title]


[TT]TeleType is a normal html tag which for
most intents and purposes are identical to CODE,
except the forum doesn't generate line numbers for it.
It could be useful in certain situations...
writing poetry perhaps?[/TT]

[TT] colored[/TT]


[TT] verdana colored dark-grey. Not using fixed-width font is likely to screw up the indentation, though.[/TT]


[title]BLOCKQUOTE[/title]


Normal text example #1

[BLOCKQUOTE]Blockquote indents all lines of a paragraph the same.
It's good if you for example want to write something out of context in the middle of a text, I think.[/BLOCKQUOTE]

Normal text example #2


[title]BIG and SMALL[/title]


If you write [SMALL]the small tag you can now create text that is one font size smaller[/SMALL] than normal while if you use [BIG]the big tag the text is one font size larger[/BIG] than normal. The great thing about using this instead of the SIZE tag is that it's not dependant on what font-size was originally specified. If someone reads the forum one size larger than normal, because of poor sight or anything, and you hardcode a SIZE which to you seems larger, that reader won't see it stand out... even more useful if a forum uses different, user-customizeable, ways of displaying text.

So you can just write [BIG]big[/BIG] or [SMALL]small[/SMALL] tag and it works everywhere. It can of course be supplemented by other tags for font, boldness, italicization etc. if you want to customize more. [BIG]Maroon big[/BIG] for instance.


[title]SUP[/title]


Sup makes the text smaller, and aligned to the top of the row, like how you'd write cubic metres: m3.


[title]HR[/title]

This produces a horistonal rule, where the information between the tags controls its color. Any color the reader's browser can understand works, both text (black) and html code (#000000). The following is royalblue color for example.

royalblue[/hr]