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

From QWiki
m
m
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable sortable" style="text-align:center;"
+
<includeonly>{| class="wikitable sortable"
 
{{#if: {{{title|}}}|! colspan=9 {{!}}{{{title}}}
 
{{#if: {{{title|}}}|! colspan=9 {{!}}{{{title}}}
 
     {{!}}-}}
 
     {{!}}-}}
! Year
+
! style="text-align:center;width:40px" | Year
 
! width="46px" | Place
 
! width="46px" | Place
! style="text-align:left; padding-left:1em" | Event
+
! style="text-align:left; padding-left:0.7em" | Event
! width:"22px" |  
+
! style="text-align:center;width:40px" | Mode
{{#if:{{{team|}}}|!style="text-align:left;padding-left:1em; width:190px;"{{!}}With}}
+
! style="text-align:left;padding-left:0.7em; width:190px;" | With  
{{#if:{{{prize|}}}|!style="width:60px;"{{!}}Prize}}
+
{{#ifeq:{{{prize|}}} | hide ||! style="width:60px;"{{!}}Prize}}
 
|-
 
|-
 
</includeonly>
 
</includeonly>
 +
<noinclude>{{documentation}}</noinclude>

Latest revision as of 08:05, 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