Difference between revisions of "Template:NPC/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
===Optional Parameter===
 
===Optional Parameter===
 
*size: the image size to be displayed (example: size=48)
 
*size: the image size to be displayed (example: size=48)
 +
*link: replace the name with a link to another page
  
 
==Examples==
 
==Examples==

Revision as of 13:58, 7 June 2021

Description

This template is used to insert the name and role in family a character is in the relevant page.

Usage

This template can be used by entering the following onto a relevant page.

{{NPC|''name''|''role''}}

Optional Parameter

  • size: the image size to be displayed (example: size=48)
  • link: replace the name with a link to another page

Examples

{{name|Pierre|Father}}

When used the parameters are not identified by name, but by order. Example use of this template;

{{NPC|Jodi|Mother}}

Result:

Jodi Icon.png Jodi (Mother)

{{NPC|Pierre|30G}}

Result:

Pierre Icon.png Pierre (30G)

{{NPC|Sebastian}}

Result:

Sebastian Icon.png Sebastian