Help: Comcode
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]
Normallythistextwouldbewrappedwhenthereisaspaceorafullstopbythebrowseriftexthasnoneoftheseitruinsthelayoutofthepagesitfo
rciblywrapstextforyou.
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!
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.
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. | |
A list - 1 - 2 - 2.1 - 2.1.1 - 2.1.1.1 - 2.2 - 3 |
A list
|
Emoticons
Emoticons are inputted just by entering the emoticon code :)Code | Image |
---|---|
:angryfisherman: | |
:coolfisherman: | |
:reallybadday: | |
:constipated: | |
:polefishing: | |
:upsidedown: | |
:dayplanner: | |
:puppyeyes: | |
:christmas: | |
:surrender: | |
:depressed: | |
:fishhard: | |
:fishlove: | |
:offtopic: | |
:birthday: | |
:rolleyes: | |
:fishing: | |
:whistle: | |
:sinner: | |
:shutup: | |
:sleepy: | |
:badday: | |
:thumbs: | |
:guitar: | |
:cyborg: | |
:hippie: | |
:ninja2: | |
:rockon: | |
:msfish: | |
:sarcy: | |
:flirt: | |
:drool: | |
:ninja: | |
:party: | |
:devil: | |
:shake: | |
:boat: | |
:cool: | |
:slow: | |
:sick: | |
:hand: | |
:nerd: | |
:king: | |
:dry: | |
:zzz: | |
:nod: | |
:wub: | |
:lol: | |
O_o | |
:'( | |
^_^ | |
(K) | |
:@ | |
:S | |
:$ | |
;) | |
:| | |
:D | |
:o | |
:( | |
:) | |
:P |
Shortcuts
Shortcuts are also entered just by inputting their code (c)(c) | © |
(r) | ® |
Code blocks
[code="php"]
function ocp() { echo "Example PHP syntax highlighting"; } [/code] | PHP code
|
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.[img="Logo"]https://fishingmobile.org/themes/default/images/comcode.png[/img] | |
[thumb="Logo"]https://fishingmobile.org/themes/default/images/comcode.png[/thumb] |
Security
Long text which isn't naturally breakable into lines is forced into pieces.Normallythistextwouldbewrappedwhenthereisaspaceorafullstopbythebrowseriftexthasnoneoftheseitruinsthelayoutofthepagesitfo
rciblywrapstextforyou.
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
[url="This is a link"]https://fishingmobile.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
[box="my table"]Testing boxes[/box]my table
Testing boxes
Formatting
[b]text[/b] | text |
[u]text[/u] | text |
[i]text[/i] | text |
[s]text[/s] | text |
[font param="Helvetica" size="12" color="red"]text[/font] | text |
---------------------- |
Scientific notation
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 re-arrange 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
[hide="Secret"]This is an example of hidden text.[/hide] |
|
[reference type="url" param="Wikipedia"]http://wikipedia.org[/reference] | Reference source: Wikipedia |
[quote param="Philip"]This is an example of a quote.[/quote] |
|
[staff_note]This isn't rendered (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 |
---|---|---|
Embed Facebook videos | Embed Facebook videos into your content. | [facebook_video]http://www.facebook.com/video/video.php?v=10150307159560581[/facebook_video] |
Embed YouTube videos | Embed YouTube videos into your content. | [youtube]http://www.youtube.com/watch?v=ZDFFHaz9GsY[/youtube] |