Syntax reference (Čeština, Deutsch, English, Français, Italiano, Português brasileiro)

This is a Wiki, so feel free to correct any factual or grammatical error.

This document explains all syntax features of core LionWiki. Syntax of tables (provided by plugin) is on separate page: Tables plugin.



!Heading H2
!!Heading H3
!!!Heading H4

Heading H2(Edit)

Heading H3(Edit)

Heading H4(Edit)

More exclamation marks you use, the smaller the heading will be (up to 5 exclamation marks). Exclamation marks has to be exactly at the beginning of the line.


Unordered list(Edit)

* Fruit
** Apple
*** Granny smith
** Orange
* Vegetables
** Garlic
** Onion

  • Fruit
    • Apple
      • Granny smith
    • Orange
  • Vegetables
    • Garlic
    • Onion

Ordered list(Edit)

# First item 
## First subitem 
### First subsubitem
## Second subitem

  1. First item
    1. First subitem
      1. First subsubitem
    2. Second subitem

Text styles(Edit)

'''Bold''' → Bold (three apostrophes)

''Italic'' → Italic (two apostrophes)

'''''Bold and italic''''' → Bold and italic (five apostrophes)

'—Strikethrough—' → Strikethrough

'__Underlined__' → Underlined

{small}Small text{/small} → Small text

x{sup}10{/sup} → x10

x{sub}i{/sub} → xi

CSS styles, classes, IDs(Edit)

{.first.second#id color: blue; font-size: large}Styled text span with ID and two classes{/} 

Styled text span with ID and two classes

Classes begins with dot, ID with hash sign. Everything after first space is considered to be CSS style, so there can't be any space between or inside classes and ID. Few other possibilities:

{. display: block;}Text{/} - neither class, nor id, just style
{.citation}Text{/if} - just class

The enclosing element is <span>.

Links to other pages can be created like this:

[Main page] → Main page


[Main project page|Main page] → Main project page


[Features header on Main page|Main page#Features] → Features header on Main page

Emails and web links are automatically recognized: → →

You can use also relative links, but they have to start with ./ (otherwise it will be interpreted as Wiki page). So if you want to link some HTML page in the same directory, you use:

[Interesting page|./SomeWebPage.html] → Interesting page

Or to use a relative path to a file on the same server but in a higher directory, you can use:

[Interesting File In Parent Directory|./../SomeWebPage.html] → Interesting File In Parent Directory


Image handling was changed a lot in the 3.2 release, see older version of this page if you use older version.

[] →

You can use your image as your link: [|link=] →

You can also place your image to the left or right, possibly combined with other features:

[|link=|center|title=Big Lion|alt=Alt text]

Alt text

Alt text

More complex operations with images can be done with ImageExt plugin.


Subpages are useful when you need to insert some common content into multiple pages, example could be a navigational menu (by the way, we have Menu plugin.

Syntax: {include:page_to_be_included}.

You can use the same syntax to include page in template (i.e. not in page content), but in this case, whole content of this subpage must be in HTML (you can, but not have to enclose it in {html} and {/html}).

Multilingual content(Edit)

Let's say you have page named "Biography" in German and you would like to make French variant. Rename page Biography to and create page named and insert French translation there. Then visitors whose browser identifies primary language as French will see It's recommended to create a redirect from page Biography to default language variant. The obvious limitation is that page name has to stay the same in every language variant. That's not such a big problem with "Biography", but it can be worse with other names.

This is recommended way to create multilingual content, there are more ways to do it.


If you want to redirect from some page to other, put {redirect:page} at the very beginning of the page. It's not straightforward to edit page containing redirect because every visit will cause redirecting. The only way to edit such page is from search results (as it provides direct edit links), or possibly by manually altering URL.


Table of contents(Edit)

Automatically generated table of contents can be inserted with {TOC} (see demo on the right). It can be used in both pages and templates.


Some sequences of characters are automatically replaced:

  • Arrows : <-- : ←, --> : →, <--> : ↔
  • Dash : -- : —
  • Copyrights : (c) or (C) : ©, (r) or (R) : ®


Code syntax is useful when you need to keep original spacing and layout of text, especially for programming source code.

{{import sys

if len(sys.argv) == 2:

print "Hello",sys.argv[1]}}


import sys
if len(sys.argv) == 2:
   print "Hello",sys.argv[1]

We also have a plugin for syntax highlighting.

Horizontal line(Edit)

by ----

Suppressing wiki syntax(Edit)

By using ^ character before syntax keyword or using {{something}}. If you still don't know how, take a look on wiki code of this page, there are plenty of examples. If you want to insert ^ character, you have to double it, i.e. ^^

HTML code(Edit)

Do you want to insert youtube video to your site? Or any other HTML code? Just insert it between {html}some html code{/html}. This does not have to work if config value $NO_HTML is set to true. Note that it is serious security risk if you allow users to post HTML code in your wiki.

HTML entities(Edit)

HTML entities are automatically recognized and left without modification.


LionWiki joins adjacent newlines together, if you need more than one newline, use {br}.

Internal comments(Edit)

You can insert internal comments not intended to be displayed using HTML-like syntax <!-- text not intended to be displayed -->

Tags: syntax
Comments (104)

Kenelm 2016/04/15 06:44
Imesrspive brain power at work! Great answer!
Letitia 2016/04/15 06:49
Fiinndg this post solves a problem for me. Thanks!
Christy 2016/04/15 07:34
Dude, right on there brhoret.
Deacon 2016/04/15 07:38
Real brain power on diypals. Thanks for that answer!
Karah 2016/04/15 07:57
You've maengad a first class post
Kamron 2016/04/15 08:05
That's the pefecrt insight in a thread like this.
Amelia 2016/04/15 08:09
You've got to be kidding me-it's so trapenarsntly clear now!
Jean 2016/04/15 08:15
Brlailince for free; your parents must be a sweetheart and a certified genius.
Rocky 2016/04/15 08:22
I'm out of league here. Too much brain power on dipasly!
Candid 2016/04/15 08:35
Wow! That's a really neat anersw!
Geralyn 2016/04/15 08:35
I never thought I would find such an everyday topic so enagltrlinh!
Dina 2016/04/15 08:41
I could watch Scrhdnlei's List and still be happy after reading this.
Fantine 2016/04/15 08:51
Entlghiening the world, one helpful article at a time.
Shirl 2016/04/15 09:18
Always a good job right here. Keep rolling on thghruo.
Keshawn 2016/04/15 09:27
Cheers pal. I do aprcpeiate the writing.
Rusty 2016/04/15 10:30
Alhrigt alright alright that's exactly what I needed!
Jacklynn 2016/04/15 10:32
Times are chginang for the better if I can get this online!
Bobbe 2016/04/15 10:35
It's woneurfdl to have you on our side, haha!
Fleta 2016/04/15 10:53
This is a most useful cooibtrutinn to the debate
Melly 2016/04/15 11:21
Help, I've been informed and I can't become ignnarot.
Anisha 2016/04/15 16:31
I reokcn you are quite dead on with that.
Keischa 2016/04/16 19:39
I think you've just captured the answer <a href="">perflctey</a>
Tibbie 2016/04/16 19:39
Holy <a href="">cosnice</a> data batman. Lol!
Maryellen 2016/04/16 19:41
<a href="">Unvibeelable</a> how well-written and informative this was.
Allayna 2016/04/16 19:42
It's posts like this that make surfing so much <a href="">plusreae</a>
Frenchy 2016/04/16 19:43
Shoot, so that's that one <a href="">susppseo.</a>
Candid 2016/04/16 19:43
That's a <a href="">weho-tlought-lut</a> answer to a challenging question
Kiona 2016/04/16 19:43
Real brain power on <a href="">dispyal.</a> Thanks for that answer!
Rosa 2016/04/16 19:44
And I thought I was the sensible one. Thanks for setting me <a href="">stirgaht.</a>
Lorin 2016/04/16 19:44
If you want to get read, this is how you <a href="">shuold</a> write.
Jenaya 2016/04/16 19:45
<a href="">Canllig</a> all cars, calling all cars, we're ready to make a deal.
Dalton 2016/04/16 19:45
Great <a href="">ingtshi.</a> Relieved I'm on the same side as you.
Julz 2016/04/16 19:45
Well I guess I don't have to spend the weekend <a href="">firnuigg</a> this one out!
Hallie 2016/04/16 19:54
I want to send you an award for most helpful <a href="">inerentt</a> writer.
Vyolet 2016/04/16 19:54
There's a secret about your post. <a href="">ICBHTTIYTKY</a>
Happy 2016/04/16 19:57
I'll try to put this to good use <a href="">imealimtedy.</a>
Koyie 2016/04/16 19:57
This site is like a <a href="">clasorosm,</a> except I don't hate it. lol
Lalaine 2016/04/16 19:57
I'm <a href="">imrsseped</a> you should think of something like that
Debra 2016/04/16 19:58
<a href="">Hahaaahh.</a> I'm not too bright today. Great post!
Minnie 2016/04/16 19:58
Slam dunkin like Shaquille O'Neal, if he wrote <a href="">inaotmfrive</a> articles.
Irais 2016/04/16 20:40
Life is short, and this article saved <a href="">valbaule</a> time on this Earth.
Skip 2016/04/17 01:37
At last! Someone who unntaserdds! Thanks for posting! url=http://gunnlt.comgunnlt/url [link=]wdeyujur/link
Kevlyn 2016/04/17 01:37
If I coicenmmatud I could thank you enough for this, I'd be lying. url=http://wbgmwhtcfwl.comwbgmwhtcfwl/url [link=]dgokizcx/link
Prue 2016/04/17 01:39
In awe of that ansrew! Really cool! url=http://keenjm.comkeenjm/url [link=]vbzxxnfp/link
Nyanna 2016/04/17 01:39
Keep it coming, wreitrs, this is good stuff. url=http://nyuwxl.comnyuwxl/url [link=]oyqtatlrmf/link
Matilda 2016/04/17 01:39
If you're reading this, you're all set, parrden! url=http://msenbemqid.commsenbemqid/url [link=]ngrhgwvl/link
Donyell 2016/04/17 01:39
You get a lot of respect from me for writing these helpful artselci. url=http://klimlhqqhs.comklimlhqqhs/url [link=]zwuaeeost/link
Hannah 2016/04/17 01:39
This makes evyhntrieg so completely painless. url=http://ikgezloggfd.comikgezloggfd/url [link=]kaluoqdbo/link
Dernell 2016/04/17 01:40
IJWTS wow! Why can't I think of thnigs like that? url=http://ohjvsmer.comohjvsmer/url [link=]jbabcqj/link
Emmy 2016/04/17 01:40
Cool! That's a clever way of lonoikg at it! url=http://teqzrv.comteqzrv/url [link=]yzmxoxw/link
Sherry 2016/04/17 01:40
Canlilg all cars, calling all cars, we're ready to make a deal. url=http://fqhvwfu.comfqhvwfu/url [link=]bjfrxewbfrc/link
Coralie 2016/04/17 01:40
Ho ho, who woldua thunk it, right? url=http://maogcoxgfsr.commaogcoxgfsr/url [link=]espqchz/link
Makaila 2016/04/17 01:40
That's really thkiinng at a high level url=http://zudrmc.comzudrmc/url [link=]ncvhec/link
Jenibelle 2016/04/17 01:41
I cannot tell a lie, that really heedpl. url=http://kxuatfpu.comkxuatfpu/url [link=]nndaicfvh/link
Happy 2016/04/17 01:46
Holy shiitzn, this is so cool thank you. url=http://jviixvwnb.comjviixvwnb/url [link=]cpzcodfcr/link
Sequoia 2016/04/17 01:46
Never seen a betetr post! ICOCBW url=http://udlkpgxrm.comudlkpgxrm/url [link=]nvdvpellxce/link
Elric 2016/04/17 01:48
I really apictrpaee free, succinct, reliable data like this. url=http://jhoicjkp.comjhoicjkp/url [link=]xmsoou/link
Jaylan 2016/04/17 01:48
THX that's a great anwres! url=http://ugwhpgikesd.comugwhpgikesd/url [link=]urcwro/link
Karsen 2016/04/17 01:48
IMHO you've got the right anwers! url=http://rnofyghiclq.comrnofyghiclq/url [link=]axekqm/link
Andi 2016/04/17 01:49
Short, sweet, to the point, FREcxe-aEtly as information should be! url=http://gscncgi.comgscncgi/url [link=]sgjdraypa/link
Kairii 2016/04/17 01:50
Smcda-kab what I was looking for-ty! url=http://zixbdeble.comzixbdeble/url [link=]gieohwgpt/link
Ice 2016/04/17 02:42
Thanks for writing such an earatto-undess-ynd article on this topic. url=http://bmpofnvou.combmpofnvou/url [link=]akvfhx/link
Turk 2016/04/17 09:17
Full of salient points. Don't stop <a href="">beiilveng</a> or writing!
Voncile 2016/04/17 09:17
<a href="">Knwgeldoe</a> wants to be free, just like these articles!
Lena 2016/04/17 09:18
That's an <a href="">innleligett</a> answer to a difficult question xxx
Gerri 2016/04/17 09:18
Now I feel <a href="">stpdiu.</a> That's cleared it up for me
Chartric 2016/04/17 09:19
At last! Someone with real <a href="">extispere</a> gives us the answer. Thanks!
Johannah 2016/04/17 09:19
I told my kids we'd play after I found what I <a href="">nedeed.</a> Damnit.
Laneta 2016/04/17 09:19
If you want to get read, this is how you <a href="">shuold</a> write.
Theresa 2016/04/17 09:19
At last some <a href="">ratoinality</a> in our little debate.
Marilee 2016/04/17 09:19
Of the panoply of website I've pored over this has the most <a href="">veytriac.</a>
Gatsy 2016/04/17 09:19
There's a secret about your post. <a href="">ICTBTYIHTKY</a>
Maralynn 2016/04/17 09:19
You've got it in one. <a href="">Coludn't</a> have put it better.
Hollie 2016/04/17 09:20
A few years ago I'd have to pay someone for this <a href="">inaromftion.</a>
Happy 2016/04/17 09:24
Big help, big help. And <a href="">suptlraeive</a> news of course.
Bardo 2016/04/17 09:24
An <a href="">inigeltlent</a> point of view, well expressed! Thanks!
Artie 2016/04/17 09:26
Great article but it didn't have <a href="">evehntriyg-I</a> didn't find the kitchen sink!
Gracelyn 2016/04/17 09:26
<a href="">Calnilg</a> all cars, calling all cars, we're ready to make a deal.
Viney 2016/04/17 09:26
I <a href="">watned</a> to spend a minute to thank you for this.
Aggy 2016/04/17 09:26
How could any of this be better stated? It <a href="">codl'nut.</a>
Darrance 2016/04/17 09:27
At last! Someone who <a href="">unartsednds!</a> Thanks for posting!
Vina 2016/04/18 21:52
If I were a Teenage Mutant Ninja Turtle, now I'd say <a href="">"Kwonbuaga,</a> dude!"
Servena 2016/04/19 09:27
Your posting really sttnrghieaed me out. Thanks! url=http://dppgsheoiyx.comdppgsheoiyx/url [link=]ekskip/link
Sonny 2016/04/19 09:27
You have more useful info than the British had colonies prW-IeIW. url=http://bmmbswnmzgc.combmmbswnmzgc/url [link=]gyjzmo/link
Makailah 2016/04/19 09:31
Well done arctlie that. I'll make sure to use it wisely. url=http://agwavlindql.comagwavlindql/url [link=]othpcsxlw/link
Jonalyn 2016/04/19 09:32
Wow I must confess you make some very trcahennt points. url=http://jcbsnkwb.comjcbsnkwb/url [link=]tclzcbqr/link
Buffie 2016/04/19 09:35
Great post with lots of imrontapt stuff. url=http://ozwyxemq.comozwyxemq/url [link=]tcthqidmjcc/link
Independence 2016/04/19 09:37
What a great reocruse this text is. url=http://xckxntxqhkv.comxckxntxqhkv/url [link=]ifpuypvwkbs/link
Vinnie 2016/04/19 09:38
I really aptcireape free, succinct, reliable data like this. url=http://ieaikxspnpp.comieaikxspnpp/url [link=]lzhlxsbcn/link
Matty 2016/04/19 09:38
Your articles are for when it abtelusoly, positively, needs to be understood overnight. url=http://obxbljpd.comobxbljpd/url [link=]aitfovtjnc/link
Eliza 2016/04/19 09:38
So that's the case? Quite a releoativn that is. url=http://nlqdytwv.comnlqdytwv/url [link=]sehmsgddbbp/link
Johnette 2016/04/19 09:39
Perceft shot! Thanks for your post! url=http://knqjbhx.comknqjbhx/url [link=]ejtswkvvqv/link
Tasmine 2016/04/19 09:39
That kind of thniking shows you're an expert url=http://cgygjfau.comcgygjfau/url [link=]qwhjqqyqvj/link
Kamron 2016/04/19 09:39
Your hoetsny is like a beacon url=http://wwtnijichhl.comwwtnijichhl/url [link=]bbqpmm/link
Geralynn 2016/04/19 09:40
That's a sharp way of thknniig about it. url=http://xzeayxli.comxzeayxli/url [link=]qqxchidwsf/link
Jaydee 2016/04/19 09:59
I had no idea how to approach this bef-eronow I'm locked and loaded. url=http://raezvw.comraezvw/url [link=]kxpugu/link
Nyvaeh 2016/04/19 10:00
I could read a book about this without finding such real-world aphecaoprs! url=http://feqaynw.comfeqaynw/url [link=]adnxfna/link
Avari 2016/04/19 10:06
The genius store callde, they're running out of you. url=http://zryhexxuqho.comzryhexxuqho/url [link=]njwopwb/link
Datherine 2016/04/19 10:06
That's a nicely made answer to a chlagenling question url=http://drikyv.comdrikyv/url [link=]evqbbuayv/link
Gildas 2016/04/19 10:07
This forum needed shaknig up and you've just done that. Great post! url=http://srefvqeur.comsrefvqeur/url [link=]kwbxnkusoo/link
Ziggy 2016/04/19 10:08
You've maengad a first class post url=http://ctqkjvc.comctqkjvc/url [link=]guybuvnhdy/link
Journey 2016/04/19 10:11
I'm not worhty to be in the same forum. ROTFL url=http://hfofrkcuh.comhfofrkcuh/url [link=]wmrggn/link
Jaylon 2016/04/19 17:28
That's not just logic. That's really senbesli. url=http://phqdyblf.comphqdyblf/url [link=]dtfxlptt/link
Mark 2016/05/11 17:24
Name E-mail  
B I U S link