Difference between revisions of "Template:Villager Header"

From Nookipedia, the Animal Crossing wiki
m (Wrong "Species")
(Adding category.)
(32 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| width="100%" align="center" style="background-color: #{{ColorPrimary}}; border:2px solid #{{ColorPrimary}}; border-spacing:0px; {{Roundy|10px}}"
+
{| width="100%" align="center" style="text-align:center; background-color: #{{ColorSecondary}}; border-spacing:0px; border: 3px solid #{{ColorPrimary}}; margin-bottom: 20px; {{Roundy|30px}}"  
|-
+
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;"| {{#switch: {{lc:{{{species|}}}}} | octopus = [[Octopus (species)|{{Colorshow|333|←}}]] | frog =  [[Frog (species)|{{Colorshow|333|←}}]] | unknown =  [[:Category:Species|{{Colorshow|333|←}}]] | [[{{{species|:Category:Species}}}|{{Colorshow|333|←}}]]}}  {{#ifeq: {{lc:{{{species|}}}}} | unknown | | {{#if: {{{species|}}} | [[File:{{#switch: {{lc:{{{species|}}}}} | bull | cow = Bovine | alpaca | beaver | axolotl | beaver | boar | camel | chameleon | frill-necked lizard | giraffe | gull | hedgehog | human | kappa | kitsune | mole | otter | owl | pelican | pigeon | pumpkin | reindeer | sea lion | skunk | sloth | tanuki | tapir | tortoise  | turkey | turtle | walrus | panther | peacock = Special | {{{species|}}}}}SpeciesIconSilhouette.png|32px|link={{#switch: {{lc:{{{species|}}}}} | octopus = Octopus (species) | frog =  Frog (species) | {{{species|}}}}}]]}}}}  {{#switch: {{lc:{{{species|}}}}} | octopus = [[Octopus (species)|{{Colorshow|333|More '''octopus''' villagers}}]] | frog =  [[Frog (species)|{{Colorshow|333|More '''frog''' villagers}}]] | unknown =  [[:Category:Species|{{Colorshow|333|More '''villager species'''}}]] | [[{{{species|:Category:Species}}}|{{Colorshow|333|More '''{{lc:{{{species|villager species}}}}}''' {{#if:{{{species|}}} | villagers}}}}]]}}
| width="33%" style="background-color: #{{ColorSecondary}}; text-align:center; {{Roundyleft|10px}}" | [[{{{species|:Category:Species}}} {{#ifeq:{{{species|}}}|Frog|(species)}}{{#ifeq:{{{species|}}}|Octopus|(species)}}|{{Colorshow|000000|More {{{species|(Species)}}} Villagers}}]]
+
| width=30% style="border-left:3px solid #{{ColorPrimary}}; border-right:3px solid #{{ColorPrimary}};"| '''[[List of villagers|{{Colorshow|333|Villager List}}]]'''
| width="34%" style="background-color: #{{ColorSecondary}}; border-left:2px solid #{{ColorPrimary}}; border-right:2px solid #{{ColorPrimary}}; text-align:center;" | '''[[List of villagers|{{Colorshow|000000|Villagers}}]]'''
+
| width=35% style="text-align:right; padding:0 18px 0 0;"| [[{{#ifeq: {{lc: {{{pers|}}}}} | special | Special Characters | {{{pers|Villager#Personalities}}}}}|{{Colorshow|333|More '''{{lc:{{{pers|villager personalities}}}}}''' {{#if: {{{pers|}}} | villagers}}]]}}  {{#if: {{{pers|}}} | [[File:Emotion Icon - {{#switch: {{lc:{{{pers|}}}}} | cranky = Outrage | jock = Pride | lazy = Sleepy | smug = Love | normal = Happiness | peppy = Glee | snooty = Disagreement | uchi = Mischief | special = Flourish}} (NL) cropped.png|36px|link={{#ifeq: {{lc: {{{pers|}}}}} | special | Special Characters | {{{pers|Villager#Personalities}}}}}]]}}  [[{{#ifeq: {{lc: {{{pers|}}}}} | special | Special Characters | {{{pers|Villager#Personalities}}}}}|→]]
| width="33%style="background-color: #{{ColorSecondary}}; text-align:center; {{Roundyright|10px}}" | [[{{{pers|Villager#Personalities}}}|{{Colorshow|000000|More {{{pers|(Personality)}}} Villagers}}]]
+
|}<noinclude>
{{#if:{{{cardnum|showing e-Card row for now}}}|{{!-}}
 
{{!}} style="background-color: #{{ColorPrimary}}; text-align: left; padding-left:5%; {{Roundybl|10px}}" {{!}} [[{{{prevcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|← {{{prevnum|X-000}}} {{{prevcard|Previous}}}}}]]
 
{{!}} style="background-color: #{{ColorPrimary}}; text-align: center;" {{!}} '''[[Merchandise/Animal Crossing-e|{{Colorshow|{{ColorSecondary}}|{{{cardnum|X-000}}} {{{name|{{PAGENAME}}}}}}}]]'''
 
{{!}} style="background-color: #{{ColorPrimary}}; text-align: right; padding-right:5%;  {{Roundybr|10px}}" {{!}} [[{{{nextcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|{{{nextnum|X-000}}} {{{nextcard|Next}}} →}}]]
 
}}
 
|}<noinclude>{{clr}}
 
  
 
==Usage==
 
==Usage==
===Basic===
 
 
<pre>
 
<pre>
 
{{Villager Header
 
{{Villager Header
Line 20: Line 13:
 
</pre>
 
</pre>
  
===e-Card Villagers===
+
==Notes==
<pre>
+
*The pers parameter takes the animal's personality type (Cranky, Jock, Lazy, Smug, Normal, Peppy, Snooty, Uchi, Special)
{{Villager Header
+
:– For villagers that do not have a typical personality (e.g. Tom Nook) enter "Special" as the personality type.
|species =  
 
|pers =
 
|cardnum =
 
|prevnum =
 
|prevcard =
 
|nextnum =
 
|nextcard =
 
}}
 
</pre>
 
 
 
==Guide==
 
===Basic===
 
<pre>
 
{{Villager Header
 
|species = villager's species
 
|pers = villager's personality type
 
}}
 
</pre>
 
  
===e-Card Villagers===
+
[[Category:Header Templates]]
<pre>
+
</noinclude>
{{Villager Header
 
|name = name of the villager (if necessary)
 
|species = villager's species
 
|pers = villager's personality type
 
|cardnum = full number of villager's e-Card (ex. 1-001)
 
|prevnum = full number of previous e-Card
 
|prevcard = name of page for subject of previous e-Card
 
|nextnum = full number of following e-Card
 
|nextcard = name of page for subject of following e-Card
 
}}
 
</pre></noinclude>
 

Revision as of 12:05, September 18, 2019

   More villager species Villager List More villager personalities    

Usage

{{Villager Header
|species = 
|pers =
}}

Notes

  • The pers parameter takes the animal's personality type (Cranky, Jock, Lazy, Smug, Normal, Peppy, Snooty, Uchi, Special)
– For villagers that do not have a typical personality (e.g. Tom Nook) enter "Special" as the personality type.