Template:StormforgedCornerstonesTable/row: Difference between revisions
From Against the Storm Official Wiki
(forgot to make it call perk link) |
(Simplifying since the skip_prices parameter is not needed based on having the wholly different templates) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{Documentation}} Documentation instead imported from [[Template:StormforgedCornerstonesTable/doc]]: | ||
{{StormforgedCornerstonesTable/doc}} | |||
'''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> | ||
{{!}}- | {{!}}- | ||
{{!}} {{#if: {{{id|}}} | {{pl| id={{{id}}} | iconsize=large}} | — }} | {{#ifeq: {{{show_id|no}}} | show | <!-- default is id hidden --> | ||
{{!}} {{{description|—}}} | {{!}} '{{{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_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 | <!-- | {{#ifeq: {{{show_regular|no}}} | show | <!-- default is regular version hidden --> | ||
{{!}} {{#if: {{{upgrades_from|}}} | {{pl|id={{{upgrades_from}}}|iconsize= | {{!}} {{#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> |
Latest revision as of 16:18, 4 May 2024
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:
Name | Description | Price | Price when upgrading | ||
---|---|---|---|---|---|
meta resources | villagers | meta resources | villagers | ||
— | — | 0 | 0 | 0 | 0 |