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!) |
(Adding category.) |
||
(18 intermediate revisions by 6 users not shown) | |||
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;"| {{#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= | + | | 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 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}}}}}|→]] |
− | | | + | |}<noinclude> |
− | {{#if:{{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | {{ | ||
− | |||
− | |}<noinclude> | ||
==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. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[Category:Header Templates]] | |
− | + | </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.