Template:PerksCornerstonesTable/row: Difference between revisions

From Against the Storm Official Wiki
(adding documentation)
m (reverting icon size)
Tag: Manual revert
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Documentation}} Documentation instead imported from [[Template:StormforgedCornerstonesTable/doc]]:
<noinclude>{{Documentation}} Documentation instead imported from [[Template:PerksCornerstonesTable/doc]]:
{{StormforgedCornerstonesTable/doc}}
{{PerksCornerstonesTable/doc}}




Line 13: Line 13:
{{#ifeq: {{{show_description|show}}} | show | <!-- default is description shown -->
{{#ifeq: {{{show_description|show}}} | show | <!-- default is description shown -->
{{!}} {{{description|—}}} | }}
{{!}} {{{description|—}}} | }}
| {{#ifeq: {{{is_from_altar|}}} | true | Yes | No }}
{{#ifeq: {{{show_source_altar|show}}} | show | <!--default is source altar shown -->
| {{#ifeq: {{{is_from_cornerstone|}}} | true | Yes | No }}
{{!}} {{#ifeq: {{{is_from_altar|}}} | true | {{Abbr|Forsaken Altar (Stormforged Cornerstone)|Alt}} | {{c|Red|x}} }} | }}
| {{#ifeq: {{{is_from_order|}}} | true | Yes | No }}
{{#ifeq: {{{show_source_cornerstone|show}}} | show | <!--default is source cornerstone shown -->
| {{#ifeq: {{{is_from_relic|}}} | true | Yes | No }}
{{!}} {{#ifeq: {{{is_from_cornerstone|}}} | true | {{Abbr|Cornerstone|Cor}} | {{c|Red|x}} }} | }}
| {{#ifeq: {{{is_from_trader|}}} | true | Yes | No }}
{{#ifeq: {{{show_source_order|show}}} | show | <!--default is source altar shown -->
{{!}} {{#ifeq: {{{is_from_order|}}} | true | {{Abbr|Order|Ord}} | {{c|Red|x}} }} | }}
{{#ifeq: {{{show_source_relic|show}}} | show | <!--default is source altar shown -->
{{!}} {{#ifeq: {{{is_from_relic|}}} | true | {{Abbr|Relic (Glade event)|Rel}} | {{c|Red|x}} }} | }}
{{#ifeq: {{{show_source_trader|show}}} | show | <!--default is source altar shown -->
{{!}} {{#ifeq: {{{is_from_trader|}}} | true | {{Abbr|Trader|Trd}} | {{c|Red|x}} }} | }}
{{#ifeq: {{{show_price|show}}} | show | <!-- default is price shown -->
{{#ifeq: {{{show_price|show}}} | show | <!-- default is price shown -->
{{!}} {{{price|—}}} | }}
{{!}} {{{price|—}}} | }}
<noinclude>
<noinclude>
|}</noinclude>
|}</noinclude>

Latest revision as of 15:23, 7 May 2024

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

Documentation not available. Please go create it.

Documentation instead imported from Template:PerksCornerstonesTable/doc:

Important: This template and all related templates are not designed to be used directly. Instead, use Template:Perks; it is powerful, better documented, and much simpler to use than filling out these templates.

Only the last, List/item, is called from the controller. All others are still here in the off chance they may be useful to an author for manually creating tables of perks. However, it is strongly recommended to learn how to use Template:Perks instead. The table version of the view is accomplished with Module:PerksView, which cannot be invoked directly, but is invoked by Module:PerksController.

Index of related templates:

Template Purpose
Template:PerksCornerstonesTable Primary, default table header template
Template:PerksCornerstonesTable/row Default table row template
Template:PerksCornerstonesTable/end Table markup closing
Template:PerksCornerstonesTable/SkipSources Table header template, but without the sources columns
Template:PerksCornerstonesTable/row/SkipSources Table row template, but without the sources columns
Template:PerksCornerstonesList/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:

Perks and Cornerstones
Name Rarity Description Sources Price
Alt Cor Ord Rel Trd
x x x x x