Difference between revisions of "Talent info"

m (used stat template)
m
Line 8: Line 8:
 
-->|{{#vardefine:defaultIcon|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.png}}<!-- else use default icon
 
-->|{{#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}}|278px]]<!-- use default icon
+
-->|[[{{#var:defaultIcon}}|85px]]<!-- use default icon
 
-->|[[{{#var:defaultIcon}}|Upload the talent icon.]]}}}}<!-- else prompt for icon upload
 
-->|[[{{#var:defaultIcon}}|Upload the talent icon.]]}}}}<!-- else prompt for icon upload
 
--></center>
 
--></center>

Revision as of 21:16, 11 August 2023

Description

Displays an information page about a talent.

Usage

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

Parameters

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.