Difference between revisions of "Template:Villager Header"

From Nookipedia, the Animal Crossing wiki
(Removing <hr> and padding, trying to center middle row...)
(Turns out padding was necessary. Re-added. Adding missing quotation mark. Changed out {{roundybl/br}} templates for {{roundyleft/right}})
Line 5: Line 5:
 
| 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|30px}}" | [[{{{pers|Villager#Personalities}}}|{{Colorshow|333333|More '''{{{pers|(Personality)}}}''' Villagers}}]]
 
{{#if:{{{cardnum|}}}|{{!-}}
 
{{#if:{{{cardnum|}}}|{{!-}}
{{!}} style="border-bottom: 2px solid #{{ColorSecondary}}; background-color: #{{ColorPrimary}}; text-align: center
+
{{!}} 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; {{Roundybl|5px}}" {{!}} [[{{{prevcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|← {{{prevnum|X-000}}} {{{prevcard|Previous}}}}}]]
+
{{!}} 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: 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; {{Roundybr|5px}}" {{!}} [[{{{nextcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|{{{nextnum|X-000}}} {{{nextcard|Next}}} →}}]]
+
{{!}} style="background-color: #{{ColorPrimary}}; text-align: right; padding-right:5%; {{Roundyright|5px}}" {{!}} [[{{{nextcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|{{{nextnum|X-000}}} {{{nextcard|Next}}} →}}]]
 
}}
 
}}
 
|}<noinclude>{{clr}}
 
|}<noinclude>{{clr}}

Revision as of 20:13, 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
}}