Difference between revisions of "Talent info"

m
m (categorization)
 
(4 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
|-
 
|-
 
! colspan="2" style="background-color:#24222a" | <center>{{#var:name}}</center><!-- name -->
 
! colspan="2" style="background-color:#24222a" | <center>{{#var:name}}</center><!-- name -->
|-
+
{{InfoboxRow|'''[[Stat]]'''|{{stat|{{sc|{{{stat}}}}}}}}}
| class="skill-infobox-row-heading" | '''[[Stat]]''' || class="skill-infobox-row-data" | {{stat|{{sc|{{{stat}}}}}}}
+
{{InfoboxRow|'''Change'''|{{{value}}}}}
|-
 
| class="skill-infobox-row-heading" | '''Change''' || class="skill-infobox-row-data" | {{{value}}}
 
|-
 
 
|}</div><!--
 
|}</div><!--
 
SET PROPERTIES
 
SET PROPERTIES
-->{{{description}}}{{#set:Has talent name={{#var:name}}}}{{#set:Has stat={{sc|{{{stat}}}}}}}{{#set:Has stat value={{{value}}}}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
+
-->{{{description}}}{{#set:Has description={{{description}}}}}{{#set:Has talent name={{#var:name}}}}{{#set:Has stat=1;{{{value|0}}}<!-- set stat index and value
 +
-->;{{#replace:{{sc|{{{stat}}}}}|&nbsp;|_}}}}<!-- set stat name
 +
-->[[Category:Passive Talents]]</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Latest revision as of 20:31, 3 March 2024

Description[edit]

Displays an information page about a talent.

Usage[edit]

{{Talent info|<icon=icon>|<name=name>|<description=description>|<stat=stat>|<value=value>}}

Parameters[edit]

Arrow.pngimage: An image of the talent.
Optional. Defaults to '{{PAGENAME}}.png'.
Notes: Only use if the image 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.pngstat: The stat changed by the talent.
Required.
Arrow.pngvalue: The value of the stat change.
Required.
Notes: Include units.