Difference between revisions of "Template:Villager Header"

From Nookipedia, the Animal Crossing wiki
(Removing stray parentheses, seeing how linear-gradient works with background from lower table rows removed.)
(Removing gradient. Hoping things work.)
Line 5: Line 5:
 
| width="35%"  style="background-color: #{{ColorSecondary}}; text-align:center; {{Roundyright|15px}}" | [[{{{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|}}}|{{!-}}
{{!}} colspan=3 style="border-bottom: 3px solid #{{ColorPrimary}}"
+
{{!}} colspan=3 style="border-bottom: 3px solid #{{ColorPrimary}}" {{!}}
 
{{!-}}
 
{{!-}}
{{!}} colspan=3 style="background: linear-gradient(#FFFFFF, #FFFFFF, #{{ColorPrimary}}); text-align:center; {{Roundytop|20px}}" {{!}} [[Merchandise/Animal Crossing-e|{{Colorshow|333333|Animal Crossing e-cards}}]]
+
{{!}} colspan=3 style="background-color: #FFFFFF; text-align:center; {{Roundytop|20px}}" {{!}} [[Merchandise/Animal Crossing-e|{{Colorshow|333333|Animal Crossing e-cards}}]]
 
{{!-}}
 
{{!-}}
{{!}} style="text-align: left; padding-left:5%; {{Roundybl|20px}}" {{!}} [[{{{prevcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|← {{{prevnum|X-000}}} {{{prevcard|Previous}}}}}]]
+
{{!}} style="background-color: #{{ColorPrimary}}; text-align: left; padding-left:5%; {{Roundybl|20px}}" {{!}} [[{{{prevcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|← {{{prevnum|X-000}}} {{{prevcard|Previous}}}}}]]
 
{{!}} style="text-align: center;" {{!}} '''[[Merchandise/Animal Crossing-e|{{Colorshow|{{ColorSecondary}}|{{{cardnum|X-000}}} {{{name|{{PAGENAME}}}}}}}]]'''
 
{{!}} style="text-align: center;" {{!}} '''[[Merchandise/Animal Crossing-e|{{Colorshow|{{ColorSecondary}}|{{{cardnum|X-000}}} {{{name|{{PAGENAME}}}}}}}]]'''
 
{{!}} style="text-align: right; padding-right:5%; {{Roundybr|20px}}" {{!}} [[{{{nextcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|{{{nextnum|X-000}}} {{{nextcard|Next}}} →}}]]
 
{{!}} style="text-align: right; padding-right:5%; {{Roundybr|20px}}" {{!}} [[{{{nextcard|List of villagers}}}|{{Colorshow|{{ColorSecondary}}|{{{nextnum|X-000}}} {{{nextcard|Next}}} →}}]]

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