How to style a post using tags

Introduction

Tags are similar in style to HTML, tags are enclosed in square brackets [ and ] rather than < and > and it offers greater control over what and how something is displayed. Adding tags to your posts is made much easier through a clickable interface above the message area on the posting form. Even with this you may find the following guide useful.


Text Formatting

How to create header, bold, italic, underlined text and strikethrough text.
Tags allow you to quickly change the basic style of your text. This is achieved in the following ways:

Header Text

To make a header text enclose it in [h][/h].

ex. [h]This is a Title![/h]

will become

This is a Title!


Bold Text

To make a piece of text bold enclose it in [b][/b].

ex. [b]Hello[/b]

will become Hello

Underline Text

For underlining use [u][/u], for example:

[u]Good Morning[/u]

becomes Good Morning

Italic Text

To italicise text use [i][/i].

ex. This is [i]Great![/i]

would give This is Great!

Strikthrough Text

To strikethrough text use [s][/s], e.g.

You were [s]wrong![/s]

would give You were wrong!

Can I combine formatting tags?

Yes, of course you can, for example to get someones attention you may write:

[h][b]LOOK AT ME![/b][/h]

this would output

LOOK AT ME!

We don’t recommend you output lots of text that looks like this though! Remember it is up to you, the poster, to ensure tags are closed correctly. For example the following is incorrect: [b][u]This is wrong[/b][/u]


Quoting text in replies

When you utilise the Quote function to reply to a post on the board you should notice that the post text is added to the message window enclosed in a [quote][/quote] block. This method allows you to quote with a reference to a person or whatever else you choose to put! For example to quote a piece of text Mr. Doe wrote you would enter:

[quote]The text Mr. Doe wrote would go here[/quote]

The resulting output will automatically add "@Mr. Doe wrote :" before the actual text:

@Mr. Doe wrote :

The text Mr. Doe wrote would go here


Outputting code

If you want to output a piece of code or in fact anything that requires a fixed width, e.g. Courier type font you should enclose the text in [code][/code] tags, ex:

[code]
	public class MyCass{
		private DBConnection db = null;
		public MyClass(DBConnection db){
			this.db = db;
		};
	}
[/code]
	
would give:

	public class MyCass{
		private DBConnection db = null;
		public MyClass(DBConnection db){
			this.db = db;
		};
	}


Creating Links

Use a composition of [link] and [url] tags.

[link][url]http://www.google.com[/url]My Search Engine[/link]

This would generate the following link My Search Engine that points to google.com. Please notice that the link opens in a new window.


Embedding Fund Detail into a post

Fund detail page can be placed in any part of a post by using the [fund][/fund] tag.

ex: [fund]131[/fund]

131 is the fund identificator and must be specified without any leading spaces.