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 Ergebnis

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 Bild Code Bild Code Bild Code Bild
:schneeballschlacht: :schneeballschlacht: :schulterzuck: :schulterzuck: :sterntaler: :sterntaler: :darthvader: :darthvader:
:gute-nacht: :gute-nacht: :hammermich: :hammermich: :schneemann: :schneemann: :spitzhacke: :spitzhacke:
:schneeball: :schneeball: :angelgrin: :angelgrin: :streichel: :streichel: :feuerwerk: :feuerwerk:
:confetti: :confetti: :rolleyes: :rolleyes: :wallbash: :wallbash: :confused: :confused:
:schnarch: :schnarch: :respekt: :respekt: :gitarre: :gitarre: :sofleck: :sofleck:
:klatsch: :klatsch: :applaus: :applaus: :anbeten: :anbeten: :schleck: :schleck:
:gruebel: :gruebel: :zeitung: :zeitung: :pleased: :pleased: :apophis: :apophis:
:rotwerd: :rotwerd: :zumwohl: :zumwohl: :fenster: :fenster: :hatschi: :hatschi:
:jupiter: :jupiter: :daniel: :daniel: :dobson: :dobson: :flocke: :flocke:
:schlaf: :schlaf: :schnee: :schnee: :bibber: :bibber: :urlaub: :urlaub:
:hippie: :hippie: :kuchen: :kuchen: :vortex: :vortex: :shutup: :shutup:
:teufel: :teufel: :sabber: :sabber: :wasser: :wasser: :saturn: :saturn:
:wsmile: :wsmile: :strand: :strand: :drueck: :drueck: :protub: :protub:
:hitze: :hitze: :photo: :photo: :prost: :prost: :laola: :laola:
:clown: :clown: :tanne: :tanne: :feuer: :feuer: :dream: :dream:
:wmann: :wmann: :party: :party: :pfeif: :pfeif: :bussi: :bussi:
:winke: :winke: :zunge: :zunge: :danke: :danke: :engel: :engel:
:love: :love: :erde: :erde: :mars: :mars: :yeah: :yeah:
:king: :king: :lach: :lach: :bier: :bier: :heul: :heul:
:gaga: :gaga: :wish: :wish: :band: :band: :mond: :mond:
:jump: :jump: :baeh: :baeh: :cool: :cool: :jack: :jack:
:beee: :beee: :wait: :wait: :motz: :motz: :rain: :rain:
:help: :help: :down: :down: :eis: :eis: :lob: :lob:
:mad: :mad: :dry: :dry: :sad: :sad: :lol: :lol:
:kls: :kls: :old: :old: :aaa: :aaa: :eek: :eek:
:pst: :pst: :sun: :sun: :erm: :erm: :jo: :jo:
:no: :no: :pc: :pc: :up: :up: :cs: :cs:
^_^ ^_^ :o< :o< O_o O_o ==o ==o
:) :) :o :o :| :| ;) ;)
:D :D

Shortcuts

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

Code Ergebnis
(c)©
(r)®

Code blocks

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

PHP code

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


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 Ergebnis
[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 Ergebnis
[url="This is a link"]https://www.andromedaforum.de[/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 Ergebnis
[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 Ergebnis
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

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

Ausklappen: 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 hat gesagt

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…

Titel Beschreibung Beispiel
Durchgestrichen Durchgestrichener Text [strike]durchgestrichen[/strike]
YouTube Video Use the movie code from the YouTube URL in your browser. For example, http://youtube.com/watch?v=JFwCCL0Vh6U [youtube]JFwCCL0Vh6U[/youtube]