Difference between revisions of "Passive Talent info"

m (set tier property)
(set 'has icon' property)
Line 33: Line 33:
 
|}</div><!--
 
|}</div><!--
 
DESCRIPTION
 
DESCRIPTION
-->{{#if:{{{tooltip|}}}|{{quotation|{{{tooltip}}}|game}}}}{{#if:{{{description|}}}|{{{description}}}{{#set:Has 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

Arrow.pngicon: 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.
Arrow.pngname: The name of the talent.
Optional. Defaults to '{{PAGENAME}}'.
Arrow.pngdescription: A description of the talent.
Optional.
Arrow.pngtooltip: The tooltip text that appears upon hovering over the passive talent.
Optional.
Arrow.pngbranch: The branch that the passive talent is in.
Optional.
Arrow.pngorder: The order of the passive talent within a tier.
Optional.
Notes: Used to match the talent's position with the in-game interface.
Arrow.pngtier: The passive talent's tier in the talent tree.
Optional.
Notes: In Roman numerals.