Difference between revisions of "Template:Achievement/doc"

From QWiki
m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Use==
+
'''Variables'''
* year=
+
* '''year='''
* place=see [[Template:Placement]] for placings
+
* '''place=''' see [[Template:Placement]] for placings
* event=name including season and number
+
* '''event=''' name including season and number
* additional=written in small text, directly after event, good for displaying "Division X"
+
* '''additional=''' written in small text, directly after event, good for displaying "Division X"
* mode=1on1/2on2/4on4
+
* '''mode=''' 1on1/2on2/4on4
* flag=two letter country
+
* '''flag=''' two letter country
* team=teamname or name of partner
+
* '''team=''' teamname or name of partner
* prize=prizemoney
+
* '''prize=''' amount of money, also add currency. If <code>|prize=hide</code> this cell will be hidden.
  
  
<pre>
+
'''Example with prize column'''
{{Achievementrow|year=|place=|event=|additional=|mode|flag=|team|prize=}}
+
<pre>{{Achievement table/intro}}
</pre>
+
{{Achievement|year=2009|place=3|event=QHLAN 12|mode=4on4|flag=se|team=sega gubbar|prize=}}</pre>
 +
{{Achievement table/intro}}
 +
{{Achievement|year=2009|place=3|event=QHLAN 12|mode=4on4|flag=se|team=sega gubbar|prize=$500}}
 +
{{Achievement table/outro}}
 +
 
 +
'''Example with NO prize column'''
 +
<pre>{{Achievement table/intro|prize=hide}}
 +
{{Achievement|year=2009|place=3|event=QHLAN 12|mode=4on4|flag=se|team=sega gubbar|prize=hide}}</pre>
 +
{{Achievement table/intro|prize=hide}}
 +
{{Achievement|year=2009|place=3|event=QHLAN 12|mode=4on4|flag=se|team=sega gubbar|prize=hide}}
 +
{{Achievement table/outro}}

Latest revision as of 08:15, 27 September 2017

Variables

  • year=
  • place= see Template:Placement for placings
  • event= name including season and number
  • additional= written in small text, directly after event, good for displaying "Division X"
  • mode= 1on1/2on2/4on4
  • flag= two letter country
  • team= teamname or name of partner
  • prize= amount of money, also add currency. If |prize=hide this cell will be hidden.


Example with prize column

{{Achievement table/intro}}
{{Achievement|year=2009|place=3|event=QHLAN 12|mode=4on4|flag=se|team=sega gubbar|prize=}}
Year Place Event Mode With Prize
2009 A33rd QHLAN 12 4on4 Sweden sega gubbar $500


Example with NO prize column

{{Achievement table/intro|prize=hide}}
{{Achievement|year=2009|place=3|event=QHLAN 12|mode=4on4|flag=se|team=sega gubbar|prize=hide}}
Year Place Event Mode With
2009 A33rd QHLAN 12 4on4 Sweden sega gubbar