Difference between revisions of "Related"
Stratonian (talk | contribs) m (syntax fix) |
Stratonian (talk | contribs) m (added error message to default parameter) |
||
Line 33: | Line 33: | ||
| introtemplate=TalentListTableHeader | | introtemplate=TalentListTableHeader | ||
| outrotemplate=ListTableFooter | | outrotemplate=ListTableFooter | ||
− | }}}}}} | + | }} |
+ | |#default={{error|Invalid category. Check documentation.}}}}}} | ||
{{#if:{{#var:related}}<!-- if related pages exist | {{#if:{{#var:related}}<!-- if related pages exist | ||
-->|{{#var:related}}<!-- print related pages | -->|{{#var:related}}<!-- print related pages | ||
-->|'''No related {{#var:category}}.'''}}<!-- else print no related pages | -->|'''No related {{#var:category}}.'''}}<!-- else print no related pages | ||
--></includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | --></includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 20:36, 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.