Difference between revisions of "Template:UB LFav Fish"
From Nookipedia, the Animal Crossing wiki
(Created page with "<div style="float: left; border:solid cadetblue 2px; margin: 1px;"> {| cellspacing="0" style="width: 236px; background: Paleturquoise;" | style="width: 40px; height: 43px; backgr...") |
HamsterMech (talk | contribs) m (Text replacement - "{{clr}}" to "{{clear}}") |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{userbox | |
− | {| | + | | border-c = {{#ifeq:{{{2|}}}|dark|#008B8B|#5F9EA0}} |
− | | | + | | id = {{{3|[[File:UB LFav Fish.png|45px]]}}} |
− | | | + | | id-c = #AFEEEE |
− | |}</ | + | | info = This user's least favorite fish is the {{{1}}}. |
+ | | info-c = {{#ifeq:{{{2|}}}|dark|#008B8B|#AFEEEE}} | ||
+ | | info-fc = {{#ifeq:{{{2|}}}|dark|#AFEEEE|#008B8B}} | ||
+ | }}<noinclude>{{clear}} | ||
+ | |||
+ | ==Usage== | ||
+ | ===Base=== | ||
+ | <pre>{{UB LFav 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 least favorite fish. | ||
+ | |||
+ | ===Customization=== | ||
+ | The colors of this userbox may be set to be dark or light: | ||
+ | <pre>{{UB LFav 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 LFav Fish|<Fish>|<Style>|<Image>}}</pre> | ||
+ | Replace ''<Image>'' with the desired image code. | ||
+ | |||
+ | ===Examples=== | ||
+ | {{UBDisplay | ||
+ | |box={{UB LFav Fish|Carp}} | ||
+ | |use=<nowiki>{{UB LFav Fish|Carp}}</nowiki> | ||
+ | }} | ||
+ | {{UBDisplay | ||
+ | |box={{UB LFav Fish|Eel|dark}} | ||
+ | |use=<nowiki>{{UB LFav Fish|Eel|dark}}</nowiki> | ||
+ | }} | ||
+ | {{UBDisplay | ||
+ | |box={{UB LFav Fish|Squid|light|[[File:Squid NH Icon.png|45px]]}} | ||
+ | |use=<nowiki>{{UB LFav Fish|Squid|light|[[File:Squid NH Icon.png|45px]]}}</nowiki> | ||
+ | }} | ||
+ | [[Category:Userboxes]]</noinclude> |
Latest revision as of 16:31, January 3, 2021
Usage
Base
{{UB LFav 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 least favorite fish.
Customization
The colors of this userbox may be set to be dark or light:
{{UB LFav 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 LFav Fish|<Fish>|<Style>|<Image>}}
Replace <Image> with the desired image code.
Examples
{{UB LFav Fish|Carp}} |
{{UB LFav Fish|Eel|dark}} |
{{UB LFav Fish|Squid|light|[[File:Squid NH Icon.png|45px]]}} |