Difference between revisions of "Template:Critter Header"

From Nookipedia, the Animal Crossing wiki
m
(Switching to CSS colour class)
 
Line 1: Line 1:
 
{{Header Box
 
{{Header Box
|bg-color        = #{{#switch: {{PAGENAME}} | Fish = B3E5FF | Bug = e4f6bc | Sea creature = b3d1ff | EEE}}
+
|colorclass      = #{{#switch: {{PAGENAME}} | Fish = color-fish | Bug = color-bug | Sea creature = color-seacreature}}
 
|cell-border    = {{#switch: {{PAGENAME}} | Fish = #4F9FC6 }}
 
|cell-border    = {{#switch: {{PAGENAME}} | Fish = #4F9FC6 }}
 
|left-link      = {{#switch: {{PAGENAME}} | Fish = Bug | Bug = Sea creature | Sea creature = Fish | Bug}}
 
|left-link      = {{#switch: {{PAGENAME}} | Fish = Bug | Bug = Sea creature | Sea creature = Fish | Bug}}

Latest revision as of 09:15, May 18, 2024

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: