Difference between revisions of "Passive Talent info"
Stratonian (talk | contribs) (set 'has icon' property) |
Stratonian (talk | contribs) (Has talent order property) |
||
Line 36: | Line 36: | ||
SET PROPERTIES | SET PROPERTIES | ||
-->{{#if:{{{name|}}}{{NAMESPACE}}|<!-- if there is a name parameter or namespace don't set any properties | -->{{#if:{{{name|}}}{{NAMESPACE}}|<!-- if there is a name parameter or namespace don't set any properties | ||
− | -->|{{#if:{{{branch|}}}|{{#set:Has branch={{#var:branch}}}}}}<!-- | + | -->|{{#if:{{{branch|}}}|{{#set:Has branch={{#var:branch}}}}}}<!-- set 'Has branch' property |
− | -->{{#if:{{{tier|}}}|{{#set:Has tier={{uc:{{{tier}}}}}}}}}<!-- | + | -->{{#if:{{{order|}}}|{{#set:Has talent order={{{order}}}}}}}<!-- set 'Has talent order' property |
− | -->{{#if:{{{description|}}}|{{#set:Has description={{#var:description}}}}<!-- | + | -->{{#if:{{{tier|}}}|{{#set:Has tier={{uc:{{{tier}}}}}}}}}<!-- set 'Has tier' property |
− | -->{{#if:{{{icon|{{#var:defaultIcon}}}}}|{{#set:Has icon={{{icon|{{#explode:{{#var:defaultIcon}}|:|1}}}}}}}<!-- | + | -->{{#if:{{{description|}}}|{{#set:Has description={{#var:description}}}}<!-- set 'Has description' property |
+ | -->{{#if:{{{icon|{{#var:defaultIcon}}}}}|{{#set:Has icon={{{icon|{{#explode:{{#var:defaultIcon}}|:|1}}}}}}}<!-- set 'Has icon' property | ||
-->}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | -->}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 20:38, 22 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.