BBCode Guide |
---|
Introduction What is BBCode? Text Formatting How to create bold, italic and underlined text How to change the text colour or size Can I combine formatting tags? Quoting and outputting fixed-width text Quoting text in replies Outputting code or fixed width data Generating lists Creating an Un-ordered list Creating Links Linking to another site Showing images in reviews Adding an image to a review |
Introduction |
What is BBCode? BBCode is a special implementation of HTML. Whether you can actually use BBCode in your reviews is determined by the administrator. BBCode itself is similar in style to HTML: tags are enclosed in square braces [ and ] rather than < and > and it offers greater control over what and how something is displayed. Even with this you may find the following guide useful. Back to top |
Text Formatting |
How to create bold, italic and underlined text BBCode includes tags to allow you to quickly change the basic style of your text. This is achieved in the following ways:
Back to top |
![]() |
How to change the text colour or size To alter the color or size of your text the following tags can be used. Keep in mind that how the output appears will depend on the viewers browser and system:
Back to top |
![]() |
Can I combine formatting tags? Yes, of course you can; for example to get someones attention you may write: [size="18"][color="red"][b]BIG RED LETTERS![/b][/color][/size] this would output BIG RED LETTERS ! We don't recommend you output lots of text that looks like this, though! Remember that it is up to you, the reviewer, to ensure that tags are closed correctly. For example, the following is incorrect: [b][u]This is wrong[/b][/u] Back to top |
Quoting and outputting fixed-width text | |
Quoting text in reviews
Back to top |
|
![]() |
|
Outputting code or fixed width data If you want to output a piece of code, you should enclose the text in [code][/code] tags, eg. [code]echo "This is some code";[/code] Back to top |
Generating lists |
Creating an Un-ordered list An unordered list ouputs each item in your list sequentially one after the other indenting each with a bullet character. To create an unordered list you use [list][/list] and define each item within the list using [*]. For example, to list your favorite colors you could use: [list] [*]Red [*]Blue [*]Yellow [/list] This would generate the following list:
Back to top |
Creating Links |
Linking to another site BBCode supports a creating URIs, Uniform Resource Indicators better known as URLs.
Back to top |
Showing images in posts |
Adding an image to a review BBCode incorporates a tag for including images in your reviews. Two very important things to remember when using this tag are: many users do not appreciate lots of images being shown in reviews and second, the image you display must already be available on the Internet (it cannot exist only on your computer, for example, unless you run a webserver!). There is currently no way of storing images locally with Five Star Review Script. To display an image, you must surround the URL pointing to the image with [img][/img] tags. For example: [img]http://www.review-script.com/images/80x60.gif[/img] As noted in the URL section above you can wrap an image in a [url][/url] tag if you wish, eg. [url="http://www.review-script.com/"][img]http://www.review-script.com/images/80x60.gif[/img][/url] would generate: ![]() Back to top |