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].
 

Lists

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

Code

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

Emoticons

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

Code Image Code Image Code Image Code Image
:cns_emoticons__Purple 9 Tailed Fox Emotes_56x5626: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5626: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5625: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5625: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5624: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5624: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5623: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5623:
:cns_emoticons__Purple 9 Tailed Fox Emotes_56x5622: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5622: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5621: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5621: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5620: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5620: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5619: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5619:
:cns_emoticons__Purple 9 Tailed Fox Emotes_56x5618: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5618: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5617: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5617: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5616: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5616: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5615: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5615:
:cns_emoticons__Purple 9 Tailed Fox Emotes_56x5614: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5614: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5613: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5613: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5612: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5612: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5611: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5611:
:cns_emoticons__Purple 9 Tailed Fox Emotes_56x5610: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5610: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5609: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5609: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5608: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5608: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5607: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5607:
:cns_emoticons__Purple 9 Tailed Fox Emotes_56x5606: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5606: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5605: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5605: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5604: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5604: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5603: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5603:
:cns_emoticons__Purple 9 Tailed Fox Emotes_56x5602: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5602: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5601: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5601: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5600: :cns_emoticons__Purple 9 Tailed Fox Emotes_56x5600: :reallybadday: :reallybadday:
:constipated: :constipated: :upsidedown: :upsidedown: energydagger energydagger :depressed: :depressed:
:puppyeyes: :puppyeyes: :christmas: :christmas: energyspear energyspear morningstar morningstar
:part_70_0: :part_70_0: :part_69_0: :part_69_0: :part_68_0: :part_68_0: :part_67_0: :part_67_0:
:part_66_0: :part_66_0: :part_65_0: :part_65_0: :part_64_0: :part_64_0: :part_63_0: :part_63_0:
:part_62_0: :part_62_0: :part_61_0: :part_61_0: :part_60_0: :part_60_0: :part_59_0: :part_59_0:
:part_58_0: :part_58_0: :part_57_0: :part_57_0: :part_56_0: :part_56_0: :part_55_0: :part_55_0:
:part_54_0: :part_54_0: :part_53_0: :part_53_0: :part_52_0: :part_52_0: :part_51_0: :part_51_0:
:part_49_0: :part_49_0: :part_48_0: :part_48_0: :part_47_0: :part_47_0: :part_46_0: :part_46_0:
:part_45_0: :part_45_0: :offtopic: :offtopic: :rolleyes: :rolleyes: :birthday: :birthday:
:part_2_6: :part_2_6: energyclaw energyclaw energyball energyball energywhip energywhip
:part_2_1: :part_2_1: :whistle: :whistle: :goodbye: :goodbye: :fishing: :fishing:
paralyzed paralyzed energyrod energyrod energyaxe energyaxe flintlock flintlock
slingshot slingshot :thumbs: :thumbs: :shutup: :shutup: :cyborg: :cyborg:
:hippie: :hippie: :ninja2: :ninja2: :rockon: :rockon: :sinner: :sinner:
:guitar: :guitar: :cowboy: :cowboy: magicorb magicorb nunchaku nunchaku
crossbow crossbow :ninja: :ninja: :shake: :shake: :drool: :drool:
:devil: :devil: :party: :party: :sarcy: :sarcy: :angel: :angel:
:fight: :fight: charmed charmed silence silence stunrod stunrod
:staff: :staff: :cool: :cool: :hand: :hand: :sick: :sick:
:nerd: :nerd: :king: :king: :idea: :idea: :boat: :boat:
:rage: :rage: asleep asleep katana katana hammer hammer
dagger dagger pistol pistol <==]-- <==]-- :dry: :dry:
:wub: :wub: :lol: :lol: :zzz: :zzz: :nod: :nod:
Blind Blind death death book2 book2 rifle rifle
spear spear staff staff flail flail book book
club club mace mace fist fist claw claw
whip whip <=]- <=]- :'( :'( O_o O_o
^_^ ^_^ (K) (K) saw saw bow bow
axe axe :P :P :$ :$ ;) ;)
:( :( :) :) :| :| :o :o
:D :D :S :S :@ :@

Shortcuts

Shortcuts are also entered just by inputting their code, e.g. (c).
 
Code Result
(c) ©
(r) ®
 

Code blocks

Code Result
[code="php"]
function cms()
{
   echo "Example PHP syntax highlighting";
}
[/code]

PHP code

function cms() { echo &quot;Example PHP syntax highlighting&quot;; }
 

Images

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
[thumb="Logo"]themes/default/images/no_image.png[/thumb]
 

Security

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!
 

Links

Code Result
[url="This is a link"]https://kitsunic.org[/url] This is a link
[email="My E-Mail"]fake_address@example.com[/email] My E-Mail
[page="cms:cms"]Content Management[/page] Content Management
 

Boxes

You can put things in boxes. For example:

Code

[box="My Box"]Testing boxes[/box]
…produces:

My Box

Testing boxes

Formatting

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

Mathematical notation

Code Result
a[sub]2[/sub] a2
a[sup]2[/sup] a2
 

Attachments

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.
 

Advanced

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

Expand: Secret Secret

[reference type="url" param="Wikipedia"]http://wikipedia.org[/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 …

Title Description Example
Encrypt Store the contents of the tag as encrypted in the database. [encrypt]Text to encrypt[/encrypt]
Self-destruct The contents will not appear in notifications, and, for private topic and support ticket posts, will self-destruct after 30 days. [self_destruct]Text to self-destruct[/self_destruct]