Difference between revisions of "Template:Critter Header"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - " width="(.*)\%"(.*)style="" to "$2style="width: $1%; ")
(adjusting color of the bug background)
Line 1: Line 1:
{| align="center" style="width: 100%; text-align:center; background-color: #{{#switch: {{PAGENAME}} | Fish = 66CCFF | Bugs = A2DB1E | Sea creatures = 8DBDFF | EEE}}; border-spacing:0px; border: 3px solid #{{#switch: {{PAGENAME}} | Fish = 4F9FC6 | Bugs = 77AC3F | Sea creatures = 1A7AFF | CCC}}; margin-bottom: 20px; {{Roundy|30px}}"  
+
{| align="center" style="width: 100%; text-align:center; background-color: #{{#switch: {{PAGENAME}} | Fish = 66CCFF | Bugs = CAED78 | Sea creatures = 8DBDFF | EEE}}; border-spacing:0px; border: 3px solid #{{#switch: {{PAGENAME}} | Fish = 4F9FC6 | Bugs = 77AC3F | Sea creatures = 1A7AFF | CCC}}; margin-bottom: 20px; {{Roundy|30px}}"  
 
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;"| {{#switch: {{PAGENAME}} | Fish = [[Bugs|{{Colorshow|333|←}}]] [[File:Bug NH Icon.png|48px|link=Bugs]] [[Bugs|{{Colorshow|333|'''Bugs'''}}]] | Bugs = [[Sea creatures|{{Colorshow|333|←}}]] [[File:Sea Creature NH Icon.png|48px|link=Sea creatures]] [[Sea creatures|{{Colorshow|333|'''Sea Creatures'''}}]] | Sea creatures = [[Fish|{{Colorshow|333|←}}]] [[File:Fish NH Icon.png|48px|link=Fish]] [[Fish|{{Colorshow|333|'''Fish'''}}]] | [[Bugs|{{Colorshow|333|←}}]] [[File:Bug NH Icon.png|48px|link=Bugs]] [[Bugs|{{Colorshow|333|'''Bugs'''}}]]}}
 
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;"| {{#switch: {{PAGENAME}} | Fish = [[Bugs|{{Colorshow|333|←}}]] [[File:Bug NH Icon.png|48px|link=Bugs]] [[Bugs|{{Colorshow|333|'''Bugs'''}}]] | Bugs = [[Sea creatures|{{Colorshow|333|←}}]] [[File:Sea Creature NH Icon.png|48px|link=Sea creatures]] [[Sea creatures|{{Colorshow|333|'''Sea Creatures'''}}]] | Sea creatures = [[Fish|{{Colorshow|333|←}}]] [[File:Fish NH Icon.png|48px|link=Fish]] [[Fish|{{Colorshow|333|'''Fish'''}}]] | [[Bugs|{{Colorshow|333|←}}]] [[File:Bug NH Icon.png|48px|link=Bugs]] [[Bugs|{{Colorshow|333|'''Bugs'''}}]]}}
 
| width=30% style="border-left:3px solid #{{#switch: {{PAGENAME}} | Fish = 4F9FC6 | Bugs = 77AC3F | Sea creatures = 1A7AFF | CCC}}; border-right:3px solid #{{#switch: {{PAGENAME}} | Fish = 4F9FC6 | Bugs = 77AC3F | Sea creatures = 1A7AFF | CCC}};"| '''{{#switch: {{PAGENAME}} | Fish = [[Fishing|{{Colorshow|333|Fishing}}]] | Bugs = [[Guide:Bug Catching|{{Colorshow|333|Bug Catching}}]] | Sea creatures = [[Swimming|{{Colorshow|333|Diving}}]] |[[Critterpedia|{{Colorshow|000|Critterpedia}}]]}}'''
 
| width=30% style="border-left:3px solid #{{#switch: {{PAGENAME}} | Fish = 4F9FC6 | Bugs = 77AC3F | Sea creatures = 1A7AFF | CCC}}; border-right:3px solid #{{#switch: {{PAGENAME}} | Fish = 4F9FC6 | Bugs = 77AC3F | Sea creatures = 1A7AFF | CCC}};"| '''{{#switch: {{PAGENAME}} | Fish = [[Fishing|{{Colorshow|333|Fishing}}]] | Bugs = [[Guide:Bug Catching|{{Colorshow|333|Bug Catching}}]] | Sea creatures = [[Swimming|{{Colorshow|333|Diving}}]] |[[Critterpedia|{{Colorshow|000|Critterpedia}}]]}}'''
 
| width=35% style="text-align:right; padding:0 18px 0 0;"| {{#switch: {{PAGENAME}} | Fish = [[Sea creatures|{{Colorshow|333|'''Sea Creatures'''}}]]   [[File:Sea Creature NH Icon.png|48px|link=Sea creature]]   [[Sea creatures|{{Colorshow|333|→}}]] | Bugs =  [[Fish|{{Colorshow|333|'''Fish'''}}]]   [[File:Fish NH Icon.png|48px|link=Fish]]   [[Fish|{{Colorshow|333|→}}]] | Sea creatures = [[Bugs|{{Colorshow|333|'''Bugs'''}}]]   [[File:Bug NH Icon.png|48px|link=Bugs]]   [[Bugs|{{Colorshow|333|→}}]] | [[Fish|{{Colorshow|333|'''Fish'''}}]] [[File:Fish NH Icon.png|48px|link=Fish]] [[Fish|{{Colorshow|333|→}}]]}}
 
| width=35% style="text-align:right; padding:0 18px 0 0;"| {{#switch: {{PAGENAME}} | Fish = [[Sea creatures|{{Colorshow|333|'''Sea Creatures'''}}]]   [[File:Sea Creature NH Icon.png|48px|link=Sea creature]]   [[Sea creatures|{{Colorshow|333|→}}]] | Bugs =  [[Fish|{{Colorshow|333|'''Fish'''}}]]   [[File:Fish NH Icon.png|48px|link=Fish]]   [[Fish|{{Colorshow|333|→}}]] | Sea creatures = [[Bugs|{{Colorshow|333|'''Bugs'''}}]]   [[File:Bug NH Icon.png|48px|link=Bugs]]   [[Bugs|{{Colorshow|333|→}}]] | [[Fish|{{Colorshow|333|'''Fish'''}}]] [[File:Fish NH Icon.png|48px|link=Fish]] [[Fish|{{Colorshow|333|→}}]]}}
 
|}<noinclude>{{Documentation}}[[Category:Header templates]]</noinclude>
 
|}<noinclude>{{Documentation}}[[Category:Header templates]]</noinclude>

Revision as of 17:02, July 25, 2021

Bug NH Icon.png Bugs Critterpedia Fish Fish NH Icon.png

Template documentation (view)


Usage

{{Critter Header}}

This template is used as a header for the Bug, Fish, and Sea creature articles. It contains links to the other critter types, as well as a link to the method of collecting the selected type of critter. As the template is intended for these articles only, it will not appear properly when used on other articles and therefore should not be used outside of this purpose.

Example

{{Critter Header}}

If used on the Fish article:

If used on the Bug article:

If used on the Sea creature article: