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

From Nookipedia, the Animal Crossing wiki
(→‎Usage: Removed link to deleted page.)
m (Singular page links.)
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
</pre>
 
</pre>
  
This template is used as a header for the [[Bugs]], [[Fish]] and [[Sea Creature]]s 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.
+
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===
 
===Example===
Line 12: Line 12:
  
 
If used on the [[Fish]] article:
 
If used on the [[Fish]] article:
{| align="center" style="width: 100%; text-align:center; background-color: #66CCFF; border-spacing: 0px; border: 3px solid #4F9FC6; margin-bottom: 20px; {{Roundy|30px}}"
+
{{Header Box
| 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'''}}]]
+
|bg-color       = #B3E5FF
| width=30% style="border-left:3px solid #4F9FC6; border-right:3px solid #4F9FC6;"| '''[[Fishing|{{Colorshow|333|Fishing}}]]'''
+
|cell-border     = #4F9FC6
| width=35% style="text-align:right; padding:0 18px 0 0;"| [[Sea creatures|{{Colorshow|333|'''Sea Creatures'''}}]] &nbsp; [[File:Sea Creature NH Icon.png|48px|link=Sea creature]] &nbsp; [[Sea creatures|{{Colorshow|333|→}}]]
+
|left-link      = Bug
|}
+
|left-text      = Bugs
 +
|middle-link    = Fishing
 +
|middle-text    = Fishing
 +
|right-link      = Sea creature
 +
|right-text     = Sea creatures
 +
|left-image      = File:Bug NH Icon.png
 +
|left-imagesize  = 40px
 +
|right-image    = File:Sea Creature NH Icon.png
 +
|right-imagesize = 40px
 +
}}
  
 
If used on the [[Bug]] article:
 
If used on the [[Bug]] article:
{| align="center" style="width: 100%; text-align:center; background-color: #A2DB1E; border-spacing: 0px; border: 3px solid #77AC3F; margin-bottom: 20px; {{Roundy|30px}}"
+
{{Header Box
| 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]]&nbsp;[[Sea creatures|{{Colorshow|333|'''Sea Creatures'''}}]]
+
|bg-color       = #e4f6bc
| width=30% style="border-left:3px solid #77AC3F; border-right:3px solid #77AC3F;"| '''[[Bug catching|{{Colorshow|333|Bug Catching}}]]'''
+
|left-link      = Sea creature
| width=35% style="text-align:right; padding:0 18px 0 0;"| [[Fish|{{Colorshow|333|'''Fish'''}}]] &nbsp; [[File:Fish NH Icon.png|48px|link=Fish]] &nbsp; [[Fish|{{Colorshow|333|→}}]]
+
|left-text      = Sea creatures
|}
+
|middle-link    = Bug catching
 +
|middle-text    = Bug catching
 +
|right-link      = Fish
 +
|right-text      = Fish
 +
|left-image      = File:Sea Creature NH Icon.png
 +
|left-imagesize  = 40px
 +
|right-image    = File:Fish NH Icon.png
 +
|right-imagesize = 40px
 +
}}
  
If used on the [[Sea Creature]] article:
+
If used on the [[Sea creature]] article:
{| align="center" style="width: 100%; text-align:center; background-color: #66CCFF; border-spacing: 0px; border: 3px solid #1A7AFF; margin-bottom: 20px; {{Roundy|30px}}"
+
{{Header Box
| width=35% height=38px style="text-align:left; padding:0 0 0 18px;" | [[Fish|{{Colorshow|333|←}}]] [[File:Fish NH Icon.png|48px|link=Fish]]&nbsp;[[Fish|{{Colorshow|333|'''Fish'''}}]]
+
|bg-color       = #b3d1ff
| width=30% style="border-left:3px solid #1A7AFF; border-right:3px solid #1A7AFF;"| '''[[Swimming|{{Colorshow|333|Diving}}]]'''
+
|left-link      = Fish
| width=35% style="text-align:right; padding:0 18px 0 0;"| [[Bugs|{{Colorshow|333|'''Bugs'''}}]] &nbsp; [[File:Bug NH Icon.png|48px|link=Bugs]] &nbsp; [[Bugs|{{Colorshow|333|→}}]]
+
|left-text      = Fish
|}
+
|middle-link    = Swimming
 +
|middle-text    = Swimming
 +
|right-link      = Bug
 +
|right-text      = Bugs
 +
|left-image      = File:Fish NH Icon.png
 +
|left-imagesize  = 40px
 +
|right-image    = File:Bug NH Icon.png
 +
|right-imagesize = 40px
 +
}}

Latest revision as of 01:14, November 20, 2022

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: