Template:NHSpecialCharacterInfo: Difference between revisions

From RosieSoCrossing
Created page with "{{Villager Info Box |colorclass = color-special |image = {{{photo|{{{name|}}}'s Pic NL Texture.png}}} |image2 = {{{icon|{{{name|}}} NL Character Icon.png}}} <!-- I would like to implement the third picture, but then the special characters who don't drink coffee have a really ugly stretched template. |image3 = {{{model|{{{name|}}} NL Model.png}}} --> |caption = {{#if:{{{quote|}}}|''{{{quote|}}}''}} |caption2 = {{#ifeq:{{{ver..."
 
No edit summary
 
Line 1: Line 1:
<noinclude>{{#cargo_declare:
_table=nh_special_character
|url = String
|name = String
|name_sort = String
|image = String
|image_url = String
|photo = String
|photo_url = String
|icon = String
|icon_url = String
|quote = String
|quote_wikitext = Wikitext string
|species = String
|gender = String
|gender_jp = String
|birthday = String
|birthday_sort = Integer
|sign = String
|umbrella = String
|umbrella_hhp = String
|default_phone = String
|final_phone = String
|hobby = String
|life_points = String
|hobby_points = String
|wave_type = String
|version_added = String
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{NHLang/CargoAttach}}{{NHCalendar/CargoAttach}}{{#cargo_store:
_table=nh_calendar
|date={{CURRENTYEAR}}-{{#time: m-d | {{{birthday-month|}}} {{{birthday|}}} }}
|event={{{name|}}}'s birthday
|type=Birthday
|link={{PAGENAME}}
}}{{#cargo_store:
_table=nh_calendar
|date={{#expr: {{CURRENTYEAR}} + 1 }}-{{#time: m-d | {{{birthday-month|}}} {{{birthday|}}} }}
|event={{{name|}}}'s birthday
|type=Birthday
|link={{PAGENAME}}
}}{{#cargo_store:
_table=nh_special_character
|url = {{canonicalurl:{{PAGENAME}}}}
|name = {{{name|}}}
|name_sort = {{{name-sort|{{{name|}}}}}}
|image = {{{image|{{{name|}}} NH.png}}}
|image_url = {{filepath:{{{image|{{{name|}}} NH.png}}}}}
|photo = {{{photo|{{{name|}}}'s Photo NH Texture.png}}}
|photo_url = {{filepath:{{{photo|{{{name|}}}'s Poster NH Texture.png}}}}}
|icon = {{{icon|{{{name|}}} NH Character Icon.png}}}
|icon_url = {{filepath:{{{icon|{{{name|}}} NH Character Icon.png}}}}}
|quote = {{#invoke:Plain text|main|{{{quote|}}}}}
|quote_wikitext = {{{quote|}}}
|species = {{{species|}}}
|gender = {{{gender|}}}
|gender_jp = {{{gender-jp|}}}
|birthday = {{{birthday-month|}}} {{{birthday|}}}
|birthday_sort = {{#switch:{{{birthday-month|}}}|January=1|February=2|March=3|April=4|May=5|June=6|July=7|August=8|September=9|October=10|November=11|December=12}}{{#switch:{{{birthday|}}}|1=01|2=02|3=03|4=04|5=05|6=06|7=07|8=08|9=09|10=10|{{{birthday|}}}}}
|sign = {{{sign|}}}
|umbrella = {{{umbrella|}}}
|umbrella_hhp = {{{umbrella-hhp|}}}
|default_phone = {{{default-phone|}}}
|final_phone = {{{final-phone|}}}
|hobby = {{{hobby|}}}
|life_points = {{{life-points|}}}
|hobby_points = {{{hobby-points|}}}
|wave_type = {{{wave-type|}}}
|version_added = {{#if:{{{version-added|}}}|{{{version-added|}}}|1.0.0}}
}}{{#cargo_store:
_table=nh_language_name
|identifier = {{{name|}}}
|en_name = {{{name|}}}
|type = Special character
|engb_name = {{{engb-name|}}}
|de_name = {{{de-name|}}}
|es_name = {{{es-name|}}}
|esl_name = {{{esl-name|{{{es-name|}}}}}}
|fr_name = {{{fr-name|}}}
|frq_name = {{{frq-name|{{{fr-name|}}}}}}
|it_name = {{{it-name|}}}
|ja_name = {{{ja-name|}}}
|ko_name = {{{ko-name|}}}
|nl_name = {{{nl-name|}}}
|ru_name = {{{ru-name|}}}
|zh_name = {{{zh-name|}}}
|zht_name = {{{zht-name|{{{zh-name|}}}}}}
}}}}</includeonly>
{{Villager Info Box
{{Villager Info Box
|colorclass      = color-special
|colorclass      = color-special
|image          = {{{photo|{{{name|}}}'s Pic NL Texture.png}}}
|image          = {{#ifexist:File:{{{photo|{{{name|}}}'s Poster NH Texture.png}}}|{{{photo|{{{name|}}}'s Poster NH Texture.png}}}|{{{icon|{{{name|}}} NH Character Icon.png}}}}}
|image2          = {{{icon|{{{name|}}} NL Character Icon.png}}}
|image2          = {{#ifexist:File:{{{photo|{{{name|}}}'s Poster NH Texture.png}}}|{{{icon|{{{name|}}} NH Character Icon.png}}}}}
<!-- I would like to implement the third picture, but then the special characters who don't drink coffee have a really ugly stretched template.
|image3          = {{{model|{{{name|}}} NL Model.png}}}
-->
|caption        = {{#if:{{{quote|}}}|''{{{quote|}}}''}}
|caption        = {{#if:{{{quote|}}}|''{{{quote|}}}''}}
|caption2        = {{#ifeq:{{{version-added|}}}|1.4|<small>Added in the {{NLWa|short}} update</small>}}
|imagesize      = 64px
|imagesize2      = 64px
|crisp          = yes
|crisp2          = yes
|title          = {{{nameplate|}}}
|title          = {{{nameplate|}}}
|label          = Birthday
|label          = Birthday
Line 19: Line 98:
|label3          = Species
|label3          = Species
|data3          = {{#ifeq:{{{species|}}}|Unknown|Unknown|[[{{{species}}}]]}}
|data3          = {{#ifeq:{{{species|}}}|Unknown|Unknown|[[{{{species}}}]]}}
|label4          = {{#ifeq:{{{name|}}}|Lottie||Pic version added}}
|label4          = {{#if:{{{umbrella|}}}|Umbrella|}}
|data4          = {{#ifeq:{{{pic-version|}}}|1.4|{{NLWa|short}} update|Version 1.0}}
|data4          = [[File:{{#invoke:TitleCase|main|{{{umbrella|}}}}} NH Icon.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{umbrella|}}}}}|NH}}
|labelbetween4-5 = Coffee preferences
|label5          = {{#if:{{{final-phone|}}}|Initial NookPhone|NookPhone}}
{{#if:{{{coffeetype|}}}||
|data5          = &nbsp;[[File:Default Phone Case ({{{default-phone|}}}) NH Model.png|x30px|link=]]&nbsp;&nbsp;{{{default-phone|}}}
{{!-}}
|label6          = {{#if:{{{final-phone|}}}|Final NookPhone|}}
{{!}} id="cell" colspan="3" style="text-align:center; {{roundybottom|9px}}" {{!}} {{{name|}}} does not order coffee at The Roost.}}
|data6          = {{#if:{{{item-phone|}}}|&nbsp;[[File:Phone Case ({{#invoke:TitleCase|main|{{{final-phone|}}}}}) NH Model.png|x30px|link=]]&nbsp;&nbsp;{{I|{{#invoke:SentenceCase|main|{{{final-phone|}}}}}|NH}}|&nbsp;[[File:Phone Case ({{{final-phone|}}}) NH Model.png|x30px|link=]]&nbsp;&nbsp;{{{final-phone|}}}}}
|label5          = {{#if:{{{coffeetype|}}}|Type of beans|}}
|labelbetween6-7 = {{HHP|short|nolink}} traits
|data5          = {{{coffeetype|Unknown}}}
|label7         = {{#if:{{{umbrella-hhp|}}}|Umbrella|}}
|label6         = {{#if:{{{milk|}}}|Amount of milk|}}
|data7           = [[File:{{#invoke:TitleCase|main|{{{umbrella-hhp|}}}}} NH Icon.png|32px|link=]] {{I|{{#invoke:SentenceCase|main|{{{umbrella-hhp|}}}}}|NH}}
|data6           = {{{milk|Unknown}}}
|label8          = Hobby
|labelend        = {{#if:{{{sugar|}}}|Amount of sugar|}}
|data8          = [[Hobby#{{{hobby|}}}|{{{hobby|Unknown}}}]]
|dataend        = {{{sugar|Unknown}}}
|labelend        = Book
}}<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#ifeq:{{{version-added|}}}|1.4|[[Category:Welcome amiibo characters]]|[[Category:New Leaf characters]]}}}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
|dataend        = [[File:{{{hobby|}}} Book NH Icon.png|32px|link=]] {{{book|}}}
}}<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:New Horizons characters]]}}</includeonly><noinclude>{{Note list}}{{Documentation}}[[Category:Cargo templates]][[Category:Templates]]</noinclude>

Latest revision as of 12:19, 14 January 2026

This template defines the table "nh_special_character". This table has not been created yet.

Birthday Gender Species
32px link= File:Symbol.png [[{{{species}}}]]
NookPhone  File:Default Phone Case () NH Model.png  
Happy Home Paradise traits
Hobby Unknown
Book File:Book NH Icon.png
<references group="nb"/>

No documentation for Template:NHSpecialCharacterInfo exists. Create it.