Difference between revisions of "Template:UB Fav Fish"

From Nookipedia, the Animal Crossing wiki
m (Added Category:Userboxes)
m (Text replacement - "{{clr}}" to "{{clear}}")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float: left; border:solid cadetblue 2px; margin: 1px;">
+
{{userbox
{| cellspacing="0" style="width: 236px; background: Paleturquoise;"
+
| border-c = {{#ifeq:{{{2|}}}|dark|#008B8B|#5F9EA0}}
| style="width: 40px; height: 43px; background: Paleturquoise;" | [[File:Carp (Wild World).gif|50px]]
+
| id      = {{{3|[[File:Fish NH Icon.png|47px]]}}}
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em; color: {{{info-fc|darkcyan}}};" |<center> This user's favourite fish is the <br>'''{{{1}}}'''.</center>
+
| id-c    = #AFEEEE
|}</div>
+
| info    = This user's favorite fish is the {{{1}}}.
<noinclude>[[Category:Userboxes]]</noinclude>
+
| info-c  = {{#ifeq:{{{2|}}}|dark|#008B8B|#AFEEEE}}
 +
| info-fc = {{#ifeq:{{{2|}}}|dark|#AFEEEE|#008B8B}}
 +
}}<noinclude>{{clear}}
 +
 
 +
==Usage==
 +
===Base===
 +
<pre>{{UB Fav Fish|<Fish>}}</pre>
 +
 
 +
'''''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:
 +
<pre>{{UB Fav Fish|<Fish>|<Style>}}</pre>
 +
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 <small>(Default)</small>
 +
 
 +
Additionally, the image displayed in this userbox may be customized:
 +
<pre>{{UB Fav Fish|<Fish>|<Style>|<Image>}}</pre>
 +
Replace ''<Image>'' with the desired image code.
 +
 
 +
===Examples===
 +
{{UBDisplay
 +
|box={{UB Fav Fish|Napoleonfish}}
 +
|use=<nowiki>{{UB Fav Fish|Napoleonfish}}</nowiki>
 +
}}
 +
{{UBDisplay
 +
|box={{UB Fav Fish|Carp|dark}}
 +
|use=<nowiki>{{UB Fav Fish|Carp|dark}}</nowiki>
 +
}}
 +
{{UBDisplay
 +
|box={{UB Fav Fish|Coelacanth|light|[[File:Coelacanth NH Icon.png|45px]]}}
 +
|use=<nowiki>{{UB Fav Fish|Coelacanth|light|[[File:Coelacanth NH Icon.png|45px]]}}</nowiki>
 +
}}
 +
[[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]]}}