Difference between revisions of "Talent info/Documentation"

(Created page with "==Description== Displays an information page about a talent character. ==Usage== {{T|Talent info|icon{{=}}icon|name{{=}}name|description{{=}}description|stat{{=}}stat|value{{=...")
 
Line 5: Line 5:
  
 
==Parameters==
 
==Parameters==
{{parameter|image|An image of the NPC.|<nowiki>{{PAGENAME}}.jpg</nowiki>|Only use if the image name differs from the name of the page.}}
+
{{parameter|image|An image of the NPC.|<nowiki>{{PAGENAME}}.png</nowiki>|Only use if the image name differs from the name of the page.}}
 
{{parameter|name|The name of the NPC.|<nowiki>{{PAGENAME}}</nowiki>|Only use if the template is on a different page to the NPC's main article.}}
 
{{parameter|name|The name of the NPC.|<nowiki>{{PAGENAME}}</nowiki>|Only use if the template is on a different page to the NPC's main article.}}
 
{{parameter|description|A description of the NPC.|}}
 
{{parameter|description|A description of the NPC.|}}
 
{{parameter|stat|The stat changed by the talent.}}
 
{{parameter|stat|The stat changed by the talent.}}
 
{{parameter|value|The value of the stat change.|4=Include units.}}
 
{{parameter|value|The value of the stat change.|4=Include units.}}

Revision as of 21:23, 11 August 2023

Description

Displays an information page about a talent character.

Usage

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

Parameters

Arrow.pngimage: An image of the NPC.
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 NPC.
Optional. Defaults to '{{PAGENAME}}'.
Notes: Only use if the template is on a different page to the NPC's main article.
Arrow.pngdescription: A description of the NPC.
Optional.
Arrow.pngstat: The stat changed by the talent.
Required.
Arrow.pngvalue: The value of the stat change.
Required.
Notes: Include units.