Comcode help

Comcode is used for formatting input data (the data marked as being Comcode).

The title for this page and smaller title below were generated using [title]Comcode help[/title] and [title="2"]Lists[/title].


The list shown on the right is generated using the Comcode below.
Numbers are used on the example list to provide a frame of reference – your lists would have text rather than numbers.

Code Result


A list
 - 1
 - 2
  - 2.1
   - 2.1.1
  - 2.2
 - 3
A list
  • 1
  • 2
    • 2.1
      • 2.1.1
    • 2.2
  • 3


Emoticons are inputted just by entering the emoticon code, e.g. :).

Code Image Code Image Code Image Code Image
:reallybadday: :reallybadday: :constipated: :constipated: :upsidedown: :upsidedown: :depressed: :depressed:
:puppyeyes: :puppyeyes: :christmas: :christmas: :offtopic: :offtopic: :rolleyes: :rolleyes:
:birthday: :birthday: :whistle: :whistle: :goodbye: :goodbye: :fishing: :fishing:
:thumbs: :thumbs: :shutup: :shutup: :cyborg: :cyborg: :hippie: :hippie:
:ninja2: :ninja2: :rockon: :rockon: :sinner: :sinner: :guitar: :guitar:
:cowboy: :cowboy: :ninja: :ninja: :shake: :shake: :drool: :drool:
:devil: :devil: :party: :party: :sarcy: :sarcy: :angel: :angel:
:fight: :fight: :cool: :cool: :hand: :hand: :sick: :sick:
:nerd: :nerd: :king: :king: :idea: :idea: :boat: :boat:
:dry: :dry: :wub: :wub: :lol: :lol: :zzz: :zzz:
:nod: :nod: :'( :'( O_o O_o ^_^ ^_^
(K) (K) :P :P :$ :$ ;) ;)
:( :( :) :) :| :| :o :o
:D :D :S :S :@ :@


Shortcuts are also entered just by inputting their code, e.g. (c).

Code Result

Code blocks

Code Result
function cms()
   echo "Example PHP syntax highlighting";

PHP code

function cms()
"Example PHP syntax highlighting";


You can put inline images into your text easily and quickly, with the [img] tag. There is also a thumbnail tag [thumb] which will show (and cache) a thumbnail of an image. If the tag is given a URL as a parameter as well as the main URL, then that will be used as the thumbnail.

Code Result
[img="Logo"]themes/default/images/no_image.png[/img] Logo


Long text which isn't naturally breakable into lines is forced into pieces.

JavaScript script tags, onX handlers and URLs will all be filtered/blocked. Don't use them unless you want the staff to be alerted to a suspected hacking attempt!


Code Result
[url="This is a link"][/url]This is a link
[email="My E-Mail"][/email]My E-Mail
[page="cms:cms"]Content Management[/page]Content Management


You can put things in boxes. For example:


[box="My Box"]Testing boxes[/box]

My Box

Testing boxes


Code Result
[font param="Helvetica" size="3" color="red"]text[/font]text
---------------------- ———————-

Mathematical notation

Code Result


You can use attachments with a number of different Comcode forms. The attachment tags are automatically inserted into your Comcode when you choose an attachment, and you may rearrange them to move the attachments around; you may also wish to change the width, height, description, or set the type to 'download'. After adding your attachments you may re-use them in other pieces of Comcode, and the attachment will exist until all references are deleted.

Attachments may be movies, flash animations, audio, images or general downloads. The website automatically decides how to treat your attachment.

Users may add attachments according to their quota, and re-use other people's attachments according to privileges.


Code Result
[hide="Secret"]This is an example of hidden text.[/hide]

Expand: Secret Secret

[reference type="url" param="Wikipedia"][/reference]

Reference source: Wikipedia

[quote param="Philip"]This is an example of a quote.[/quote]

Philip said

This is an example of a quote.
[staff_note]This isn't displayed (not even for staff), but is saved. Staff can view it when editing the Comcode.[/staff_note]

Custom Comcode tags

These Custom Comcode tags have been added by the staff…