Jump to content

Template:GiftHeader: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
still testing
Line 1: Line 1:
<includeonly>
<noinclude>{{#arraydefine:rude|Abigail,Clint,George,Haley,Alex,Pam,Sebastian,Shane,Wizard|,}}
{{#arraydefine:rude|Abigail,Clint,George,Haley,Alex,Pam,Sebastian,Shane,Wizard|,}}
{{#arraydefine:female|Abigail,Emily,Haley,Leah,Maru,Penny,Caroline,Evelyn,Jas,Jodi,Marnie,Pam,Robin,Sandy|,}}
{{#arraydefine:female|Abigail,Emily,Haley,Leah,Maru,Penny,Caroline,Evelyn,Jas,Jodi,Marnie,Pam,Robin,Sandy|,}}
{{#arraydefine:male|Alex,Elliott,Harvey,Sam,Sebastian,Shane,Clint,Demetrius,Dwarf,George,Gus,Kent,Krobus,Lewis,Linus,Pierre,Vincent,Willy,Wizard|,}}
{{#arraydefine:male|Alex,Elliott,Harvey,Sam,Sebastian,Shane,Clint,Demetrius,Dwarf,George,Gus,Kent,Krobus,Lewis,Linus,Pierre,Vincent,Willy,Wizard|,}}</noinclude>
{{main article|Friendship#Gifts}}
<includeonly>{{main article|Friendship#Gifts}}
You can give {{#switch: {{PAGENAME}} | Dwarf = the {{PAGENAME}} | #default = {{PAGENAME}}}} up to two gifts per week (plus one on  
You can give {{#switch: {{PAGENAME}} | Dwarf = the {{PAGENAME}} | #default = {{PAGENAME}}}} up to two gifts per week (plus one on  
{{#if: {{#arraysearch:female|{{PAGENAME}}|0}} | her  
{{#if: {{#arraysearch:female|{{PAGENAME}}|0}} | her  
Line 12: Line 11:
| {{#if: {{#arraysearch:male|{{PAGENAME}}|0}} | his | their }}
| {{#if: {{#arraysearch:male|{{PAGENAME}}|0}} | his | their }}
}}
}}
[[friendship]] with you. Gifts on  
[[friendship]] with you. {{#switch: {{PAGENAME}}
| Dwarf = <span style="font-weight: bold;">Note that if you do not understand Dwarvish, friendship will be unaffected by gifts.</span>
| #default =
}} Gifts on  
{{#if: {{#arraysearch:female|{{PAGENAME}}|0}} | her  
{{#if: {{#arraysearch:female|{{PAGENAME}}|0}} | her  
| {{#if: {{#arraysearch:male|{{PAGENAME}}|0}} | his | their }}
| {{#if: {{#arraysearch:male|{{PAGENAME}}|0}} | his | their }}
}}
}}
birthday ([[{{{birthday season}}}#Events|{{{birthday season}}} {{{birthday day}}}]]) will have 8&times; effect and show a unique dialogue.
birthday ([[{{{birthday season}}}#Events|{{{birthday season}}} {{{birthday day}}}]]) will have 8&times; effect and show a unique dialogue.<br />For loved or liked gifts, {{#switch: {{PAGENAME}} | Dwarf = the {{PAGENAME}} | #default = {{PAGENAME}}}}  will say  
{{#switch: {{PAGENAME}}
| Dwarf = <span style="font-weight: bold;">  You must understand Dwarvish to increase or decrease friendship with the Dwarf.</span><br />|}}
For loved or liked gifts, {{PAGENAME}} will say  
{{#if: {{#arraysearch:rude|{{PAGENAME}}|0}}  
{{#if: {{#arraysearch:rude|{{PAGENAME}}|0}}  
| <!-- rude --> {{quote|You remembered my birthday? I'm impressed. Thanks.}}{{quote|Oh, is it my birthday today? I guess it is. Thanks. This is nice.}}  
| <!-- rude --> {{quote|You remembered my birthday? I'm impressed. Thanks.}}{{quote|Oh, is it my birthday today? I guess it is. Thanks. This is nice.}}  
Line 29: Line 28:
}} <!--if-->
}} <!--if-->


For neutral gifts, {{PAGENAME}} will say
For neutral gifts, {{#switch: {{PAGENAME}} | Dwarf = the {{PAGENAME}} | #default = {{PAGENAME}}}}  will say
{{#if: {{#arraysearch:rude|{{PAGENAME}}|0}}  
{{#if: {{#arraysearch:rude|{{PAGENAME}}|0}}  
| <!-- rude --> {{quote|For my birthday? Thanks.}}
| <!-- rude --> {{quote|For my birthday? Thanks.}}
Line 39: Line 38:
}}<!--if-->
}}<!--if-->


For disliked or hated gifts, {{PAGENAME}} will say
For disliked or hated gifts, {{#switch: {{PAGENAME}} | Dwarf = the {{PAGENAME}} | #default = {{PAGENAME}}}}  will say
{{#if: {{#arraysearch:rude|{{PAGENAME}}|0}}  
{{#if: {{#arraysearch:rude|{{PAGENAME}}|0}}  
| <!-- rude --> {{quote|It's my birthday and you give me this? Is this some kind of joke?}}  
| <!-- rude --> {{quote|It's my birthday and you give me this? Is this some kind of joke?}}  
| <!-- other than rude -->  
| <!-- other than rude -->  
{{#switch: {{PAGENAME}}
{{#switch: {{PAGENAME}}
| Dwarf =  
| Dwarf = {{quote|Oh... It's for my birthday? ... Thanks.}}{{quote|Oh... U's hon man punhaan? ... Xhams.s}}
| #default = {{quote|Oh... It's for my birthday? ... Thanks.}}
| #default = {{quote|Oh... It's for my birthday? ... Thanks.}}
}}<!--switch-->
}}<!--switch-->

Revision as of 02:49, 26 January 2017



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#Gifts

You can give GiftHeader up to two gifts per week (plus one on their birthday), which will raise or lower their friendship with you. Gifts on their birthday ([[{{{birthday season}}}#Events|{{{birthday season}}} {{{birthday day}}}]]) will have 8× effect and show a unique dialogue.
For loved or liked gifts, GiftHeader will say

“ “A birthday gift? That's very kind of you! I love it.”
“ “You remembered my birthday! Thank you, this is great!”

For neutral gifts, GiftHeader will say

“ “Oh, a birthday gift! Thank you.”

For disliked or hated gifts, GiftHeader will say

“ “Oh... It's for my birthday? ... Thanks.”