Difference between revisions of "Template:Villager Header"
From Nookipedia, the Animal Crossing wiki
(Adding more to margin-bottom. Think I've finished here. Sky if you can clean up any code or think something should be changed, feel free!) |
(Removed e-card functionality, will be placing this into a revamped e-card template. Template automatically inserts icons matching a villager's species & personality.) |
||
Line 1: | Line 1: | ||
− | {| width="100%" align="center" style="background-color: #{{ | + | {| 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}}}|←]] {{#if: {{{species|}}} | [[File:{{{species|}}}SpeciesIconSilhouette.png|32px|link={{{species|List of villagers}}}]]}} [[{{{species|List of villagers}}}|{{Colorshow|333|More '''{{{species|villagers}}}''' {{#if:{{{species|}}} | villagers}}]]}} | |
− | | width= | + | | width=30% style="border-left:3px solid #{{ColorPrimary}}; border-right:3px solid #{{ColorPrimary}};"| '''[[List of villagers|{{Colorshow|333|Villager List}}]]''' |
− | | width= | + | | 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}}]]}} {{#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}}}}}]]}} [[{{#ifeq: {{lc: {{{pers|}}}}} | special | Special Visitors | {{{pers|Villager#Personalities}}}}}|→]] |
− | | width= | + | |} |
− | {{#if:{{{ | ||
− | {{ | ||
− | |||
− | {{ | ||
− | {{ | ||
− | {{ | ||
− | |||
− | |||
− | |||
− | | | ||
==Usage== | ==Usage== | ||
− | |||
<pre> | <pre> | ||
{{Villager Header | {{Villager Header | ||
Line 24: | Line 13: | ||
</pre> | </pre> | ||
− | === | + | ==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 12:07, July 31, 2015
← More villagers | Villager List | More villagers → |
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.