Template:PerksCornerstonesTable/row: Difference between revisions
m (wrong documentation) |
(added support for hiding individual source columns) |
||
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 | Yes | No }} | }} | ||
| {{#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 | Yes | No }} | }} | ||
| {{#ifeq: {{{is_from_trader|}}} | true | Yes | No }} | {{#ifeq: {{{show_source_order|show}}} | show | <!--default is source altar shown --> | ||
{{!}} {{#ifeq: {{{is_from_order|}}} | true | Yes | No }} | }} | |||
{{#ifeq: {{{show_source_relic|show}}} | show | <!--default is source altar shown --> | |||
{{!}} {{#ifeq: {{{is_from_relic|}}} | true | Yes | No }} | }} | |||
{{#ifeq: {{{show_source_trader|show}}} | show | <!--default is source altar shown --> | |||
{{!}} {{#ifeq: {{{is_from_trader|}}} | true | Yes | No }} | }} | |||
{{#ifeq: {{{show_price|show}}} | show | <!-- default is price shown --> | {{#ifeq: {{{show_price|show}}} | show | <!-- default is price shown --> | ||
{{!}} {{{price|—}}} | }} | {{!}} {{{price|—}}} | }} | ||
<noinclude> | <noinclude> | ||
|}</noinclude> | |}</noinclude> |
Revision as of 16:42, 4 May 2024
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:
Name | Rarity | Description | Sources | Price | ||||
---|---|---|---|---|---|---|---|---|
Alt | Cor | Ord | Rel | Trd | ||||
— | — | — | No | No | No | No | No | — |