Difference between revisions of "Template:Infobox Special"

From Nookipedia, the Animal Crossing wiki
m
m
Line 27: Line 27:
 
|pc = Boolean
 
|pc = Boolean
 
}}</noinclude>{{#if:{{{newinfobox|}}}|<includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
}}</noinclude>{{#if:{{{newinfobox|}}}|<includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
_table=villager
+
_table=special_character
 
|url = {{canonicalurl:{{PAGENAME}}}}
 
|url = {{canonicalurl:{{PAGENAME}}}}
 
|name = {{{name|{{PAGENAME}}}}}
 
|name = {{{name|{{PAGENAME}}}}}
Line 133: Line 133:
 
|<span id="api-villager_name" style="display:none;">{{{name|{{PAGENAME}}}}}</span><span id="api-villager_image" style="display:none;">{{filepath:{{{image|Nia.png}}}|{{{imagesize|200px}}}}}</span><span id="api-villager_quote" style="display:none;">{{{quote|Unknown}}}</span><span id="api-villager_gender" style="display:none;">{{{gender|Unknown}}}</span><span id="api-villager_personality" style="display:none;">{{{personality|Unknown}}}</span><span id="api-villager_species" style="display:none;">{{{species|Unknown}}}</span><span id="api-villager_birthday" style="display:none;">{{{birthday|Unknown}}}</span><span id="api-villager_sign" style="display:none;">{{{sign|Unknown}}}</span><span id="api-villager_phrase" style="display:none;">{{{phrase|Unknown}}}</span><span id="api-villager_clothes" style="display:none;">{{{clothes|Unknown}}}</span><span id="api-villager_umbrella" style="display:none;">{{{umbrella|Unknown}}}</span><span id="api-villager_song" style="display:none;">{{{song|Unknown}}}</span><span id="api-villager_appearances" style="display:none;">{{{appearances|Unknown}}}</span><span id="api-villager_other-appearances" style="display:none;">{{{other|Unknown}}}</span><span id="api-villager_islander-favorite" style="display:none;">{{{favorite|N/A}}}</span><span id="api-villager_islander-allergic" style="display:none;">{{{allergic|N/A}}}</span><span id="api-villager_link" style="display:none;">{{fullurl:{{FULLPAGENAME}}}}</span><span id="api-villager_updated" style="display:none;">{{REVISIONMONTH1}}/{{REVISIONDAY}}/{{REVISIONYEAR}}</span><span id="api-villager_cached" style="display:none;">{{LOCALMONTH}}/{{LOCALDAY}}/{{LOCALYEAR}} {{LOCALTIME}}</span>
 
|<span id="api-villager_name" style="display:none;">{{{name|{{PAGENAME}}}}}</span><span id="api-villager_image" style="display:none;">{{filepath:{{{image|Nia.png}}}|{{{imagesize|200px}}}}}</span><span id="api-villager_quote" style="display:none;">{{{quote|Unknown}}}</span><span id="api-villager_gender" style="display:none;">{{{gender|Unknown}}}</span><span id="api-villager_personality" style="display:none;">{{{personality|Unknown}}}</span><span id="api-villager_species" style="display:none;">{{{species|Unknown}}}</span><span id="api-villager_birthday" style="display:none;">{{{birthday|Unknown}}}</span><span id="api-villager_sign" style="display:none;">{{{sign|Unknown}}}</span><span id="api-villager_phrase" style="display:none;">{{{phrase|Unknown}}}</span><span id="api-villager_clothes" style="display:none;">{{{clothes|Unknown}}}</span><span id="api-villager_umbrella" style="display:none;">{{{umbrella|Unknown}}}</span><span id="api-villager_song" style="display:none;">{{{song|Unknown}}}</span><span id="api-villager_appearances" style="display:none;">{{{appearances|Unknown}}}</span><span id="api-villager_other-appearances" style="display:none;">{{{other|Unknown}}}</span><span id="api-villager_islander-favorite" style="display:none;">{{{favorite|N/A}}}</span><span id="api-villager_islander-allergic" style="display:none;">{{{allergic|N/A}}}</span><span id="api-villager_link" style="display:none;">{{fullurl:{{FULLPAGENAME}}}}</span><span id="api-villager_updated" style="display:none;">{{REVISIONMONTH1}}/{{REVISIONDAY}}/{{REVISIONYEAR}}</span><span id="api-villager_cached" style="display:none;">{{LOCALMONTH}}/{{LOCALDAY}}/{{LOCALYEAR}} {{LOCALTIME}}</span>
 
|}</includeonly>
 
|}</includeonly>
<includeonly>{{#ifeq:{{NAMESPACE}}||[[Category:Characters]][[Category:Special Characters]]}}</includeonly><noinclude>
+
<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>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 182: Line 182:
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
 
</noinclude>
 
</noinclude>
 
<includeonly>{{#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>
 

Revision as of 13:19, August 2, 2020

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

Infobox Special
 
Japanese Unknown Korean Unknown Chinese Unknown
French Unknown Italian Unknown Spanish Unknown
German Unknown Dutch Unknown Russian Unknown
Nia.png
Species Gender
Main Appearances
Other Appearances

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= 
|birthday= 
|sign=
|other= 
}}

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."
  • birthday: The day the character was born.
  • sign: The character's zodiac sign.