Difference between revisions of "Template:Villager Header"

From Nookipedia, the Animal Crossing wiki
(Missing <noinclude> ^^;)
(Linking to :Category:Species by default if no species parameter is entered. Fixed personality link to go to octopus/frog species page instead of disambig. Made arrows same color as text. Changed default text if no parameters entered.)
Line 1: Line 1:
 
{| 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;"| [[{{{species|List of villagers}}}|←]]&nbsp; {{#if: {{{species|}}} | [[File:{{{species|}}}SpeciesIconSilhouette.png|32px|link={{{species|List of villagers}}}]]}} &nbsp;[[{{{species|List of villagers}}}|{{Colorshow|333|More '''{{{species|villagers}}}''' {{#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|←}}]] | [[{{{species|:Category:Species}}}|{{Colorshow|333|←}}]]}}&nbsp; {{#if: {{{species|}}} | [[File:{{{species|}}}SpeciesIconSilhouette.png|32px|link={{{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 '''{{{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|villagers}}}}}''' {{#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 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}}}}}|→]]
 
|}<noinclude>
 
|}<noinclude>
  

Revision as of 17:37, August 1, 2015

   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.