this site is part of Laurells.net  

Creole Commands

All text on our sites is written in WikiCreole 1.0 syntax. Creole is a standard markup language used in many Wiki based sites.

 

Implemented creole(wiki) commands

For the main syntax, go to www.wikicreole.org/wiki/Creole1.0. We follow all except the structure for tables which we made a bit different. Links and Images are also a bit extended compared to 1.0.

How it works

The render machine will first divide each page in lines. Don't misunderstand lines, sometimes if the window is to small and the line is long, it will show on several lines on the screen, but it is the end-line character which counts. One or more empty lines will always result on an empty line on the final web-page, so if you have several empty lines for clarity, only one will be shown.

Second; after each page is divided into lines, each will be interpreted one by one. Lines STARTING with a star sign, will be interpreted as bullet lists. Lines STARTING with a # sign, will be interpreted as numbered lists. Lines STARTING with a semi-colon sign, will be interpreted as comments and will not show on the final page, not even as html comments (see this page source for an example at the top).

Headers

single equal sign (=) will be interpreted as a normal equal sign, not the H1 html tag, since there is a special field for document header. headers must start with 2 or more equal-signs.

== sub header 2 ==

rendered as the H2 html tag.

=== sub header 3 ===

rendered as the H3 html tag.

==== sub header 4 ====

rendered as the H4 html tag.

===== sub header 5 =====

rendered as the H5 html tag.

====== sub header 6 ======

rendered as the H6 html tag.

sub header 2

sub header 3

sub header 4

sub header 5
sub header 6

Text

two stars before and after a word or sentence = bold face text

two slashes before and after a word or sentence = italic text

two underscore before and after a word or sentence = underline text


lines starting with four dashes will be converted to a horisontal line. text at the right will be interpreted as options to the tag.

Indentation

indentation is made with different number of colons in the start of the line. Max level of indents is 6.

indent one
indent two
indent three, etc..

Lists

bullet lists starts with a star sign.

  • bullet line 1
    • bullet line 1.1
  • bullet line 2

numbered lists starts with a # sign.

  1. number line 1
    1. number line 1.1
  2. number line 2

Links

syntax: [[path/name|options|link text]]

internal links starts with one slash or none as in /78ths/. external links starts with two slashes as in laurells.net

if special paragraph wanted for a link as in most links lists, use ;

[[//laurells.net|info:text|link text]]

Images

syntax: {{path/name|options|alt text}}
logo left image logo center icon logo right click

 

 

 

options:

numeric options are interpreted as max-width (default is 700)

place is specified with left, right or center

click:path means the image is clickable to the link "path"

icon means the image will be decreased to icon size

info:text means there is a text to be put AFTER the image

captions is always the last option specified

default image type is .jpg if not specified.

FieldSet

  fieldset  

As an extra not included in the Creole standard, this version also has the ability to use fieldsets. They start with three brackets "[" on first pos on the line and ends with three brackets "]" on first pos on the line. Starting line uses the rest of the text as "title" in a legend tag.

Code

computer code or text which should not be rendered and not even line-feeds added, starts with (( on an empty line and ends with )) on a empty line. a code and pre tag is added to the page. Example;

#include <stdio.h>
int main()
{
   printf("Hello world!
");
   return 0;
}

Unaltered text (NoWiki)

text which is not code but still should not be interpreted and just show-as-is, use trible curly braces on empty lines. This will make floating text as in standard html. Example;

this link does still look as in the editor; [[path/name|options]]

Tables

lines start with || means start/end of table and generates a TABLE tag in html.

lines start with |- will be interpreted as new lines and generates TR tags in html.

lines start with |= will be interpreted as headers and generate TH tags in html.

lines start with | will be interpreted as a cell and generate TD tags in html.

example:
||   parameters allowed here
|= header column one
|= header column two
|= header column three
|-  parameters allowed here
| line 1 cell 1.
| line 1 cell 2.
| line 1 cell 3.
|-
| line 2 cell 1.
| line 2 cell 2.
| line 2 cell 3.
||
no name descript
1 adam first man on earth
2 eve first woman on earth

Future possible extensions

%%  ?? not implemented yet

&&   ?? not implemented yet

!!     ?? not implemented yet

++   ?? not implemented yet

--    ?? not implemented yet (not recommended, sometimes used in normal text)

@@  ?? not implemented yet

??    ?? not implemented yet (not recommended, sometimes used in normal text)

$$    ?? not implemented yet

%%  ?? not implemented yet

££    ?? not implemented yet

""    ?? not implemented yet

½½  ?? not implemented yet

Smileys

In my version I added a few basic smileys :

smile : )  : )
wink ; )  ; )
sad : (  : (
biggrin : D  : D
tongue : P  : P
mad : {  : {
unsure 8 ~  8 ~
oops : o  : o
blink 8 o  8 o
cool 8 '  8 '
rolleyes 8 }  8 }
thumbup : yes :  : yes :
thumbdown : no :  : no :