Template:AbilityList: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
|hb={{{!}} class="wikitable sortable" width="100%"
|hb={{{!}} class="wikitable sortable" width="100%"
! Ability!!Type!!Difficulty!!Cost!!Prereqs!!Effect
! Ability!!Type!!Difficulty!!Cost!!Prereqs!!Effect
|hp={{{!}} class="wikitable sortable" width="100%"
! Ability!!Type!!Prereqs!!Effect
|
|
{{!}}-
{{!}}-
Line 14: Line 16:
This is a display template for displaying lists of abilities.
This is a display template for displaying lists of abilities.


Variable one will trigger the display of a header if its "h" "ht" or "hb".
Variable one will trigger the display of a header:
{class="wikitable"

|h|Barbarian abilities|8
Variable "c" will determine how many columns (not variables) are processed.{{Cat|Display Templates,Templates}}</noinclude>
|ht|Thief khri|8
|hb|Ranger beseeches|6
|hp|Paladin glyphs|4
}
The "template=" variable should be set to "AbilityList#" where # is the number of columns of information needed.{{Cat|Display Templates,Templates}}</noinclude>

Revision as of 19:42, 15 March 2015

Usage Documentation

This is a display template for displaying lists of abilities.

Variable one will trigger the display of a header: {class="wikitable" |h|Barbarian abilities|8 |ht|Thief khri|8 |hb|Ranger beseeches|6 |hp|Paladin glyphs|4 } The "template=" variable should be set to "AbilityList#" where # is the number of columns of information needed.