Difference between revisions of "Template:Infobox Special"

From Nookipedia, the Animal Crossing wiki
m (Removing species link if set to unknown)
(Storing birthday to nh_calendar)
Line 30: Line 30:
 
|hhd = Boolean
 
|hhd = Boolean
 
|pc = Boolean
 
|pc = Boolean
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
+
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#incat:New Horizons characters|{{NHCalendar/CargoAttach}}{{#cargo_store:
 +
_table=nh_calendar
 +
|date={{CURRENTYEAR}}-{{#time: m-d | {{{birthdaymonth|}}} {{{birthday|}}} }}
 +
|event={{{name|{{PAGENAME}}}}}'s birthday
 +
|type=Birthday
 +
|link={{PAGENAME}}
 +
}}{{#cargo_store:
 +
_table=nh_calendar
 +
|date={{#expr: {{CURRENTYEAR}} + 1 }}-{{#time: m-d | {{{birthdaymonth|}}} {{{birthday|}}} }}
 +
|event={{{name|{{PAGENAME}}}}}'s birthday
 +
|type=Birthday
 +
|link={{PAGENAME}}
 +
}}|}}{{#cargo_store:
 
_table=special_character
 
_table=special_character
 
|url = {{canonicalurl:{{PAGENAME}}}}
 
|url = {{canonicalurl:{{PAGENAME}}}}

Revision as of 21:05, April 10, 2021

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

SpecialSpeciesIconSilhouette.png Infobox Special  
Nia.png
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.