Difference between revisions of "Template:ConsumableTable/head"

From Stoneshard wiki
Jump to navigation Jump to search
(added parameter for properties and uses, but flipped the logic - no parameter means the columns will show up)
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="stoneshard sortable" border="1px solid" style="text-align: center;"
<includeonly>{| class="stoneshard sortable" border="1px solid" style="text-align: center;"
! width="5%" | Item
!! width="5%" | Item
! width="1%" | {{abbr|Inv. slots|Width {{x}} Height}}
!! width="1%" | {{abbr|Inv. slots|Width {{x}} Height}}
! width="1%" | Price[[File:Gold.png|27x27px]]
!! width="1%" | Price[[File:Gold.png|27x27px]]
{{#if:{{{subcategory|}}}|
{{#if:{{{subcategory|}}}|
! width="1%" {{!}} Subcategory{{#vardefine:consumable table subcat|1}}
!! width="1%" {{!}} Subcategory{{#vardefine:consumable table subcat|1}}
}}
}}<!--
{{#if:{{{ingredients|}}}|
-->{{#if:{{{ingredients|}}}|
! width="1%" {{!}} Ingredients{{#vardefine:consumable table ingredients|1}}
!! width="1%" {{!}} Ingredients{{#vardefine:consumable table ingredients|1}}
}}
}}<!--
{{#if:{{{properties|}}}||
-->{{#if:{{{properties|}}}||
! width="10%" | Properties{{#vardefine:consumable table properties|1}}
!! width="10%" {{!}} Properties{{#vardefine:consumable table properties|1}}
}}
}}<!--
{{#if:{{{uses|}}}||
-->{{#if:{{{uses|}}}||
! width="1%" data-sort-type="number" | Uses{{#vardefine:consumable table uses|1}}
!! width="1%" data-sort-type="number" {{!}} Uses{{#vardefine:consumable table uses|1}}
}}
}}<!--
{{#if:{{{freshness|}}}|
-->{{#if:{{{freshness|}}}|
! width="1%" {{!}} Freshness{{#vardefine:consumable table freshness|1}}
!! width="1%" {{!}} Freshness{{#vardefine:consumable table freshness|1}}
}}
}}<!--
! width="10%" | Description<!--
-->{{#if:{{{description|}}}||
!! width="10%" {{!}} Description{{#vardefine:consumable table description|1}}
}}<!--
-->{{#if:{{{notes|}}}|
-->{{#if:{{{notes|}}}|
 
!! width="10%" {{!}} additional notes{{#vardefine:consumable table notes|1}}
! width="10%" {{!}} additional notes{{#vardefine:consumable table notes|1}}
}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>

Latest revision as of 16:17, 3 September 2025

This template has no documentation. If you know how to use this template, please add some.