Difference between revisions of "Template:Infobox Special"

From Nookipedia, the Animal Crossing wiki
(Changing WW, CF, NL, HHD, aF, PC, & NH category names for #incat:. Infobox info may appear incorrect until all pages have been migrated to the new category.)
(added language sections and formatted birthdays)
Line 1: Line 1:
 
{| style="background: #defe77; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 3px solid #c8e56b; width: 25%; float:right"
 
{| style="background: #defe77; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 3px solid #c8e56b; width: 25%; float:right"
 
|-
 
|-
! style="text-align: center; width: 25%;" colspan="2" | <big><big>{{{name|{{PAGENAME}}}}}</big></big> {{#if:{{{appearances|}}}| [[Category:Pages with an outdated infobox special template]]}} {{#if:{{{debut|}}}| [[Category:Pages with an outdated infobox special template]]}}
+
! style="text-align: center; width: 25%;" colspan="2" | <big><big>{{{name|{{PAGENAME}}}}}</big></big> {{#if:{{{appearances|}}}| [[Category:Pages with an outdated infobox special template]]}} {{#if:{{{debut|}}}| [[Category:Pages with an outdated infobox special template]]}} {{#if:{{{japanese|}}}| [[Category:Pages with an outdated infobox special template]]}}
{{#if:{{{japanese|}}}|{{!}}-
+
|-
{{!}} style="background-color: #fff; text-align:center; {{roundy|5px}}; padding:5px 0 5px 0;" colspan="3" {{!}} '''{{{japanese|}}}'''|}}
+
| colspan="3" style="width:100%; border-top: 1px solid #c1d18c; line-height:2px;" | &nbsp;
 +
|- style="text-align:center;"
 +
| colspan="3" |
 +
<div style="display:inline-block;">
 +
{| style="text-align:left; width:100%; line-height:14px"
 +
| [[File:Flag of Japan.png|Japanese|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{j-name|}}}|{{{j-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span>
 +
| <span style="padding-left:{{{1|.6em}}};"></span>[[File:Flag of Korea.png|Korean|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{k-name|}}}|{{{k-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span><span style="padding-left:{{{1|.6em}}};"></span>
 +
| [[File:Flag of the People's Republic of China.png|Chinese|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{c-name|}}}|{{{c-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span>
 +
|-
 +
| [[File:Flag of France.png|French|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{f-name|}}}|{{{f-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span>
 +
| <span style="padding-left:{{{1|.6em}}};"></span>[[File:Flag of Italy.png|Italian|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{i-name|}}}|{{{i-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span><span style="padding-left:{{{1|.6em}}};"></span>
 +
| [[File:Flag of Spain.png|Spanish|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{s-name|}}}|{{{s-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span>
 +
|-
 +
| [[File:Flag of Germany.png|German|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{g-name|}}}|{{{g-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span>
 +
| <span style="padding-left:{{{1|.6em}}};"></span>[[File:Flag of the Netherlands.png|Dutch|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{d-name|}}}|{{{d-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span><span style="padding-left:{{{1|.6em}}};"></span>
 +
| [[File:Flag of Russia.png|Russian|link=|16px]]&nbsp;<span style="font-size:.75em">{{#if:{{{r-name|}}}|{{{r-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span>
 +
|}</div>
 
|-
 
|-
 
| style="background: #ffffff; text-align:center; {{roundy|10px}}" colspan="3" {{!}} {{{image|[[File:Nia.png|175px]]}}}<br>{{#if:{{{caption|}}}|<small>''{{{caption|}}}''</small>|}}
 
| style="background: #ffffff; text-align:center; {{roundy|10px}}" colspan="3" {{!}} {{{image|[[File:Nia.png|175px]]}}}<br>{{#if:{{{caption|}}}|<small>''{{{caption|}}}''</small>|}}
Line 15: Line 31:
 
| style="background:#ffffff; text-align:center; {{roundybr|10px}}; width=50%" | {{{gender|Unknown}}}
 
| style="background:#ffffff; text-align:center; {{roundybr|10px}}; width=50%" | {{{gender|Unknown}}}
 
|}
 
|}
 +
|-
 +
{{#if:{{{birthday|}}}|
 +
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 3px; {{roundytl|10px}}" {{!}} Birthday
 +
{{!}} id="Infobox-villager-birthday" style="background:#fff; border: 1px solid #fff;" {{!}} {{{birthday|}}}
 +
{{!}} id="Infobox-villager-starsign" style="background:#fff; text-align:center; {{roundytr|10px}};" {{!}} [[File:{{{sign|}}}.png|link{{=}}{{{sign}}}|{{{sign}}}]] {{#if:{{{sign2|}}} | [[File:{{{sign2|}}}.png|link{{=}}{{{sign2}}}|{{{sign2}}}]]{{{note2|}}}|}}
 +
}}
 +
|-
 +
{{#if:{{{birthday|}}}||{{#if:{{{sign|}}}|
 +
! style="border: 1px solid #8cbcd1; background: #8cbcd1; text-align:right; vertical-align:top; padding:0 3px 0 0; {{#if: {{{birthday|}}} | | {{roundytl|10px}}}}" {{!}} Star sign
 +
{{!}}id="Infobox-villager-starsign"  colspan="2" style="background:#fff; border: 1px solid #fff; {{#if: {{{birthday|}}} | | {{roundytr|10px}}}}" {{!}} [[File:{{{sign|}}}.png|link{{=}}{{{sign}}}|{{{sign}}}]] [[{{{sign|}}}|{{{sign|}}}]] {{{note1|}}}}} {{#if: {{{sign2|}}}| <br>[[File:{{{sign2|}}}.png|link{{=}}{{{sign2}}}|{{{sign2}}}]] [[{{{sign2|}}}|{{{sign2|}}}]] {{{note2|}}} |}}}}
 
|- valign="top"
 
|- valign="top"
 
{{#if:{{{service|}}}|
 
{{#if:{{{service|}}}|
 
! style="border: 1px solid #c8e56b; background: #c8e56b; text-align:right; {{roundytl|10px}}" {{!}} Service
 
! style="border: 1px solid #c8e56b; background: #c8e56b; text-align:right; {{roundytl|10px}}" {{!}} Service
 
{{!}} colspan="2" style="border: 1px solid #ffffff; {{roundytr|10px}}" bgcolor="#ffffff" {{!}} {{{service|}}}}}
 
{{!}} colspan="2" style="border: 1px solid #ffffff; {{roundytr|10px}}" bgcolor="#ffffff" {{!}} {{{service|}}}}}
|- valign="top"
 
{{#if:{{{birthday|}}}|
 
! style="border: 1px solid #c8e56b; background: #c8e56b; text-align:right; {{#if:{{{service|}}}||{{roundytl|10px}}}}" {{!}} Birthday
 
{{!}} colspan="2" style="border: 1px solid #ffffff; {{#if:{{{birthday|}}}||{{roundytr|10px}}}}" bgcolor="#ffffff" {{!}} {{{birthday|}}}}}
 
|-
 
{{#if:{{{sign|}}}|
 
! style="border: 1px solid #c8e56b; background: #c8e56b; text-align:right; vertical-align:top; padding:0 3px 0 0; {{#if: {{{birthday|}}} | | {{roundytl|10px}}}}" {{!}} Star sign
 
{{!}} colspan="2" style="background:#ffffff; border: 1px solid #ffffff; {{#if: {{{birthday|}}} | | {{roundytr|10px}}}}" {{!}} [[File:{{{sign|}}}.png|link{{=}}{{{sign}}}|{{{sign}}}]] [[{{{sign|}}}|{{{sign|}}}]] {{{note1|}}}}} {{#if: {{{sign2|}}}| <br>[[File:{{{sign2|}}}.png|link{{=}}{{{sign2}}}|{{{sign2}}}]] [[{{{sign2|}}}|{{{sign2|}}}]] {{{note2|}}} |}}
 
 
|-
 
|-
 
! style="border: 1px solid #c8e56b; background: #c8e56b; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Main Appearances
 
! style="border: 1px solid #c8e56b; background: #c8e56b; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Main Appearances
Line 51: Line 69:
 
{{Infobox Special
 
{{Infobox Special
 
|name=  
 
|name=  
|japanese=
+
|j-name=
 +
|k-name=
 +
|c-name=
 +
|f-name=
 +
|i-name=
 +
|s-name=
 +
|g-name=
 +
|d-name=
 +
|r-name=
 
|image=  
 
|image=  
 
|imagesize=  
 
|imagesize=  
Line 67: Line 93:
  
 
*'''name:''' The name of the character will go here.
 
*'''name:''' The name of the character will go here.
*'''japanese:''' The Japanese name of the character will go here; [[Template:JN]] should be used.
+
*'''j-name:''' The character's Japanese name.
 +
*'''k-name:''' The character's Korean name.
 +
*'''c-name:''' The character's Chinese name.
 +
*'''f-name:''' The character's French name.
 +
*'''i-name:''' The character's Italian name.
 +
*'''s-name:''' The character's Spanish name.
 +
*'''g-name:''' The character's German name.
 +
*'''d-name:''' The character's Dutch name.
 +
*'''r-name:''' The character's Russian name.
 
*'''image:''' The image file. '''''Do not''''' include <nowiki>[[Image:Example.jpg]]</nowiki>! In this case, you would put Example.jpg.
 
*'''image:''' The image file. '''''Do not''''' include <nowiki>[[Image:Example.jpg]]</nowiki>! In this case, you would put Example.jpg.
 
*'''imagesize:''' the size of the image. Please be sure to include "px" at the end.
 
*'''imagesize:''' the size of the image. Please be sure to include "px" at the end.

Revision as of 02:11, February 19, 2020

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

Usage

{{Infobox Special
|name= 
|j-name= 
|k-name=
|c-name=
|f-name=
|i-name=
|s-name=
|g-name=
|d-name=
|r-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.
  • j-name: The character's Japanese name.
  • k-name: The character's Korean name.
  • c-name: The character's Chinese name.
  • f-name: The character's French name.
  • i-name: The character's Italian name.
  • s-name: The character's Spanish name.
  • g-name: The character's German name.
  • d-name: The character's Dutch name.
  • r-name: The character's Russian name.
  • image: The image file. Do not include [[Image: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.