From Travian v2 Wiki (S2-S6), the encyclopedia anybody can edit
This is an organised index of all Magic words that are known to work on this wiki. "XYZ" indicates user input, which is used in the example.
Table of contents
| Word | Explanation
|
| __NOTOC__
| Hides the Table of Contents on the current page.
|
| __FORCETOC__
| Forces the table of contents to appear.
|
| __TOC__
| Places a Table of Contents here. Also forces it to appear.
|
More magic
| Word | Explanation
|
| __NOEDITSECTION__
| Hides the edit links beside headings.
|
__NOTITLECONVERT__ __NOTC__
| Like __NOCC__ but affecting article title only.
|
| __END__
| Allows for trailing whitespace to be included in the page save.
|
Template modifiers
| Word | Usage | Explanation
|
| {{subst:}}
| {{subst:XYZ}}
| Substitutes the template call with the content of the template.
|
| {{msg:}}
| {{msg:XYZ}}
| If a template clashes with a magic word, use of the msg: modifier will use the template instead of the magic word. Otherwise, the magic word is used.
|
| {{msgnw:}}
| {{msgnw:XYZ}}
| The template message is pasted as unevaluated
|