Difference between revisions of "Template:Villager Header"

From Nookipedia, the Animal Crossing wiki
(Turns out padding was necessary. Re-added. Adding missing quotation mark. Changed out {{roundybl/br}} templates for {{roundyleft/right}})
(Had eureka moment about why {{roundy}} wasn't working. Crossing fingers.)
Line 1: Line 1:
{| width="100%" align="center" style="background-color: #{{ColorPrimary}}; border: 3px solid #{{ColorPrimary}}; border-spacing:0px; margin-bottom: 10px;{{Roundy|30px}}"
+
{| width="100%" align="center" style="background-color: #{{ColorPrimary}}; border: 3px solid #{{ColorPrimary}}; border-spacing:0px; margin-bottom: 10px;{{Roundy|20px}}"
 
|-
 
|-
| width="35%" height="30" style="background-color: #{{ColorSecondary}}; text-align:center; {{Roundyleft|30px}}" | [[{{{species|:Category:Species}}} {{#ifeq:{{{species|}}}|Frog|(species)}}{{#ifeq:{{{species|}}}|Octopus|(species)}}|{{Colorshow|333333|More '''{{{species|(Species)}}}''' Villagers}}<br>]]
+
| width="35%" height="30" style="background-color: #{{ColorSecondary}}; text-align:center; {{Roundyleft|15px}}" | [[{{{species|:Category:Species}}} {{#ifeq:{{{species|}}}|Frog|(species)}}{{#ifeq:{{{species|}}}|Octopus|(species)}}|{{Colorshow|333333|More '''{{{species|(Species)}}}''' Villagers}}<br>]]
 
| width="30%" style="background-color: #{{ColorSecondary}}; border-left: 3px solid #{{ColorPrimary}}; border-right: 3px solid #{{ColorPrimary}}; text-align:center;" | '''[[List of villagers|{{Colorshow|333333|Villager List}}]]'''
 
| width="30%" style="background-color: #{{ColorSecondary}}; border-left: 3px solid #{{ColorPrimary}}; border-right: 3px solid #{{ColorPrimary}}; text-align:center;" | '''[[List of villagers|{{Colorshow|333333|Villager List}}]]'''
| width="35%"  style="background-color: #{{ColorSecondary}}; text-align:center; {{Roundyright|30px}}" | [[{{{pers|Villager#Personalities}}}|{{Colorshow|333333|More '''{{{pers|(Personality)}}}''' Villagers}}]]
+
| width="35%"  style="background-color: #{{ColorSecondary}}; text-align:center; {{Roundyright|15px}}" | [[{{{pers|Villager#Personalities}}}|{{Colorshow|333333|More '''{{{pers|(Personality)}}}''' Villagers}}]]
 
{{#if:{{{cardnum|}}}|{{!-}}
 
{{#if:{{{cardnum|}}}|{{!-}}
{{!}} style="border-bottom: 2px solid #{{ColorSecondary}}; background-color: #{{ColorPrimary}}"
+
{{!}} style="border-bottom: 2px solid #{{ColorSecondary}}; background-color: #{{ColorPrimary}}" {{!}}
 
{{!}} style="text-align:center" {{!}} [[Merchandise/Animal Crossing-e|{{Colorshow|333333|Animal Crossing e-cards}}]]
 
{{!}} style="text-align:center" {{!}} [[Merchandise/Animal Crossing-e|{{Colorshow|333333|Animal Crossing e-cards}}]]
 
{{!}}
 
{{!}}
 
{{!-}}
 
{{!-}}
{{!}} style="background-color: #{{ColorPrimary}}; text-align: left; padding-left:5%; {{Roundyleft|5px}}" {{!}} [[{{{prevcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|← {{{prevnum|X-000}}} {{{prevcard|Previous}}}}}]]
+
{{!}} style="background-color: #{{ColorPrimary}}; text-align: left; padding-left:5%" {{!}} [[{{{prevcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|← {{{prevnum|X-000}}} {{{prevcard|Previous}}}}}]]
 
{{!}} style="background-color: #{{ColorPrimary}}; text-align: center;" {{!}} '''[[Merchandise/Animal Crossing-e|{{Colorshow|{{ColorSecondary}}|{{{cardnum|X-000}}} {{{name|{{PAGENAME}}}}}}}]]'''
 
{{!}} style="background-color: #{{ColorPrimary}}; text-align: center;" {{!}} '''[[Merchandise/Animal Crossing-e|{{Colorshow|{{ColorSecondary}}|{{{cardnum|X-000}}} {{{name|{{PAGENAME}}}}}}}]]'''
{{!}} style="background-color: #{{ColorPrimary}}; text-align: right; padding-right:5%; {{Roundyright|5px}}" {{!}} [[{{{nextcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|{{{nextnum|X-000}}} {{{nextcard|Next}}} →}}]]
+
{{!}} style="background-color: #{{ColorPrimary}}; text-align: right; padding-right:5%" {{!}} [[{{{nextcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|{{{nextnum|X-000}}} {{{nextcard|Next}}} →}}]]
 
}}
 
}}
 
|}<noinclude>{{clr}}
 
|}<noinclude>{{clr}}

Revision as of 20:21, October 4, 2014

More (Species) Villagers
Villager List More (Personality) Villagers

Usage

Basic

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

e-Card Villagers

{{Villager Header
|species = 
|pers = 
|cardnum = 
|prevnum = 
|prevcard = 
|nextnum = 
|nextcard = 
}}

Guide

Basic

{{Villager Header
|species = villager's species
|pers = villager's personality type
}}

e-Card Villagers

{{Villager Header
|name = name of the villager (if necessary)
|species = villager's species
|pers = villager's personality type
|cardnum = full number of villager's e-Card (ex. 1-001)
|prevnum = full number of previous e-Card
|prevcard = name of page for subject of previous e-Card
|nextnum = full number of following e-Card
|nextcard = name of page for subject of following e-Card
}}