Difference between revisions of "Passive Talent info"
Stratonian (talk | contribs) m (syntax fix) |
Stratonian (talk | contribs) m (categorization) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
-->{{#if:{{{icon|}}}<!-- if icon exists | -->{{#if:{{{icon|}}}<!-- if icon exists | ||
-->|[[{{{icon}}}|85px]]<!-- use provided icon | -->|[[{{{icon}}}|85px]]<!-- use provided icon | ||
− | -->|{{#vardefine:defaultIcon|File | + | -->|{{#vardefine:defaultIcon|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.png}}<!-- else use default icon |
-->{{#ifexist:{{#var:defaultIcon}}<!-- if default icon exists | -->{{#ifexist:{{#var:defaultIcon}}<!-- if default icon exists | ||
-->|[[{{#var:defaultIcon}}|85px]]<!-- use default icon | -->|[[{{#var:defaultIcon}}|85px]]<!-- use default icon | ||
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}}}}}}}}} | |
− | + | {{InfoboxRow|'''Change'''|{{{value}}}}} | |
− | |||
− | |||
− | |||
|}</div><!-- | |}</div><!-- | ||
SET PROPERTIES | SET PROPERTIES | ||
− | -->{{{description}}}{{#set:Has talent name={{#var:name}}}}{{#set:Has stat={{ | + | -->{{{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}}}}}| |_}}}}<!-- set stat name | ||
+ | -->[[Category:Passive Talents]]</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 20:31, 3 March 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.
- tier: The passive talent's tier in the talent tree.
- Optional.
- Notes: In roman numerals.