[Home] [Downloads] [Search] [Help/forum]

Forum codes

The optional use of "forum codes" in your posts lets you add formatting, similar to what can be done with HTML.

Codes are case-sensitive, you must write them as shown. eg. [B] will not work.


List of available codes

Bold

Enclose the text in [b] and [/b].
For example:


[b]this is in bold[/b]
gives this is in bold

Italic

Enclose the text in [i] and [/i].
For example:


[i]this is in italic[/i]
gives this is in italic

Underline

Enclose the text in [u] and [/u].
For example:


[u]this is in underline[/u]
gives this is in underline

Strike-through

Enclose the text in [s] and [/s].
For example:


[s]this is struck-out[/s]
gives this is struck-out

Quote

Enclose the text in [quote] and [/quote].
For example:


[quote]this is a quote[/quote]
gives

Lists

Use [ol] at the start and [/ol] at the end of an ordered list (ie. a numbered list).

Use [ul] at the start and [/ul] at the end of an unordered list (ie. a bullet point list).

Use [li] for each list item inside the list.
For example:


[ul]
 [li]An item
 [li]Another item
 [li]A third item
[/ul]

[ol]
 [li]An item
 [li]Another item
 [li]A third item
[/ol]
 
gives
  1. An item
  2. Another item
  3. A third item

Code

Enclose the text in [code] and [/code].
For example:


[code]this is code[/code]
gives
this is code

Code is monospaced and preserves line breaks and formatting (such as indentation).

Mono

Enclose the text in [mono] and [/mono].
For example:


[mono]this is monospaced[/mono]
gives: this is monospaced

The text is monospaced, however it wraps at the edge of the page.

Line

To draw a horizontal line, use [hr].

Spaces

To add non-breaking spaces, use [sp].

Using square brackets

In case you actually want to put '[b]' into your posts, you can precede the brackets with a backslash.

To display this Enter this
[ \[
] \]
\ \\

Non-recognised codes will just be displayed "as is" however it would be safer for future expansion to make sure that all square brackets are entered as described above.

[EDIT] tag

If you are planning to edit your post, you can indicate it has been edited by adding [edit].

For example:

[edit] Amended my post to clarify something.
gives: [EDIT] Amended my post to clarify something.


Additional "template" codes

You can enter various template codes, such as [faq] that expand out to small boxes inside the posting to alert readers to some problem, or give advice (eg. "read the FAQ!"). For more details about those see http://www.gammon.com.au/templates.


Back to Gammon Software Solutions forum
[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]