Difference between revisions of "Template:Villager Header"

From Nookipedia, the Animal Crossing wiki
(Species icon will now correctly link to frog & octopus species pages and not disambig.)
m (Reverted edits by SuperHamster (talk) to last revision by Sunmarsh)
Tag: Rollback
(25 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
<div class="nomobile">
 
{| width="100%" align="center" style="text-align:center; background-color: #{{ColorSecondary}}; border-spacing:0px; border: 3px solid #{{ColorPrimary}}; margin-bottom: 20px; {{Roundy|30px}}"  
 
{| 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|←}}]] | [[{{{species|:Category:Species}}}|{{Colorshow|333|←}}]]}}&nbsp; {{#if: {{{species|}}} | [[File:{{{species|}}}SpeciesIconSilhouette.png|32px|link={{#switch: {{lc:{{{species|}}}}} | octopus = Octopus (species) | frog =  Frog (species) | {{{species|}}}}}]]}} &nbsp;{{#switch: {{lc:{{{species|}}}}} | octopus = [[Octopus (species)|{{Colorshow|333|More '''octopus''' villagers}}]] | frog =  [[Frog (species)|{{Colorshow|333|More '''frog''' villagers}}]] | [[{{{species|:Category:Species}}}|{{Colorshow|333|More '''{{lc:{{{species|villager species}}}}}''' {{#if:{{{species|}}} | villagers}}}}]]}}
+
| 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|←}}]]}}&nbsp; {{#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 | fox | mole | otter | owl | pelican | pigeon | pumpkin | reindeer | sea lion | skunk | sloth | raccoon | tapir | tortoise  | turkey | turtle | walrus | panther | peacock | dodo = Special | {{{species|}}}}}SpeciesIconSilhouette.png|32px|link={{#switch: {{lc:{{{species|}}}}} | octopus = Octopus (species) | frog =  Frog (species) | {{{species|}}}}}]]}}}} &nbsp;{{#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=30% style="border-left:3px solid #{{ColorPrimary}}; border-right:3px solid #{{ColorPrimary}};"| '''[[List of villagers|{{Colorshow|333|Villager List}}]]'''
 
| width=30% style="border-left:3px solid #{{ColorPrimary}}; border-right:3px solid #{{ColorPrimary}};"| '''[[List of villagers|{{Colorshow|333|Villager List}}]]'''
| width=35% style="text-align:right; padding:0 18px 0 0;"| [[{{#ifeq: {{lc: {{{pers|}}}}} | special | Special Visitors | {{{pers|Villager#Personalities}}}}}|{{Colorshow|333|More '''{{lc:{{{pers|villager personalities}}}}}''' {{#if: {{{pers|}}} | villagers}}]]}}&nbsp; {{#if: {{{pers|}}} | [[File:{{#switch: {{lc:{{{pers|}}}}} | cranky = Aggravation | jock = Pride | lazy = Sleepy | smug = Love | normal = Happiness | peppy = Glee | snooty = Disagreement | uchi = Joy | special = Flourish}}EmotionSpriteACNL.png|36px|link={{#ifeq: {{lc: {{{pers|}}}}} | special | Special Visitors | {{{pers|Villager#Personalities}}}}}]]}} &nbsp;[[{{#ifeq: {{lc: {{{pers|}}}}} | special | Special Visitors | {{{pers|Villager#Personalities}}}}}|→]]
+
| 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}}]]}}&nbsp; {{#if: {{{pers|}}} | [[File:Emotion {{#switch: {{lc:{{{pers|}}}}} | cranky = Aggravation | jock = Pride | lazy = Sleepy | smug = Smirking | normal = Happiness | peppy = Encouraging | snooty = Disagreement | sisterly = Mischief | special = Flourish}} NH Icon cropped.png|36px|link={{#ifeq: {{lc: {{{pers|}}}}} | special | Special Characters | {{{pers|Villager#Personalities}}}}}]]}} &nbsp;[[{{#ifeq: {{lc: {{{pers|}}}}} | special | Special Characters | {{{pers|Villager#Personalities}}}}}|→]]
|}<noinclude>
+
|}
 
+
</div><div class="onlymobile">
==Usage==
+
{| width="100%" align="center" style="text-align:center; background-color: #{{ColorSecondary}}; border-spacing:0px; border: 3px solid #{{ColorPrimary}}; margin-bottom: 20px; {{Roundy|30px}}"
<pre>
+
| colspan=2 style="height:35px; border-bottom:3px solid #{{ColorPrimary}};"| '''[[List of villagers|{{Colorshow|333|Villager List}}]]'''
{{Villager Header
+
|-
|species =  
+
| width=50% height=38px style="border-right:2px solid #{{ColorPrimary}}; 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|←}}]]}}&nbsp; {{#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 | fox | mole | otter | owl | pelican | pigeon | pumpkin | reindeer | sea lion | skunk | sloth |raccoon | tapir | tortoise  | turkey | turtle | walrus | panther | peacock = Special | {{{species|}}}}}SpeciesIconSilhouette.png|32px|link={{#switch: {{lc:{{{species|}}}}} | octopus = Octopus (species) | frog =  Frog (species) | {{{species|}}}}}]]}}}} &nbsp;{{#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}}}}]]}}
|pers =
+
| width=50% style="border-left:1px solid #{{ColorPrimary}}; 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}}]]}}&nbsp; {{#if: {{{pers|}}} | [[File:Emotion {{#switch: {{lc:{{{pers|}}}}} | cranky = Aggravation | jock = Pride | lazy = Sleepy | smug = Smirking | normal = Happiness | peppy = Encouraging | snooty = Disagreement | sisterly = Mischief | special = Flourish}} NH Icon cropped.png|36px|link={{#ifeq: {{lc: {{{pers|}}}}} | special | Special Characters | {{{pers|Villager#Personalities}}}}}]]}} &nbsp;[[{{#ifeq: {{lc: {{{pers|}}}}} | special | Special Characters | {{{pers|Villager#Personalities}}}}}|→]]
}}
+
|}
</pre>
+
</div><noinclude>{{Documentation}}[[Category:Header Templates]]</noinclude>
 
 
==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.
 
</noinclude>
 

Revision as of 02:08, October 22, 2020

Template documentation (view)


Usage

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

Notes

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