Legion World Legion World
my profile | directory login | search | faq | calendar | games | clips | forum home

» Legion World » UBB Code™

What is UBBCode™?

UBBCode™ is a variation on the HTML tags you may already be familiar with. Basically, it allows you to add functionality or style to your message that would normally require HTML. You can use UBBCode™ even if HTML is not enabled for the forum you are using. You may want to use UBBCode™ as opposed to HTML, even if HTML is enabled for your forum, because there is less coding required and it is safer to use (incorrect coding syntax will not lead to as many problems).

All current UBB Code options are listed below.
URL Hyperlinking
If UBBCode™ is enabled in a forum, you do not need to use the [URL] code to create a hyperlink. Simply type the complete URL in either of the following manners and the hyperlink will be created automatically:
  • Automatic hyperlinking (no UBBCode™ required). Simply type the URL, as in http://www.infopop.com/ or www.infopop.com

  • Use the [URL] code, in either of the following manners:
    [URL=http://www.infopop.com]infopop.com[/URL]
    [URL]http://www.infopop.com[/URL]
For automatic hyperlinking, notice that you can either use the complete http:// address or shorten it to the www domain. If the site domain does not begin with www, you must use the complete http:// address. Also, you may use https:// and ftp:// URL prefixes in auto-link mode (when UBBCode™ is on).

When using the [URL] UBBCode™, a hyperlink to the URL will automatically be created. The link will open a new browser window when the user clicks on it. Note that the "http://" part of the URL is completely optional. Also note that you should NOT use quotation marks inside the [URL] tag. Attempting to do so may cause an error message.
Email Linking
To add a hyperlinked email address within your message, just encase the email address as shown in the following example.
[EMAIL]info@test5324687.com[/EMAIL]
Bold, Italics, Underline, Strike, Marquee, & Blink
You can make stylized text by encasing the applicable sections of your text with either the [I] [/I] or [B] [/B] or [U] [/U] or [STRIKE] [/STRIKE] or [MARQUEE] [/MARQUEE] or [BLINK] [/BLINK] tags.
Hello, [B]Rokk[/B]. You are bold.
Hello, [I]Imra[/I]. You are italic.
Hello, [U]Garth[/U]. You are underlined.
Hello, [STRIKE]Reep[/STRIKE]. You are struck.
Hello, [MARQUEE]Gim[/MARQUEE]. You are marqueed.
Hello, [I]Lyle[/I]. You are blinking.
Lists
You can make bulleted lists or ordered lists (by number or letter).

Unordered, bulleted list:
[LIST]
[*] This is the first bulleted item.
[*] This is the second bulleted item.
[/LIST]
This produces:
  • This is the first bulleted item.
  • This is the second bulleted item.
Note that you must include a closing [/LIST] when you end each list.

Adding an A or a 1 to a [LIST] tag will create an ordered list. Typing [LIST=A] will produce a list from A to Z. Using [LIST=1] will produce numbered lists.

Here's an example:
[LIST=A]
[*]This is the first ordered item.
[*]This is the second ordered item.
[/LIST]
This produces:
  1. This is the first ordered item.
  2. This is the second ordered item.
Displaying Images
To add a graphic within your message, just enclose the URL to the image as shown in the following example.
[IMG]http://www.infopop.com/artwork/footer_logotype.gif[/IMG]
In the example above, the UBBCode™ automatically makes the image visible in your message. Note: the "http://" part of the URL is REQUIRED for the [IMG] code. If the image is too large to fit within the table of the message, you may instead use the [THUMB] code. This works exactly like the [IMG] code but makes your image appear no more than 200 pixels wide. People can then click upon the thumbnailed image to see it at its original size.

Additionally, this forum allows for its users to use the [THUMB3] and [THUMB4] codes. Like the [THUMB] code, they allow the image to appear within the confines of the table but show the image at 300 pixels wide and 400 pixels wide, respectively.
Quoting Other Messages
To reference something specific that someone has posted, just copy and paste the applicable verbiage and enclose it as shown below:
[QUOTE]Ask not what your country can do for you...
ask what you can do for your country.[/QUOTE]
In the example above, the UBBCode™ automatically blockquotes the text you reference.
Code Tag
Like the Quote tag, the Code tag displays a blockquoted portion of text. However, the Code tag will neutralize any HTML in the text, and display the text with white space preserved. This is useful for displaying programming code, for instance.
[CODE]
#!/usr/bin/perl

use CGI;
my $q = new CGI;
print $q->header(-type => "text/html");
print "<html><body>Hello, Legion World!</body></html>";
exit;
[/CODE]
Usage Note
Do not use both HTML and UBBCode™ to do the same function - the results may not be what you were expecting. Also note that the UBBCode™ is not case-sensitive (thus, you could use [url] or [URL]).

Incorrect UBBCode™ use:
  • [URL] www.infopop.com [/URL]: Don't put spaces between the bracketed code and the text you are applying the code to.
  • [EMAIL]info@test9342J.com[EMAIL]: The end brackets must include a forward slash ([/EMAIL])
     

Contact Us | Legion World

Legion of Super-Heroes & all related proper names & images are ™ & © material of DC Comics, Inc. & are used herein without its permission.
This site is intended solely to celebrate & publicize these characters & their creators.
No commercial benefit, nor any use beyond the “fair use” review & commentary provisions of United States copyright law, is either intended or implied.
Posts made on this message board must not be reproduced without the author's consent.

Powered by ubbcentral.com
UBB.classic™ 6.7.2

ShanghallaThe Legion World Star