Template:Consumables: Difference between revisions

From PZwiki
m (changed to infobox category)
(added "position" parameter for the table's position on the page. Options are: left, right or center)
Line 4: Line 4:


-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}<>0|
-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}<>0|
<TABLE class="mw-collapsible wikitable" style="text-align: center; margin-left:auto; margin-right:auto; vertical-align:text-top;">
<TABLE class="mw-collapsible wikitable" style="text-align: center; {{#switch: {{{position|}}}|center=margin-left:auto; margin-right:auto;|right=margin-left:auto;|left=margin-right:auto;|}} vertical-align:text-top;">
   <TR>
   <TR>
     <TH rowspan="2"></TH>
     <TH rowspan="2"></TH>

Revision as of 06:44, 22 June 2018

[view] [edit] [history] [purge] Template documentation
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:Consumables/doc.
Editors can experiment in this template's sandbox (create)