Changes

318 bytes added ,  22:26, 20 April 2017
allow suppression of headings by parameter
Line 1: Line 1: −
<includeonly>{{#switch: {{{1}}}
+
<onlyinclude><!--
 +
-->{{#arraydefine:values|image,name,description,ingredients,energy,health,buff,duration,recipe,sellprice|,}}<!--
 +
-->{{#arraydefine:valuesToHide|{{{hide|}}}|,}}<!--
 +
-->{{#arraydiff:valuesToShow|values|valuesToHide}}
 +
{{#switch: {{lc:{{{1}}}}}
 +
|foot|footer=
 +
{{!}}-
 +
{{!}}}
 
|head
 
|head
|Head
+
|header=
|header
+
{{{!}} class="wikitable sortable" id="roundedborder"
|Header={{{!}} class="wikitable sortable" id="roundedborder"
+
{{#arrayprint:valuesToShow|!|@@@@|
!class="unsortable" {{!}} Image
+
  {{#switch:@@@@
!Name
+
    |image=!class="unsortable"{{!}}Image
!Description
+
    |buff=!Buff(s)
!Ingredients
+
    |duration=!Buff(s) Duration
!Energy
+
    |recipe=!Recipe Source(s)
!Health
+
    |sellprice=!Sell Price
!Buff(s)
+
    |#default=!{{ucfirst:@@@@}}
!Buff(s) Duration
+
  }}
!Recipe Source(s)
+
}}
!Sell Price
+
}}</onlyinclude><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
|footer
  −
|Footer={{!}}-
  −
{{!}}}
  −
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 
106,241

edits