Difference between revisions of "Related"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) (re-parameterized) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine: | + | <includeonly>{{#vardefine:related|{{#switch:{{lc:{{{3|}}}}} |
|row | |row | ||
− | |rows={{#ask: [[Category: | + | |rows={{#ask: [[Category:{{{1}}}]] [[Has stat::{{{2}}}]] |
| ?Has icon | | ?Has icon | ||
| ?Has skill name | | ?Has skill name | ||
Line 10: | Line 10: | ||
| template=Skill row format}} | | template=Skill row format}} | ||
|table | |table | ||
− | |#default={{#ask: [[Category: | + | |#default={{#ask: [[Category:{{{1}}}]] [[Has stat::{{{2}}}]] |
| ?Has icon | | ?Has icon | ||
| ?Has skill name | | ?Has skill name | ||
Line 28: | Line 28: | ||
| outrotemplate=SkillListTableFooter | | outrotemplate=SkillListTableFooter | ||
}}}}}} | }}}}}} | ||
− | {{#if:{{#var: | + | {{#if:{{#var:related}}|{{#var:related}}|'''No related {{{1}}}.'''}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 15:25, 11 August 2023
Description
Displays a stylized list of all pages in the specified categories that contain the specified Stat.
Usage
{{Related|<category/categories>|<stat>|<notext=notext>}}
Parameters
- notext: Whether or not to include descriptor text.
- Optional.
- Notes: If not set, the following text will display:
==Related== The following can affect (or are affected by) a character's {{{2}}}.
[For each category, a stylized list and accompanying subheading will display.]
Errors
Invalid category. Check documentation.