Jump to content

Template:NPC: Difference between revisions

From Stardew Valley Wiki
imported>Katzeus
No edit summary
imported>Margotbean
rm excessive padding
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><br>[[File:{{{1|}}}_Icon.png|link={{{1|}}}]] [[{{{1|}}}]]{{#if: {{{2|}}}|&nbsp;({{{2|}}})|}}</includeonly>
<includeonly>{{#ifeq:{{{placement|}}}|inline||<p style="padding: 0; margin: 0;">}}[[File:{{{1|}}}_Icon.png|{{#if:{{{size|}}}|{{{size|}}}|32}}px|link=]] [[{{#if: {{{link|}}}|{{{link}}}|{{#switch: {{{1}}}|{{{1}}}}}}}]]{{#if: {{{2|}}}|&nbsp;({{{2|}}})|}}{{#ifeq:{{{placement|}}}|inline||</p>}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Latest revision as of 21:09, 5 October 2026

Description

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

Use

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