Jump to content

Template:NPC/doc: Difference between revisions

From Stardew Valley Wiki
imported>JaksStrange
imported>JaksStrange
Line 10: Line 10:
*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
*link: replace the name with a link to another page
*class: suppress line break (example: class=inline)
*placement: suppress line break (example: placement=inline)


==Examples==
==Examples==

Revision as of 19:46, 8 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 Parameters

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

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 (Mother)

{{NPC|Pierre|30G}}

Result:

Pierre (30G)

{{NPC|Sebastian}}

Result:

Sebastian