Difference between revisions of "Template:UB Fav Fish"

From Nookipedia, the Animal Crossing wiki
(Updated image)
Line 1: Line 1:
 
{{userbox
 
{{userbox
 
| border-c = {{#ifeq:{{{2|}}}|dark|#008B8B|#5F9EA0}}
 
| border-c = {{#ifeq:{{{2|}}}|dark|#008B8B|#5F9EA0}}
| id      = {{{3|[[File:Carp NH Icon.png|47px]]}}}
+
| id      = {{{3|[[File:Fish NH Icon.png|47px]]}}}
 
| id-c    = #AFEEEE
 
| id-c    = #AFEEEE
 
| info    = This user's favorite fish is the {{{1}}}.
 
| info    = This user's favorite fish is the {{{1}}}.
Line 38: Line 38:
 
}}
 
}}
 
{{UBDisplay
 
{{UBDisplay
|box={{UB Fav Fish|Coelacanth|light|[[File:Coelacanth (City Folk).png|45px]]}}
+
|box={{UB Fav Fish|Coelacanth|light|[[File:Coelacanth NH Icon.png|45px]]}}
|use=<nowiki>{{UB Fav Fish|Coelacanth|light|[[File:Coelacanth (City Folk).png|45px]]}}</nowiki>
+
|use=<nowiki>{{UB Fav Fish|Coelacanth|light|[[File:Coelacanth NH Icon.png|45px]]}}</nowiki>
 
}}
 
}}
 
[[Category:Userboxes]]</noinclude>
 
[[Category:Userboxes]]</noinclude>

Revision as of 02:29, May 7, 2020

Fish NH Icon.png This user's favorite fish is the {{{1}}}.

Usage

Base

{{UB Fav Fish|<Fish>}}

Note: the first field must be filled out in order for the userbox to display properly.

This userbox may be set to name a fish. Replace <Fish> in the above code with the name of your favorite fish.

Customization

The colors of this userbox may be set to be dark or light:

{{UB Fav Fish|<Fish>|<Style>}}

Replace <Style> in the above code with one of the options below to change the template.

  • dark- more prominent dark colors
  • light- more prominent light colors (Default)

Additionally, the image displayed in this userbox may be customized:

{{UB Fav Fish|<Fish>|<Style>|<Image>}}

Replace <Image> with the desired image code.

Examples

Fish NH Icon.png This user's favorite fish is the Napoleonfish.
{{UB Fav Fish|Napoleonfish}}
Fish NH Icon.png This user's favorite fish is the Carp.
{{UB Fav Fish|Carp|dark}}
Coelacanth NH Icon.png This user's favorite fish is the Coelacanth.
{{UB Fav Fish|Coelacanth|light|[[File:Coelacanth NH Icon.png|45px]]}}