The Grinns Tale Wiki
Advertisement

Templates[]

  • {{clr}} to add clearing div
  • {{hatnote}} for generic header messages
  • {{distinguish}}: not to be confuse with...
  • {{tl}} to print template links like these
  • {{trim parens}} to remove anything inside ()
  • {{trim}} to remove white spaces before and after a string
  • {{link text}} to get the displayed text of a link (link must be written in wiki syntax)
  • {{category}} to add a category (workaround for category module bug)
  • {{enum}} to create an increasing variable:
    • {{ #vardefine: enum | 1 }}
    • {{subst:enum}}

CSS classes[]

  • table-aligncenter for tables with all cell with text-align: center
  • list for crafting material columns, and list columns in general
  • thumbpre for a pre as thumbnail
  • thumbpre-left for a pre as thumbnail, left aligned

Additional extensions[]

Labeled Section Transclusion:

  • <section begin=chapter /><section end=chapter />
  • {{ #lst: article | chapter }}

Variables:

  • {{ #vardefine: name | value }}
  • {{ #var: name }}
Advertisement