Difference between revisions of "Related"
Stratonian (talk | contribs) m (Added format parameter) |
Stratonian (talk | contribs) (returns "No skills." if no skills) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch:{{lc:{{{2|}}}}} | + | <includeonly>{{#vardefine:skills|{{#switch:{{lc:{{{2|}}}}} |
|row | |row | ||
|rows={{#ask: [[Category:Skills]] [[Has stat::{{{1}}}]] | |rows={{#ask: [[Category:Skills]] [[Has stat::{{{1}}}]] | ||
Line 27: | Line 27: | ||
| introtemplate=SkillListTableHeader | | introtemplate=SkillListTableHeader | ||
| outrotemplate=SkillListTableFooter | | outrotemplate=SkillListTableFooter | ||
− | }}}}</includeonly><noinclude>{{Related skills/Documentation}}</noinclude> | + | }}}}}} |
+ | {{#if:{{#var:skills}}|{{#var:skills}}|'''No skills.'''}}</includeonly><noinclude>{{Related skills/Documentation}}</noinclude> |