Difference between revisions of "Passive Talent info"
Stratonian (talk | contribs) m (set tier property) |
Stratonian (talk | contribs) (set 'has icon' property) |
||
Line 33: | Line 33: | ||
|}</div><!-- | |}</div><!-- | ||
DESCRIPTION | DESCRIPTION | ||
− | -->{{#if:{{{tooltip|}}}|{{quotation|{{{tooltip}}}|game}}}}{{#if:{{{description|}}}|{{{description | + | -->{{#if:{{{tooltip|}}}|{{quotation|{{{tooltip}}}|game}}}}{{#if:{{{description|}}}|{{{description}}}}}<!-- |
SET PROPERTIES | SET PROPERTIES | ||
− | -->{{#if:{{{branch|}}}|{{#set:Has branch={{#var:branch}}}}}}{{#if:{{{tier|}}}|{{#set:Has tier={{uc:{{{tier}}}}}}}}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | + | -->{{#if:{{{name|}}}{{NAMESPACE}}|<!-- if there is a name parameter or namespace don't set any properties |
+ | -->|{{#if:{{{branch|}}}|{{#set:Has branch={{#var:branch}}}}}}<!-- | ||
+ | -->{{#if:{{{tier|}}}|{{#set:Has tier={{uc:{{{tier}}}}}}}}}<!-- | ||
+ | -->{{#if:{{{description|}}}|{{#set:Has description={{#var:description}}}}<!-- | ||
+ | -->{{#if:{{{icon|{{#var:defaultIcon}}}}}|{{#set:Has icon={{{icon|{{#explode:{{#var:defaultIcon}}|:|1}}}}}}}<!-- | ||
+ | -->}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 20:37, 21 May 2024
Description
Displays an information page about a talent.
Usage
{{Passive Talent info|<icon=icon>|<name=name>|<description=description>|<stat=stat>|<value=value>}}
Parameters
- icon: An icon of the passive talent.
- Optional. Defaults to '
{{PAGENAME}}.png
'. - Notes: Only use if the icon name differs from the name of the page.
- order: The order of the passive talent within a tier.
- Optional.
- Notes: Used to match the talent's position with the in-game interface.
- tier: The passive talent's tier in the talent tree.
- Optional.
- Notes: In Roman numerals.