Difference between revisions of "Passive Talent info"
Stratonian (talk | contribs) m (Undo revision 5559 by Stratonian (talk)) Tag: Undo |
Stratonian (talk | contribs) m |
||
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 |
Revision as of 17:44, 19 August 2023
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.