Difference between revisions of "Template:Infobox Special"
From Nookipedia, the Animal Crossing wiki
(updating infobox to new design) |
Tag: Undo |
||
Line 1: | Line 1: | ||
− | { | + | {| class="infobox" style="background: #defe77; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 3px solid #c8e56b; width: 25%; float:right" |
− | + | |- | |
− | + | ! colspan="3" align="center" | <big><big>{{{name|{{PAGENAME}}}}}</big></big> {{#if:{{{appearances|}}}| {{#ifeq:{{NAMESPACE}}||[[Category:Pages with an outdated infobox special template]]}}}} {{#if:{{{debut|}}}| {{#ifeq:{{NAMESPACE}}||[[Category:Pages with an outdated infobox special template]]}}}} {{#if:{{{japanese|}}}| {{#ifeq:{{NAMESPACE}}||[[Category:Pages with an outdated infobox special template]]}}}} | |
− | + | |- | |
− | + | | colspan="3" style="width:100%; border-top: 1px solid #c1d18c; line-height:2px;" | | |
− | + | |- 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]] <span style="font-size:.75em">{{#if:{{{ja-name|}}}|{{{ja-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span> |
− | + | | <span style="padding-left:{{{spacing|.6em}}};"></span>[[File:Flag of Korea.png|Korean|link=|16px]] <span style="font-size:.75em">{{#if:{{{ko-name|}}}|{{{ko-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span><span style="padding-left:{{{spacing|.6em}}};"></span> | |
− | + | | [[File:Flag of the People's Republic of China.png|Chinese|link=|16px]] <span style="font-size:.75em">{{#if:{{{zh-name|}}}|{{{zh-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span> | |
− | | | + | |- |
− | + | | [[File:Flag of France.png|French|link=|16px]] <span style="font-size:.75em">{{#if:{{{fr-name|}}}|{{{fr-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span> | |
− | + | | <span style="padding-left:{{{spacing|.6em}}};"></span>[[File:Flag of Italy.png|Italian|link=|16px]] <span style="font-size:.75em">{{#if:{{{it-name|}}}|{{{it-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span><span style="padding-left:{{{spacing|.6em}}};"></span> | |
− | | | + | | [[File:Flag of Spain.png|Spanish|link=|16px]] <span style="font-size:.75em">{{#if:{{{es-name|}}}|{{{es-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span> |
− | + | |- | |
− | | | + | | [[File:Flag of Germany.png|German|link=|16px]] <span style="font-size:.75em">{{#if:{{{de-name|}}}|{{{de-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span> |
− | + | | <span style="padding-left:{{{spacing|.6em}}};"></span>[[File:Flag of the Netherlands.png|Dutch|link=|16px]] <span style="font-size:.75em">{{#if:{{{nl-name|}}}|{{{nl-name|}}}|{{Colorshow|b3ba91|Unknown}}}}</span><span style="padding-left:{{{spacing|.6em}}};"></span> | |
− | + | | [[File:Flag of Russia.png|Russian|link=|16px]] <span style="font-size:.75em">{{#if:{{{ru-name|}}}|{{{ru-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>''|}} |
− | + | |- | |
− | + | | colspan="3" style="padding:0px" | | |
− | + | {| class="roundy" style="{{roundy}}; background:transparent; width:100%" border-collapse="collapse; margin:0px" | |
− | + | ! style="{{roundytl|10px}} border: 1px solid #c8e56b; background: #c8e56b; text-align:center; width=50%" | Species | |
− | | | + | ! style="{{roundytr|10px}} border: 1px solid #c8e56b; background: #c8e56b; text-align:center; width=50%" | Gender |
− | + | |- | |
− | | | + | | style="background:#ffffff; text-align:center; {{roundybl|10px}}; width=50%" | {{{species|Unknown}}} |
− | + | | style="background:#ffffff; text-align:center; {{roundybr|10px}}; width=50%" | {{{gender|Unknown}}} | |
− | | | + | |} |
− | | | + | |- |
− | | | + | {{#if:{{{birthday|}}}| |
− | | | + | ! style="border: 1px solid #c8e56b; background: #c8e56b; 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:Starsign {{{sign|}}} NH Icon.png|25px|link{{=}}{{{sign}}}|{{{sign}}}]] {{#if:{{{sign2|}}} | [[File:Starsign {{{sign2|}}} NH Icon.png|25px|link{{=}}{{{sign2}}}|{{{sign2}}}]]{{{note2|}}}|}} |
− | | | + | }} |
− | | | + | |- |
− | | | + | {{#if:{{{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 |
− | | | + | {{!}}id="Infobox-villager-starsign" colspan="2" style="background:#fff; border: 1px solid #fff; {{#if: {{{birthday|}}} | | {{roundytr|10px}}}}" {{!}} [[File:Starsign {{{sign|}}} NH Icon.png|25px|link{{=}}{{{sign}}}|{{{sign}}}]] [[{{{sign|}}}|{{{sign|}}}]] {{{note1|}}}}} {{#if: {{{sign2|}}}| <br>[[File:Starsign {{{sign2|}}} NH Icon.png|25px|link{{=}}{{{sign2}}}|{{{sign2}}}]] [[{{{sign2|}}}|{{{sign2|}}}]] {{{note2|}}} |}}}} |
− | + | |- valign="top" | |
− | | | + | {{#if:{{{service|}}}| |
− | | | + | ! style="border: 1px solid #c8e56b; background: #c8e56b; text-align:right;" {{!}} Service |
− | | | + | {{!}} colspan="2" style="border: 1px solid #ffffff; {{roundytr|10px}}" bgcolor="#ffffff" {{!}} {{{service|}}}}} |
− | | | + | |- |
− | | | + | ! style="border: 1px solid #c8e56b; background: #c8e56b; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Main Appearances |
− | + | {{!}} id="Infobox-special-debut" colspan="2" style="background:#fff; border: 1px solid #fff; {{!}} | |
− | + | {{#incat:Doubutsu no Mori characters|{{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}|{{Infobox Appearance|game={{DnM|shortest}}|appears=no}}}} | |
− | + | {{#incat:Animal Crossing characters|{{Infobox Appearance|game={{PG|shortest}}|appears=yes}}|{{Infobox Appearance|game={{PG|shortest}}|appears=no}}}} | |
− | + | {{#incat:Doubutsu no Mori e+ characters|{{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}|{{Infobox Appearance|game={{DnMe+|shortest}}|appears=no}}}} | |
− | + | {{#incat:Wild World characters|{{Infobox Appearance|game={{WW|shortest}}|appears=yes}}|{{Infobox Appearance|game={{WW|shortest}}|appears=no}}}} | |
− | + | {{#incat:City Folk characters|{{Infobox Appearance|game={{CF|shortest}}|appears=yes}}|{{Infobox Appearance|game={{CF|shortest}}|appears=no}}}} | |
− | + | {{#incat:New Leaf characters|{{Infobox Appearance|game={{NL|shortest}}|appears=yes}}|{{#incat:New Leaf update characters|{{Infobox Appearance|game={{NL|shortest}}<sup>[[Animal Crossing: New Leaf - Welcome amiibo|a]]</sup>|appears=yes}}|{{Infobox Appearance|game={{NL|shortest}}|appears=no}}}}}} | |
− | + | {{#incat:New Horizons characters|{{Infobox Appearance|game={{NH|shortest}}|appears=yes}}|}} | |
− | + | |- | |
− | + | ! style="border: 1px solid #c8e56b; background: #c8e56b; text-align:right; vertical-align:top; padding:0 3px 0 0;" {{!}} Other Appearances | |
− | + | {{!}} id="Infobox-special-debut" colspan="2" style="background:#fff; border: 1px solid #fff; {{!}} | |
− | + | {{#incat:Happy Home Designer characters|{{Infobox Appearance|game={{HHD|shortest}}|appears=yes}}|{{Infobox Appearance|game={{HHD|shortest}}|appears=no}}}} | |
− | + | {{#incat:amiibo Festival characters|{{Infobox Appearance|game={{AMF|short}}|appears=yes}}|{{Infobox Appearance|game={{AMF|short}}|appears=no}}}} | |
− | + | {{#incat:Doubutsu no Mori (film) characters|{{Infobox Appearance|game={{AM|shortest}}|appears=yes}}|{{Infobox Appearance|game={{AM|shortest}}|appears=no}}}} | |
− | + | {{#incat:Pocket Camp characters|{{Infobox Appearance|game={{PC|shortest}}|appears=yes}}|{{Infobox Appearance|game={{PC|shortest}}|appears=no}}}} | |
− | + | |}<includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| style="display:none;" | {| style="display:none;" | ||
|- | |- |
Revision as of 13:48, July 21, 2020
Infobox Special | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
| |||||||||||
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 putExample.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.