Difference between revisions of "Template:Reaction"

From Nookipedia, the Animal Crossing wiki
m
m
 
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| style="background: {{{color|#ecd6f5}}}; margin-left: 10px; margin-bottom: 10px; {{roundy|14px}} border: 3px solid {{{color|#ecd6f5}}}; height: 190px; width: 300px; padding: 2px; -moz-box-shadow: 3px 3px 3px #CCC; -webkit-box-shadow: 3px 3px 3px #CCC; box-shadow: 3px 3px 3px #CCC"
+
<div style="background: {{{color|#ecd6f5}}}; margin-left: 5px; margin-bottom: 10px; {{roundy|14px}} border: 3px solid {{{color|#ecd6f5}}}; width: 260px; padding: 2px;">
! width=30px height=30px|{{{icon}}}  
+
{| style="width: 260px; padding: 2px;" |
| <big>'''{{{name}}}'''</big>
+
! style="width:30px; height:30px;" |{{#if:{{{icon|}}}|[[File:{{{icon|Emotion Aggravation NH Icon.png}}}|{{{iconsize|35px}}}]]|}}
! rowspan=2 width=100px style="background: #fff; {{Roundy|9px}}| {{{image|[[File:Nia.png|90px]]}}}
+
| <big>'''{{{name|Reaction}}}'''</big>
 +
! rowspan=4 style="width:100px; height:176px; background: #fff; {{Roundy|9px}}"| [[File:{{{image|Nia.png}}}|{{{imagesize|90px}}}]]
 
|-
 
|-
| colspan=2 style="vertical-align: top;|  
+
! colspan=2 align=center style="font-size: 90%;"| {{#if:{{{oldname|}}}|{{{oldname|}}}{{#if:{{{namenote|}}}|{{{namenote|}}}}}{{#if:{{{oldname2|}}}|&nbsp; {{{oldname2|}}}|}}|}}{{#if:{{{namenote2|}}}|{{{namenote2|}}}}}
:<small>{{{games}}}</small>
 
 
|-
 
|-
{{#if:{{{pers}}}|
+
| colspan=2 style="vertical-align: top; padding-right:10px"|
| colspan=2 style="vertical-align: top;|  
+
<div style="text-align: center;">{{#if:{{{WW|}}}|{{Infobox Appearance|game={{WW|shortest}}|appears=yes}}|{{Infobox Appearance|game=''{{WW|shortest}}''|appears=no}}}}
:<small>'''In {{NH|nolink|short}}, this reaction can be learned by villager with {{{pers}}} personality'''</small>|}}
+
{{#if:{{{CF|}}}|{{Infobox Appearance|game={{CF|shortest}}|appears=yes}}|{{Infobox Appearance|game=''{{CF|shortest}}''|appears=no}}}}
|}<noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
+
{{#if:{{{NL|}}}|{{Infobox Appearance|game={{NL|shortest}}|appears=yes}}|{{Infobox Appearance|game=''{{NL|shortest}}''|appears=no}}}}<br>{{#if:{{{HHD|}}}|{{Infobox Appearance|game={{HHD|shortest}}|appears=yes}}|{{Infobox Appearance|game=''{{HHD|shortest}}''|appears=no}}}}
 +
{{#if:{{{PC|}}}|{{Infobox Appearance|game={{PC|shortest}}|appears=yes}}|{{Infobox Appearance|game=''{{PC|shortest}}''|appears=no}}}}
 +
{{#if:{{{HHP|}}}|{{Infobox Appearance|game={{NH|shortest}}<sup>{{HHP|shortest}}</sup>|appears=yes}}|{{#if:{{{NH|}}}|{{Infobox Appearance|game={{NH|shortest}}|appears=yes}}|{{Infobox Appearance|game=''{{NH|shortest}}''|appears=no}}}}}}<small>{{#if:{{{NHver|}}}|Added in NH v{{{NHver|1.6.0}}}|}}</small></div>
 +
|-
 +
| colspan=2 align=center |{{#switch:{{{source}}}|Default = <small>Default Reaction in {{NH|short|nolink}}<small>|#default = {{#if:{{{source|}}}|<small>Learn in {{NH|short|nolink}} from:<br>{{#switch: {{{source|}}}
 +
|Any        = Any villager {{#if:{{{halloween|}}}|if given [[candy]]}}
 +
|Jack      = [[File:Jack NH Character Icon.png|25px|link=]] [[Jack]] if given [[candy]]
 +
|Hip        = [[File:Special Card NH Inv Icon.png|25px|link=]]Hip Reaction Collection
 +
|Cranky    = [[File:Emotion Aggravation NH Icon cropped.png|25px|link=]] [[Cranky]] villagers
 +
|Jock      = [[File:Emotion Pride NH Icon cropped.png|25px|link=]] [[Jock]] villagers
 +
|Lazy      = [[File:Emotion Sleepy NH Icon cropped.png|25px|link=]] [[Lazy]] villagers
 +
|Smug      = [[File:Emotion Smirking NH Icon cropped.png|25px|link=]] [[Smug]] villagers
 +
|Normal    = [[File:Emotion Happiness NH Icon cropped.png|25px|link=]] [[Normal]] villagers
 +
|Peppy      = [[File:Emotion Encouraging NH Icon cropped.png|25px|link=]] [[Peppy]] villagers
 +
|Snooty    = [[File:Emotion Disagreement NH Icon cropped.png|25px|link=]] [[Snooty]] villagers
 +
|Big sister = [[File:Emotion Mischief NH Icon cropped.png|25px|link=]] [[Big Sister]] villagers
 +
|Hip set    = [[File:Special Card NH Inv Icon.png|25px|link=]] {{I|Hip Reaction Collection|NH}}
 +
|Viva set  = [[File:Special Card NH Inv Icon.png|25px|link=]] {{I|Viva Festivale Reaction Set|NH}}
 +
|New reactions = [[File:Special Card NH Inv Icon.png|25px|link=]] {{I|New Reactions Notebook|NH}}
 +
|Group stretching = [[File:Side Bends NH Reaction Icon.png|25px|link=]] [[Group stretching]] once for 50 days
 +
|DJ KK = [[File:DJ KK NH Character Icon.png|25px|link=]] [[DJ KK]]'s concert after completing the [[apparel shop]] (exclusive to {{HHP|short}})
 +
}}{{#if:{{{maxrel|}}}|<br>(with high friendship)|}}</small>|}}}}
 +
|-
 +
|colspan=3 style="padding:5px;"|<div class="mw-collapsible mw-collapsed" style="text-align: center;">
 +
<div style="font-size: 0.8em; padding: 5px;">'''Name in other languages'''</div>
 +
<div class="mw-collapsible-content" style="margin: 0 auto; text-align: center;">
 +
{{Translation
 +
| color      = black
 +
| max-length = 30
 +
| ja-name    = {{{ja-name|}}}{{#if:{{{ja-note|}}}|{{Note|{{{ja-note}}}}}|}}
 +
| zh-name    = {{{zh-name|}}}{{#if:{{{zh-note|}}}|{{Note|{{{zh-note}}}}}|}}
 +
| zht-name  = {{{zht-name|{{{zh-name|}}}}}}{{#if:{{{zht-note|}}}|{{Note|{{{zht-note}}}}}|}}
 +
| ko-name    = {{{ko-name|}}}{{#if:{{{ko-note|}}}|{{Note|{{{ko-note}}}}}|}}
 +
| fr-name    = {{{fr-name|}}}{{#if:{{{fr-note|}}}|{{Note|{{{fr-note}}}}}|}}
 +
| frq-name  = {{{frq-name|{{{fr-name||}}}}}}{{#if:{{{frq-note|}}}|{{Note|{{{frq-note}}}}}|}}
 +
| es-name    = {{{es-name|}}}{{#if:{{{es-note|}}}|{{Note|{{{es-note}}}}}|}}
 +
| esl-name  = {{{esl-name|{{{es-name|}}}}}}{{#if:{{{esl-note|}}}|{{Note|{{{esl-note}}}}}|}}
 +
| it-name    = {{{it-name|}}}{{#if:{{{it-note|}}}|{{Note|{{{it-note}}}}}|}}
 +
| de-name    = {{{de-name|}}}{{#if:{{{de-note|}}}|{{Note|{{{de-note}}}}}|}}
 +
| nl-name    = {{{nl-name|}}}{{#if:{{{nl-note|}}}|{{Note|{{{nl-note}}}}}|}}
 +
| ru-name    = {{{ru-name|}}}{{#if:{{{ru-note|}}}|{{Note|{{{ru-note}}}}}|}}
 +
}}</div></div>
 +
|}</div><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 01:23, January 2, 2023

Reaction Nia.png
Name in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown

Template documentation (view)


Usage

{{Emotion
 |icon  = 
 |name  = 
 |pers  = 
 |image = 
 |games = 
 |ja-name = 
 |zh-name = 
 |zht-name = 
 |ko-name = 
 |fr-name = 
 |frq-name = 
 |es-name = 
 |esl-name = 
 |it-name = 
 |de-name = 
 |nl-name = 
 |ru-name = 
}}

This template is intended for the Reactions article and displays the name, icon and an image of the specified emotion, as well as which games the reaction appears in. A personality can be specified to display which villager personality will teach the player the reaction in Animal Crossing: New Horizons.

Example

{{Emotion
 |icon  = Emotion Agreement NH Icon.png|45px]
 |name  = Agreement
 |pers  = Cranky
 |image = NH Player Agreement.png
 |games = {{WW|short}} <br>{{CF|short}}<br>{{NL|short}}<br>{{HHD|short}}<br>{{NH|short}}
 |ja-name = うんうん
 |zh-name = 点头
 |zht-name = 點頭
 |ko-name = 끄덕끄덕
 |fr-name = Acquiescement
 |es-name = Asentimiento
 |it-name = Approvazione
 |de-name = Zustimmung
 |nl-name = Knikken
 |ru-name = Согласие
}}
Emotion Agreement NH Icon.png Agreement NH Player Agreement.png
Name in other languages
 うんうん
 点头
 Acquiescement
 Asentimiento
 Approvazione
 Согласие
 끄덕끄덕
 點頭
 Acquiescement
 Asentimiento
 Zustimmung
 Knikken