Difference between revisions of "Template:Critter Header/doc"

From Nookipedia, the Animal Crossing wiki
(Create documentation)
 
m (Text replacement - " width="(.*)\%"(.*)style="" to "$2style="width: $1%; ")
Line 12: Line 12:
  
 
If used on the [[Fish]] article:
 
If used on the [[Fish]] article:
{| width="100%" align="center" style="text-align:center; background-color: #66CCFF; border-spacing: 0px; border: 3px solid #4F9FC6; margin-bottom: 20px; {{Roundy|30px}}"  
+
{| align="center" style="width: 100%; text-align:center; background-color: #66CCFF; border-spacing: 0px; border: 3px solid #4F9FC6; margin-bottom: 20px; {{Roundy|30px}}"  
 
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;" | [[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;" | [[Bugs|{{Colorshow|333|←}}]] [[File:Bug NH Icon.png|48px|link=Bugs]] [[Bugs|{{Colorshow|333|'''Bugs'''}}]]  
 
| width=30% style="border-left:3px solid #4F9FC6; border-right:3px solid #4F9FC6;"| '''[[Fishing|{{Colorshow|333|Fishing}}]]'''
 
| width=30% style="border-left:3px solid #4F9FC6; border-right:3px solid #4F9FC6;"| '''[[Fishing|{{Colorshow|333|Fishing}}]]'''
Line 19: Line 19:
  
 
If used on the [[Bug]] article:
 
If used on the [[Bug]] article:
{| width="100%" align="center" style="text-align:center; background-color: #A2DB1E; border-spacing: 0px; border: 3px solid #77AC3F; margin-bottom: 20px; {{Roundy|30px}}"  
+
{| align="center" style="width: 100%; text-align:center; background-color: #A2DB1E; border-spacing: 0px; border: 3px solid #77AC3F; margin-bottom: 20px; {{Roundy|30px}}"  
 
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;" | [[Sea creatures|{{Colorshow|333|←}}]] [[File:Sea Creature NH Icon.png|48px|link=Sea creatures]] [[Sea creatures|{{Colorshow|333|'''Sea Creatures'''}}]]  
 
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;" | [[Sea creatures|{{Colorshow|333|←}}]] [[File:Sea Creature NH Icon.png|48px|link=Sea creatures]] [[Sea creatures|{{Colorshow|333|'''Sea Creatures'''}}]]  
 
| width=30% style="border-left:3px solid #77AC3F; border-right:3px solid #77AC3F;"| '''[[Guide:Bug Catching|{{Colorshow|333|Bug Catching}}]]'''
 
| width=30% style="border-left:3px solid #77AC3F; border-right:3px solid #77AC3F;"| '''[[Guide:Bug Catching|{{Colorshow|333|Bug Catching}}]]'''
Line 26: Line 26:
  
 
If used on the [[Sea Creature]] article:
 
If used on the [[Sea Creature]] article:
{| width="100%" align="center" style="text-align:center; background-color: #66CCFF; border-spacing: 0px; border: 3px solid #1A7AFF; margin-bottom: 20px; {{Roundy|30px}}"  
+
{| align="center" style="width: 100%; text-align:center; background-color: #66CCFF; border-spacing: 0px; border: 3px solid #1A7AFF; margin-bottom: 20px; {{Roundy|30px}}"  
 
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;" | [[Fish|{{Colorshow|333|←}}]] [[File:Fish NH Icon.png|48px|link=Fish]] [[Fish|{{Colorshow|333|'''Fish'''}}]]  
 
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;" | [[Fish|{{Colorshow|333|←}}]] [[File:Fish NH Icon.png|48px|link=Fish]] [[Fish|{{Colorshow|333|'''Fish'''}}]]  
 
| width=30% style="border-left:3px solid #1A7AFF; border-right:3px solid #1A7AFF;"| '''[[Swimming|{{Colorshow|333|Diving}}]]'''
 
| width=30% style="border-left:3px solid #1A7AFF; border-right:3px solid #1A7AFF;"| '''[[Swimming|{{Colorshow|333|Diving}}]]'''
 
| width=35% style="text-align:right; padding:0 18px 0 0;"| [[Bugs|{{Colorshow|333|'''Bugs'''}}]]   [[File:Bug NH Icon.png|48px|link=Bugs]]   [[Bugs|{{Colorshow|333|→}}]]
 
| width=35% style="text-align:right; padding:0 18px 0 0;"| [[Bugs|{{Colorshow|333|'''Bugs'''}}]]   [[File:Bug NH Icon.png|48px|link=Bugs]]   [[Bugs|{{Colorshow|333|→}}]]
 
|}
 
|}

Revision as of 20:10, June 30, 2021

Usage

{{Critter Header}}

This template is used as a header for the Bugs, Fish and Sea Creatures 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:

Bug NH Icon.png Bugs Fishing Sea Creatures   Sea Creature NH Icon.png  

If used on the Bug article:

Sea Creature NH Icon.png Sea Creatures Bug Catching Fish   Fish NH Icon.png  

If used on the Sea Creature article:

Fish NH Icon.png Fish Diving Bugs   Bug NH Icon.png