Difference between revisions of "Talent info"

(Added talent info template)
 
m (required parameters)
Line 14: Line 14:
 
! colspan="2" style="background-color:#24222a" | <center>{{{name|{{PAGENAME}}}}}</center><!-- name -->
 
! colspan="2" style="background-color:#24222a" | <center>{{{name|{{PAGENAME}}}}}</center><!-- name -->
 
|-
 
|-
{{#if:{{{stat|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''[[Stat]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{stat}}}}}
+
| class="skill-infobox-row-heading" | '''[[Stat]]''' || class="skill-infobox-row-data" | {{{stat}}}
 
|-
 
|-
{{#if:{{{value|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Change'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{value}}}}}
+
| class="skill-infobox-row-heading" | '''Change''' || class="skill-infobox-row-data" | {{{value}}}
 
|-
 
|-
 
|}</div><!--
 
|}</div><!--
 
DESCRIPTION
 
DESCRIPTION
 
-->{{{description|{{error|No description provided. Add a description parameter.}}}}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
 
-->{{{description|{{error|No description provided. Add a description parameter.}}}}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Revision as of 21:11, 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.