Difference between revisions of "Template:UB Fav Fish"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - "{{clr}}" to "{{clear}}")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{userbox
 
{{userbox
| border-c = {{#ifeq:{{{1|}}}|dark|#008B8B|#5F9EA0}}
+
| border-c = {{#ifeq:{{{2|}}}|dark|#008B8B|#5F9EA0}}
| id      = {{{3|[[File:Carp (Wild World).gif|45px]]}}}
+
| 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}}}.
| info-c  = {{#ifeq:{{{1|}}}|dark|#008B8B|#AFEEEE}}
+
| info-c  = {{#ifeq:{{{2|}}}|dark|#008B8B|#AFEEEE}}
| info-fc  = {{#ifeq:{{{1|}}}|dark|#AFEEEE|#008B8B}}
+
| info-fc  = {{#ifeq:{{{2|}}}|dark|#AFEEEE|#008B8B}}
}}<noinclude>{{clr}}
+
}}<noinclude>{{clear}}
  
 
==Usage==
 
==Usage==
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>

Latest revision as of 15:27, January 3, 2021

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]]}}