2,507
edits
(Add dpl mode of the skill table.) |
(Correctly escape parser functions in the #dpl call. Add error message on an invalid hero class.) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude> | <includeonly><onlyinclude> | ||
{{#if:{{ValidateHeroClass|{{{ | {{#if:{{{class|}}} | ||
|{{#if:{{ValidateHeroClass|{{{class|}}}}} | |||
|{{#dpl: | |||
|category = {{{class|}}} & Skills | |||
|namespace = | |||
|include = {Infobox card}:name:xpcost:text:playcost | |||
|table = class="wikitable sortable",-, Name, XP, Text, Play Cost | |||
|tablerow = [[%PAGE%¦%%]], %%, ²{#replace:%%¦<br><br>¦<br>}², ²{#if:%%¦%%¦-}² | |||
|tablesortcol = 2 | |||
}} | |||
| | |||
[[Template:ValidateHeroClass|Invalid heroclass. Read the template documentation for valid hero classes]] | |||
}} | }} | ||
| | | | ||
{{{!}} class="wikitable" | {{{!}} class="wikitable" | ||
!Name | !Name |