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:
+
{{parameter|notext|Whether or not to include 'related skills' text.||If not set, the following 'related skills' text will display:
 
<pre>
 
<pre>
 
==Related==
 
==Related==

Revision as of 13:26, 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: Whether or not to include 'related skills' text.
Optional.
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.