Difference between revisions of "Related"

(commenting)
m
Line 1: Line 1:
 
<includeonly>{{#vardefine:related|{{#switch:{{lc:{{{3|}}}}}<!-- check format -->
 
<includeonly>{{#vardefine:related|{{#switch:{{lc:{{{3|}}}}}<!-- check format -->
|row
+
|skillrow=<!-- Skill row format
|rows=<!-- Skill row format
 
 
-->{{#ask: [[Category:{{ucfirst:{{lc:{{{1}}}}}}}]]<!-- get pages in corresponding category
 
-->{{#ask: [[Category:{{ucfirst:{{lc:{{{1}}}}}}}]]<!-- get pages in corresponding category
 
--> [[Has stat::{{{2}}}]]<!-- get pages with corresponding stat -->
 
--> [[Has stat::{{{2}}}]]<!-- get pages with corresponding stat -->
Line 11: Line 10:
 
| format=template
 
| format=template
 
| template=Skill row format}}
 
| template=Skill row format}}
|table
+
|skilltable
 
|#default=<!-- SkillListTable format
 
|#default=<!-- SkillListTable format
 
-->{{#ask: [[Category:{{ucfirst:{{lc:{{{1}}}}}}}]]<!-- get pages in corresponding category
 
-->{{#ask: [[Category:{{ucfirst:{{lc:{{{1}}}}}}}]]<!-- get pages in corresponding category

Revision as of 17:01, 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

Arrow.png1: The categories to query.
Required.
Notes: Comma separated, can be skills or passive talents
Arrow.png2: The stat to query.
Required.
Arrow.pngnotext: 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.