Difference between revisions of "Related"

m
m (TODO: fix passive talents related)
Line 38: Line 38:
 
-->{{#ifeq:{{{2|}}}|{{{2}}}<!-- if second parameter exists
 
-->{{#ifeq:{{{2|}}}|{{{2}}}<!-- if second parameter exists
 
-->|[[Has stat::?;?;{{#replace:{{sc|{{{2}}}}}|&nbsp;|_}}]]}}<!-- only get pages with corresponding stat -->
 
-->|[[Has stat::?;?;{{#replace:{{sc|{{{2}}}}}|&nbsp;|_}}]]}}<!-- only get pages with corresponding stat -->
| ?Has talent name
 
| ?Has stat|+index=3
 
| ?Has stat|+index=2
 
 
| format=template
 
| format=template
 
| introtemplate=Talent table header
 
| introtemplate=Talent table header

Revision as of 20:34, 16 May 2024

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.