Template:StormforgedCornerstonesTable/row: Difference between revisions

From Against the Storm Official Wiki
(Created to make the alternative version easier to edit)
(Simplifying since the skip_prices parameter is not needed based on having the wholly different templates)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{Documentation}} Documentation instead imported from [[Template:StormforgedCornerstonesTable/doc]]:
'''Note: Header row not included when you use this template and shown here for reference and formatting only:'''
{{StormforgedCornerstonesTable/doc}}
{{StormforgedCornerstonesTable}}</noinclude>
{{#ifeq: {{{skip_prices|no}}} | skip


| <!-- swap to version without prices -->
{{StormforgedCornerstonesTable/row/SkipPrices
|icon_filename={{{icon_filename|—}}}
|cornerstone_name={{{cornerstone_name|—}}}
|description={{{description|—}}} }}


| <!-- proceed with this version -->
'''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>
{{!}}-
{{!}}-
{{!}} {{{icon_filename|—}}}
{{#ifeq: {{{show_id|no}}} | show | <!-- default is id hidden -->
{{!}} {{{cornerstone_name|—}}}
{{!}} '{{{id|—}}}' | }}
{{!}} {{{description|—}}}
{{!}} {{#if: {{{id|}}} | {{pl|id={{{id}}}|iconsize=large}} |— }}
{{#ifeq: {{{show_description|show}}} | show | <!-- default is description shown-->
{{!}} {{{description|—}}} }}
{{!}} {{{price_in_meta_resources|0}}}
{{!}} {{{price_in_meta_resources|0}}}
{{!}} {{{price_in_villagers|0}}}
{{!}} {{{price_in_villagers|0}}}
{{!}} {{{price_for_upgrade_in_meta_resources|0}}}
{{!}} {{{price_for_upgrade_in_meta_resources|0}}}
{{!}} {{{price_for_upgrade_in_villagers|0}}}
{{!}} {{{price_for_upgrade_in_villagers|0}}}
 
{{#ifeq: {{{show_regular|no}}} | show | <!-- default is regular version hidden -->
}} <!-- remember to terminate the table after adding the last row! -->
{{!}} {{#if: {{{upgrades_from|}}} | {{pl|id={{{upgrades_from}}}|iconsize=med}} |— }}
}} <!-- remember to terminate the table after adding the last row! --><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