Difference between revisions of "Related"
Stratonian (talk | contribs) m (removed 'stat' parameter since it was causing formatting problems) |
Stratonian (talk | contribs) m |
||
Line 10: | Line 10: | ||
==={{#var:category}}=== | ==={{#var:category}}=== | ||
}} | }} | ||
− | {{#vardefine:result|{{#switch:{{#var:category}}<!-- | + | {{#vardefine:result<!-- define result |
+ | -->|{{#switch:{{#var:category}}<!-- switch the table used based upon the category | ||
-->|Skills=<!-- Category:Skills | -->|Skills=<!-- Category:Skills | ||
-->{{#ask: [[Category:{{#var:category}}]]<!-- get pages in corresponding category | -->{{#ask: [[Category:{{#var:category}}]]<!-- get pages in corresponding category |
Revision as of 18:37, 15 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.