Difference between revisions of "Related/Documentation"

m (→‎Parameters: added parameter)
Line 8: Line 8:
 
{{parameter|1|The categories to query.|4=Comma separated, can be <code>skills</code> or <code>passive talents</code>}}
 
{{parameter|1|The categories to query.|4=Comma separated, can be <code>skills</code> or <code>passive talents</code>}}
 
{{parameter|2|The stat to query.}}
 
{{parameter|2|The stat to query.}}
 +
{{parameter|notext||4=If not set, the following 'related skills' text will display:
 +
<pre>
 +
==Related==
 +
The following can affect (or are affected by) a character's {{{2}}}.
 +
</pre>
 +
[For each category, a subheading will display and below it that category's related skills.]
 +
}}
  
 
==Errors==
 
==Errors==
 
'''Invalid category. Check documentation.'''
 
'''Invalid category. Check documentation.'''

Revision as of 13:25, 15 August 2023

Description

Returns a list of all skills in the specified categories that contain a 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:
Required.
Notes: If not set, the following 'related skills' text will display:
==Related==
The following can affect (or are affected by) a character's {{{2}}}.

[For each category, a subheading will display and below it that category's related skills.]

Errors

Invalid category. Check documentation.