Difference between revisions of "Template:Villager Header"
From Nookipedia, the Animal Crossing wiki
m |
SuperHamster (talk | contribs) m (Text replacement - " width="(.*)\%"(.*)style="" to "$2style="width: $1%; ") |
||
Line 1: | Line 1: | ||
<div class="nomobile"> | <div class="nomobile"> | ||
− | {| class="theme-background" | + | {| class="theme-background" style="width: 100%; text-align: center; border-spacing: 0px !important; margin-bottom: 20px; {{Roundy|30px}}" |
| class="theme-border" width=35% height=38px style="border-radius: 20px 0 0 20px; border-right: 0px; 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 | {{#ifeq: {{lc: {{{pers|}}}}} | special|[[File:SpecialSpeciesIconSilhouette.png|32px|link=:Category:Species]]}} | {{#if: {{{species|}}} | [[File:{{#switch: {{lc:{{{species|}}}}} | bull | cow = Bovine | alpaca | beaver | axolotl | beaver | boar | camel | chameleon | frill-necked lizard | giraffe | seagull | hedgehog | human | kappa | kitsune | fox | mole | otter | owl | pelican | pigeon | pumpkin | reindeer | fur seal | 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|}}}}}]]}}}} {{#switch: {{lc:{{{species|}}}}} | octopus = [[Octopus (species)|{{Colorshow|333|More '''octopus''' villagers}}]] | frog = [[Frog (species)|{{Colorshow|333|More '''frog''' villagers}}]] | unknown = {{#ifeq: {{lc: {{{pers|}}}}} | special|[[:Category:Species|{{Colorshow|333|More '''species'''}}]]|[[:Category:Species|{{Colorshow|333|More '''villager species'''}}]]}} | [[{{{species|:Category:Species}}}|{{Colorshow|333|More '''{{lc:{{{species|villager species}}}}}''' {{#if:{{{species|}}} | villagers}}}}]]}} | | class="theme-border" width=35% height=38px style="border-radius: 20px 0 0 20px; border-right: 0px; 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 | {{#ifeq: {{lc: {{{pers|}}}}} | special|[[File:SpecialSpeciesIconSilhouette.png|32px|link=:Category:Species]]}} | {{#if: {{{species|}}} | [[File:{{#switch: {{lc:{{{species|}}}}} | bull | cow = Bovine | alpaca | beaver | axolotl | beaver | boar | camel | chameleon | frill-necked lizard | giraffe | seagull | hedgehog | human | kappa | kitsune | fox | mole | otter | owl | pelican | pigeon | pumpkin | reindeer | fur seal | 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|}}}}}]]}}}} {{#switch: {{lc:{{{species|}}}}} | octopus = [[Octopus (species)|{{Colorshow|333|More '''octopus''' villagers}}]] | frog = [[Frog (species)|{{Colorshow|333|More '''frog''' villagers}}]] | unknown = {{#ifeq: {{lc: {{{pers|}}}}} | special|[[:Category:Species|{{Colorshow|333|More '''species'''}}]]|[[:Category:Species|{{Colorshow|333|More '''villager species'''}}]]}} | [[{{{species|:Category:Species}}}|{{Colorshow|333|More '''{{lc:{{{species|villager species}}}}}''' {{#if:{{{species|}}} | villagers}}}}]]}} | ||
| class="theme-border" width=30% | '''[[List of villagers|{{Colorshow|333|Villager List}}]]''' | | class="theme-border" width=30% | '''[[List of villagers|{{Colorshow|333|Villager List}}]]''' | ||
Line 6: | Line 6: | ||
|} | |} | ||
</div><div class="onlymobile"> | </div><div class="onlymobile"> | ||
− | {| class="theme-background theme-border" | + | {| class="theme-background theme-border" style="width: 100%; text-align: center; border-spacing: 0px !important; margin-bottom: 20px; {{Roundy|30px}}" |
| class="theme-border" colspan=4 style="height:35px; border-top: 0; border-left: 0; border-right: 0;"| '''[[List of villagers|{{Colorshow|333|Villager List}}]]''' | | class="theme-border" colspan=4 style="height:35px; border-top: 0; border-left: 0; border-right: 0;"| '''[[List of villagers|{{Colorshow|333|Villager List}}]]''' | ||
|- | |- |
Revision as of 20:05, June 30, 2021
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.