Template:StormforgedCornerstonesTable: Difference between revisions

From Against the Storm Official Wiki
(Now uses documentation template)
(Adding options to hide description and show id)
Line 2: Line 2:




'''Note: Table row not included when you use this template and shown here for reference and formatting only:</noinclude>
'''Note: Table row not included when you use this template and shown here for reference and formatting only:</noinclude>{{#ifeq: {{{skip_prices|no}}} | skip  
{{#ifeq: {{{skip_prices|no}}} | skip
| <!-- swap to version without prices --> {{StormforgedCornerstonesTable/SkipPrices|caption={{{caption|}}}|skip_description={{{skip_description|}}}|show_regular={{{show_regular|}}}|show_id={{{show_id|}}} }}
 
| <!-- swap to version without prices --> {{StormforgedCornerstonesTable/SkipPrices|caption={{{caption|}}}|show_regular={{{show_regular|}}} }}


| <!-- proceed with this version -->
| <!-- proceed with this version -->
{{{!}} class="wikitable sortable"
{{{!}} class="wikitable sortable"
{{!}}+ {{{caption|Stormforged Cornerstones}}}
{{!}}+ {{{caption|Stormforged Cornerstones}}}
! rowspan=2{{!}} Name
!rowspan=2{{!}} Name
! rowspan=2 class="unsortable"{{!}} Description
{{#ifeq: {{{show_description|show}}} | show | <!-- default is description shown -->
!rowspan=2 class="unsortable"{{!}} Description | }} <!--hideThisNewline
-->{{#ifeq: {{{show_id|no}}} | show | <!-- default is id hidden -->
!rowspan=2{{!}} Perk ID | }}
!colspan=2{{!}} Price
!colspan=2{{!}} Price
!colspan=2{{!}} Price when upgrading
!colspan=2{{!}} Price when upgrading
{{#ifeq: {{{show_regular|no}}} | show | <!-- add in one more column to show the regular version -->
{{#ifeq: {{{show_regular|no}}} | show | <!-- default is regular version hidden -->
!rowspan=2{{!}} Upgrades from | }}
!rowspan=2{{!}} Upgrades from | }}
{{!}}-
{{!}}-
Line 21: Line 22:
! meta resources
! meta resources
! villagers
! villagers
 
}} <!-- remember to terminate the table after adding rows! --><noinclude>
}} <!-- remember to terminate the table after adding rows! -->
{{StormforgedCornerstonesTable/row}}</noinclude>
<noinclude>{{StormforgedCornerstonesTable/row}}</noinclude>

Revision as of 22:26, 2 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