Difference between revisions of "Template:Achievement"

From QWiki
m
m
Line 9: Line 9:
 
| style="text-align:left; padding-left:1em" | [[{{{event}}}]] <small>{{{additional|}}}</small>
 
| style="text-align:left; padding-left:1em" | [[{{{event}}}]] <small>{{{additional|}}}</small>
 
| {{{mode}}}
 
| {{{mode}}}
{{#if:{{{flag|}}}  {{{team|}}}|style="text-align:left; padding-left:1em" width="20px"{{!}}{{FlagNoLink/{{{flag}}}}}{{{team|}}}|}}  
+
{{#if:{{{flag|}}}  {{{team|}}}|style="text-align:left; padding-left:1em;"{{!}}{{FlagNoLink/{{{flag}}}}}{{{team|}}}|}}  
 
{{#if:{{{prize|}}}|{{!}}{{{prize}}}}}
 
{{#if:{{{prize|}}}|{{!}}{{{prize}}}}}
 
|-
 
|-
 
</includeonly>
 
</includeonly>
 
<noinclude>{{Documentation}}</noinclude>
 
<noinclude>{{Documentation}}</noinclude>

Revision as of 14:34, 14 April 2017

Documentation (view - edit)

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

style="text-align:left; padding-left:1em;"|Swedensega 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

style="text-align:left; padding-left:1em;"|Swedensega gubbar

hide