Difference between revisions of "Template:Achievement table/intro"

From QWiki
m
m
Line 7: Line 7:
 
! style="text-align:center;width:40px" | Mode
 
! style="text-align:center;width:40px" | Mode
 
! style="text-align:left;padding-left:0.7em; width:190px;" | With  
 
! style="text-align:left;padding-left:0.7em; width:190px;" | With  
{{#if:{{{prize|}}} |! style="width:60px;"{{!}}Prize||}}
+
{{#if:{{{prize|}}} |! style="width:60px;"{{!}}Prize|{{#ifeq:{{{prize|}}} | hide ||{{!}} {{!}}{{{prize}}}}}|}}
 
|-
 
|-
 
</includeonly>
 
</includeonly>
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Revision as of 07:49, 27 September 2017

Documentation (view - edit)

Variables

  • |prize=hide to remove Prize column header. You must also make changes to each Template:Achievement row.


Example with prize column (Default)

{{Achievement table/intro}}
Year Place Event Mode With {{{prize}}}


Example with NO prize column

{{Achievement table/intro|prize=hide}}
Year Place Event Mode With Prize