Jump to content

Template:GiftHeader/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Notes==
==Description==
Rude NPCs have different dialogs than non-rude NPCs.  This template uses data from <code>Data/NPCDispositions.xnb</code> to determine whether the NPC is rude or not.  It also pulls birthdays from the same file.
This template displays a heading for the "Gifts" section on giftable villager pages, which summarizes birthday gifting.


<span style="text-decoration: line-through;">As of v1.11, quotes are pulled from the game code; they are hard-coded in this template as they are in the game code.</span>  Quotes are taken from <code>Content\Strings\StringsFromCSFiles.xnb</code> as of v1.2.
==Use==
 
This template takes no parameters. It automatically uses the pagename on which it is placed.
When used on an NPC's page, the template uses the pagename to determine if the NPC is rude, male or female, and fills in the birthdate automatically.
 
For this page, the default disposition (''i.e.,'' not rude) and default pronoun ("their") are used.  The birthdate for Template:GiftHeader is nonexistent, so the default "Seasons 00" is used.
 
There is some extra text when used on the Dwarf's page (Dwarvish translations, and a note about how friendship isn't changed by gifting until the player understands Dwarvish).
 
==Usage==
<pre>{{GiftHeader}}</pre>
<pre>{{GiftHeader}}</pre>
{{GiftHeader}}
{{GiftHeader}}
<includeonly>[[Category:Transclusion templates]][[de:Vorlage:{{PAGENAME}}]]
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
[[es:Plantilla:{{PAGENAME}}]]
[[ja:テンプレート:{{PAGENAME}}]]
[[pt:Predefinição:{{PAGENAME}}]]
[[ru:Шаблон:{{PAGENAME}}]]
[[zh:Template:{{PAGENAME}}]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 21:25, 15 October 2024

Description

This template displays a heading for the "Gifts" section on giftable villager pages, which summarizes birthday gifting.

Use

This template takes no parameters. It automatically uses the pagename on which it is placed.

{{GiftHeader}}
Main article: Friendship
See also: List of All Gifts

You can give GiftHeader/doc up to two gifts per week (plus one on their birthday), which will raise or lower their friendship with you. Gifts on their birthday () will have 8× effect and show a unique dialogue.