Difference between revisions of "Template:Infobox Special"

From Nookipedia, the Animal Crossing wiki
m
(Switching to CSS colour class)
 
Line 84: Line 84:
 
|pc =  {{#incat:Pocket Camp characters|Yes|No}}
 
|pc =  {{#incat:Pocket Camp characters|Yes|No}}
 
}}}}</includeonly>{{Infobox 2.0
 
}}}}</includeonly>{{Infobox 2.0
| primarycolor  = 81 87
+
| colorclass    = color-special
| title          = {{{name|{{PAGENAME}}}}}
+
| primarycolor  = 81 87
| titlecolor    = {{{titlecolor|}}}
+
| title          = {{{name|{{PAGENAME}}}}}
| textcolor      = {{{textcolor|}}}
+
| titlecolor    = {{{titlecolor|}}}
| lefticon      = [[File:SpecialSpeciesIconSilhouette.png|30px|link=]]
+
| textcolor      = {{{textcolor|}}}
| righticon      = {{#if:{{{ID|}}}|<small><code>[[Villager#Villager ID|{{{ID|}}}]]</code></small>|&nbsp;}}
+
| lefticon      = [[File:SpecialSpeciesIconSilhouette.png|30px|link=]]
 +
| righticon      = {{#if:{{{ID|}}}|<small><code>[[Villager#Villager ID|{{{ID|}}}]]</code></small>|&nbsp;}}
  
| subtitleabove  =  
+
| subtitleabove  =  
| subtitlebelow  = gallery
+
| subtitlebelow  = gallery
  
| image          = [[File:{{{image|}}}|{{{imagesize|150px}}}|{{{imagesize|150px}}}|alt=Artwork of {{{name|{{PAGENAME}}}}}]]
+
| image          = [[File:{{{image|}}}|{{{imagesize|150px}}}|{{{imagesize|150px}}}|alt=Artwork of {{{name|{{PAGENAME}}}}}]]
| caption        = {{{caption|}}}
+
| caption        = {{{caption|}}}
  
| leftlabel      = Species
+
| leftlabel      = Species
| rightlabel    = Gender
+
| rightlabel    = Gender
| leftdata      = {{#ifeq:{{{species|}}}|Unknown|Unknown|[[{{{species|}}}]]}}
+
| leftdata      = {{#ifeq:{{{species|}}}|Unknown|Unknown|[[{{{species|}}}]]}}
| rightdata      = {{#if:{{{gender-japan|}}}|[[File:{{#switch:{{{gender-japan|}}}| Male = Male | Female = Female | Intersex = Intersex | #default = Gender }} symbol.png|18px|link=|alt=]] [[:Category:{{{gender-japan|}}} characters|{{{gender-japan|}}}]]{{Note|Japan and Korea}}<br>|}}[[File:{{#switch:{{{gender|}}}| Male = Male | Female = Female | Intersex = Intersex | #default = Gender }} symbol.png|18px|link=|alt=]]  [[:Category:{{{gender|}}} characters|{{{gender|Unknown}}}]]{{#if:{{{gender-japan|}}}|{{Note|International}}|}}
+
| rightdata      = {{#if:{{{gender-japan|}}}|[[File:{{#switch:{{{gender-japan|}}}| Male = Male | Female = Female | Intersex = Intersex | #default = Gender }} symbol.png|18px|link=|alt=]] [[:Category:{{{gender-japan|}}} characters|{{{gender-japan|}}}]]{{Note|Japan and Korea}}<br>|}}[[File:{{#switch:{{{gender|}}}| Male = Male | Female = Female | Intersex = Intersex | #default = Gender }} symbol.png|18px|link=|alt=]]  [[:Category:{{{gender|}}} characters|{{{gender|Unknown}}}]]{{#if:{{{gender-japan|}}}|{{Note|International}}|}}
  
| label          = {{#if:{{{birthday|}}}|Birthday|Star sign}}
+
| label          = {{#if:{{{birthday|}}}|Birthday|Star sign}}
| data          = {{#if:{{{disablebirthday|}}}||{{#if:{{{birthday|}}}| [[{{#ifeq:{{{birthdaymonth|}}}|June|June (month)|{{{birthdaymonth|}}}}}|{{{birthdaymonth|}}}]] {{Date|{{{birthday|}}}}}{{#if:{{{birthday-note|}}}|{{Note|{{{birthday-note|}}}}}|}}|[[File:{{{sign|Aries}}} NookLink Icon.svg|25px|link{{=}}{{{sign}}}|{{{sign}}}]] [[{{{sign|}}}]]}}}}
+
| data          = {{#if:{{{disablebirthday|}}}||{{#if:{{{birthday|}}}| [[{{#ifeq:{{{birthdaymonth|}}}|June|June (month)|{{{birthdaymonth|}}}}}|{{{birthdaymonth|}}}]] {{Date|{{{birthday|}}}}}{{#if:{{{birthday-note|}}}|{{Note|{{{birthday-note|}}}}}|}}|[[File:{{{sign|Aries}}} NookLink Icon.svg|25px|link{{=}}{{{sign}}}|{{{sign}}}]] [[{{{sign|}}}]]}}}}
| subdata        = {{#if:{{{birthday|}}}|[[File:{{{sign|}}} NookLink Icon.svg|25px|link{{=}}{{{sign}}}|{{{sign}}}]] {{#if:{{{sign2|}}} | [[File:{{{sign2|}}} NookLink Icon.svg|25px|link{{=}}{{{sign2}}}|{{{sign2}}}]]{{Note|{{{note2|}}}}}|}}|}}
+
| subdata        = {{#if:{{{birthday|}}}|[[File:{{{sign|}}} NookLink Icon.svg|25px|link{{=}}{{{sign}}}|{{{sign}}}]] {{#if:{{{sign2|}}} | [[File:{{{sign2|}}} NookLink Icon.svg|25px|link{{=}}{{{sign2}}}|{{{sign2}}}]]{{Note|{{{note2|}}}}}|}}|}}
  
| label2        = Favorite saying
+
| label2        = Favorite saying
| data2          = {{#if:{{{quote|}}}|"''{{{quote|}}}''" {{#if:{{{quote2|}}}|({{{quote-character}}})}}|}}{{#if:{{{quote2|}}}|<br>"''{{{quote2|}}}''" ({{{quote2-character}}})|}}
+
| data2          = {{#if:{{{quote|}}}|"''{{{quote|}}}''" {{#if:{{{quote2|}}}|({{{quote-character}}})}}|}}{{#if:{{{quote2|}}}|<br>"''{{{quote2|}}}''" ({{{quote2-character}}})|}}
  
| label3        = {{#if:{{{disableservice|}}}||Role}}
+
| label3        = {{#if:{{{disableservice|}}}||Role}}
| data3          = {{#if:{{{disableservice|}}}||{{{service|Unknown}}}}}
+
| data3          = {{#if:{{{disableservice|}}}||{{{service|Unknown}}}}}
  
| appearances    = characters
+
| appearances    = characters
| o-appearances  = characters
+
| o-appearances  = characters
  
| languages      = Name
+
| languages      = Name
| ja-name        = {{{ja-name|}}}
+
| ja-name        = {{{ja-name|}}}
| ko-name        = {{{ko-name|}}}
+
| ko-name        = {{{ko-name|}}}
| zh-name        = {{{zh-name|}}}
+
| zh-name        = {{{zh-name|}}}
| zht-name      = {{{zht-name|{{{zh-name|}}}}}}
+
| zht-name      = {{{zht-name|{{{zh-name|}}}}}}
| fr-name        = {{{fr-name||}}}
+
| fr-name        = {{{fr-name||}}}
| frq-name      = {{{frq-name|{{{fr-name||}}}}}}
+
| frq-name      = {{{frq-name|{{{fr-name||}}}}}}
| es-name        = {{{es-name|}}}
+
| es-name        = {{{es-name|}}}
| esl-name      = {{{esl-name|{{{es-name|}}}}}}
+
| esl-name      = {{{esl-name|{{{es-name|}}}}}}
| it-name        = {{{it-name|}}}
+
| it-name        = {{{it-name|}}}
| de-name        = {{{de-name|}}}
+
| de-name        = {{{de-name|}}}
| nl-name        = {{{nl-name|}}}
+
| nl-name        = {{{nl-name|}}}
| ru-name        = {{{ru-name|}}}
+
| ru-name        = {{{ru-name|}}}
 
}}<includeonly>{{#ifeq:{{NAMESPACE}}||[[Category:Characters]][[Category:Special characters]]}}{{#ifeq:{{NAMESPACE}}||{{#if:{{{ja-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:Characters with missing other language information]]}}}}</includeonly><noinclude>{{Clear}}
 
}}<includeonly>{{#ifeq:{{NAMESPACE}}||[[Category:Characters]][[Category:Special characters]]}}{{#ifeq:{{NAMESPACE}}||{{#if:{{{ja-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:Characters with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:Characters with missing other language information]]}}}}</includeonly><noinclude>{{Clear}}
 
{{Documentation}}
 
{{Documentation}}

Latest revision as of 18:51, May 17, 2024

This template defines the table "special_character". View table.

[[File:|150px|150px|alt=Artwork of Infobox Special]]
Species Gender
[[]] Unknown
Star sign {{{sign}}} [[]]
Role Unknown
Main appearances

Other appearances
Name in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown

Template documentation (view)


More Cargo templates

Usage

{{Infobox Special
|name= 
|ja-name= 
|ko-name=
|zh-name=
|fr-name=
|it-name=
|es-name=
|de-name=
|nl-name=
|ru-name=
|image= 
|imagesize= 
|caption= 
|gender= 
|species= 
|service= 
|birthdaymonth= 
|birthday= 
|sign=
}}

Syntax Guide

This is a quick reference on how to use each field.

  • name: The name of the character will go here.
  • spacing: Set custom spacing between villager name translations. (optional)
  • ja-name: The character's Japanese name.
  • ko-name: The character's Korean name.
  • zh-name: The character's Simplified Chinese name from New Horizons onwards.
  • fr-name: The character's French name.
  • it-name: The character's Italian name.
  • es-name: The character's Spanish name.
  • de-name: The character's German name.
  • nl-name: The character's Dutch name.
  • ru-name: The character's Russian name.
  • image: The image file. Do not include [[File:Example.jpg]]! In this case, you would put Example.jpg.
  • imagesize: the size of the image. Please be sure to include "px" at the end.
  • gender: The gender of the character will go here. Male/Female/Unknown.
  • species: The species of animal the character is. If not known, leave blank.
  • service: The service the character provides to the player. For example, Kicks would have "shoe store owner."
  • birthdaymonth: The month the character was born.
  • birthday: The day the character was born.
  • sign: The character's zodiac sign.