Difference between revisions of "Related"

m (Added format parameter)
(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>

Revision as of 16:38, 31 March 2023