Template:StormforgedCornerstonesTable: Difference between revisions

From Against the Storm Official Wiki
(Adding option to skip the price columns)
m (making collapsible)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="wikitable sortable"
<noinclude>{{Documentation}}
|+ {{{caption|Stormforged Cornerstones}}}
 
! {{#ifeq: {{{skip_prices|no}}} | skip | <!-- nothing if skipping --> | rowspan=2 }} class="unsortable"| Icon
 
! {{#ifeq: {{{skip_prices|no}}} | skip | <!-- nothing if skipping --> | rowspan=2{{!}} }} Name
'''Note: Table row not included when you use this template and shown here for reference and formatting only:
! {{#ifeq: {{{skip_prices|no}}} | skip | <!-- nothing if skipping --> | rowspan=2 }} class="unsortable"| Description {{#ifeq: {{{skip_prices|no}}} | skip | <!-- nothing if skipping --> | &#10;<!-- continues below if not skipping -->
 
!colspan=2{{!}} Price
</noinclude>{{{!}} class="wikitable sortable mw-collapsible"
!colspan=2{{!}} Price when upgrading
{{!}}+ {{{caption|Stormforged Cornerstones}}}
{{#ifeq: {{{show_id|no}}} | show | <!-- default is id hidden -->
!rowspan=2{{!}} ID | }}
!rowspan=2{{!}} Name
{{#ifeq: {{{show_description|show}}} | show | <!-- default is description shown -->
!rowspan=2 class="unsortable"{{!}} Description | }}
!colspan=2 class="unsortable"{{!}} Price
!colspan=2 class="unsortable"{{!}} Price when upgrading
{{#ifeq: {{{show_regular|no}}} | show | <!-- default is regular version hidden -->
!rowspan=2{{!}} Upgrades from | }}
{{!}}-
{{!}}-
! meta resources
! meta resources
Line 11: Line 20:
! meta resources
! meta resources
! villagers
! villagers
}} <!-- end of not-skipping that starts on the line after "Description" header -->
<!-- remember to terminate the table after adding rows! --><noinclude>{{StormforgedCornerstonesTable/row}}
<!-- remember to terminate the table after adding rows! -->
|}</noinclude>

Latest revision as of 02:29, 6 May 2024

This is the Template Documentation from Template:StormforgedCornerstonesTable/doc.

Important: This template and all related templates are not designed to be used directly. Instead, use Template:Stormforged Cornerstones; it is powerful, better documented, and much simpler to use than these templates.

Index of related templates:

Template Purpose
Template:StormforgedCornerstonesTable Primary, default table header template
Template:StormforgedCornerstonesTable/row Default table row template
Template:StormforgedCornerstonesTable/end Table markup closing
Template:StormforgedCornerstonesTable/SkipPrices Table header template, but without the prices columns
Template:StormforgedCornerstonesTable/row/SkipPrices Table row template, but without the prices columns
Template:StormforgedCornerstonesList/item List version row template (there is no list header template)


Note: Table row not included when you use this template and shown here for reference and formatting only:

Stormforged Cornerstones
Name Description Price Price when upgrading
meta resources villagers meta resources villagers
0 0 0 0