Template:StormforgedCornerstonesTable/row: Difference between revisions

From Against the Storm Official Wiki
(Adding options to hide description and show id)
(Simplifying since the skip_prices parameter is not needed based on having the wholly different templates)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:


'''Note: Caption and header row not included when you use this template and shown here for reference and formatting only:'''
'''Note: Caption and header row not included when you use this template and shown here for reference and formatting only:'''
{{StormforgedCornerstonesTable|show_description=show|show_id=no|show_regular=no}}</noinclude>
{{StormforgedCornerstonesTable|show_description=show|show_id=no|show_regular=no}}</noinclude>
{{#ifeq: {{{skip_prices|no}}} | skip
| <!-- swap to version without prices --> {{StormforgedCornerstonesTable/row/SkipPrices|id={{{id|}}}|description={{{description|}}}|upgrade_from={{{upgrade_from|}}}|show_id={{{show_id|}}}|show_description={{{show_description|}}}|show_regular={{{show_regular|}}} }}
| <!-- proceed with this version -->
{{!}}-
{{!}}-
{{#ifeq: {{{show_id|no}}} | show | <!-- default is id hidden -->
{{#ifeq: {{{show_id|no}}} | show | <!-- default is id hidden -->
{{!}} {{{id|—}}} |}}
{{!}} '{{{id|—}}}' | }}
{{!}} {{#if: {{{id|}}} | {{pl|id={{{id}}}|iconsize=large}} |— }}
{{!}} {{#if: {{{id|}}} | {{pl|id={{{id}}}|iconsize=large}} |— }}
{{#ifeq: {{{show_description|show}}} | show | <!-- default is description shown-->
{{#ifeq: {{{show_description|show}}} | show | <!-- default is description shown-->
Line 21: Line 17:
{{!}} {{{price_for_upgrade_in_villagers|0}}}
{{!}} {{{price_for_upgrade_in_villagers|0}}}
{{#ifeq: {{{show_regular|no}}} | show | <!-- default is regular version hidden -->
{{#ifeq: {{{show_regular|no}}} | show | <!-- default is regular version hidden -->
{{!}} {{#if: {{{upgrades_from|}}} | {{pl|id={{{upgrades_from}}}|iconsize=med}} |— }} }}
{{!}} {{#if: {{{upgrades_from|}}} | {{pl|id={{{upgrades_from}}}|iconsize=med}} |— }}
}} <!-- remember to terminate the table after adding the last row! --><noinclude>
}} <!-- remember to terminate the table after adding the last row! --><noinclude>
|}</noinclude>
|}</noinclude>

Latest revision as of 16:18, 4 May 2024

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

Documentation not available. Please go create it.

Documentation instead imported 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: Caption and header 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