Template:StormforgedCornerstonesTable/row: Difference between revisions

From Against the Storm Official Wiki
(Created to add rows to the parent template's table)
 
(Simplifying since the skip_prices parameter is not needed based on having the wholly different templates)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
|-
<noinclude>{{Documentation}} Documentation instead imported from [[Template:StormforgedCornerstonesTable/doc]]:
| {{{icon_filename}}}
{{StormforgedCornerstonesTable/doc}}
| {{{cornerstone_name}}}
 
| {{{description}}}
 
| {{{price_in_meta_resources}}}
'''Note: Caption and header row not included when you use this template and shown here for reference and formatting only:'''
| {{{price_in_villagers}}}
 
| {{{price_for_upgrade_in_meta_resources}}}
{{StormforgedCornerstonesTable|show_description=show|show_id=no|show_regular=no}}</noinclude>
| {{{price_for_upgrade_in_villagers}}}
{{!}}-
<!-- remember to terminate the table after adding the last row! -->
{{#ifeq: {{{show_id|no}}} | show | <!-- default is id hidden -->
{{!}} '{{{id|—}}}' | }}
{{!}} {{#if: {{{id|}}} | {{pl|id={{{id}}}|iconsize=large}} |— }}
{{#ifeq: {{{show_description|show}}} | show | <!-- default is description shown-->
{{!}} {{{description|—}}} }}
{{!}} {{{price_in_meta_resources|0}}}
{{!}} {{{price_in_villagers|0}}}
{{!}} {{{price_for_upgrade_in_meta_resources|0}}}
{{!}} {{{price_for_upgrade_in_villagers|0}}}
{{#ifeq: {{{show_regular|no}}} | show | <!-- default is regular version hidden -->
{{!}} {{#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