Difference between revisions of "Template:UB Fav Bug"

From Nookipedia, the Animal Crossing wiki
(Updated image)
m (Text replacement - "{{clr}}" to "{{clear}}")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{userbox
 
{{userbox
 
| border-c = #b2b259
 
| border-c = #b2b259
| id      = {{{3|[[File:Tiger Butterfly NH Icon.png|47px]]}}}
+
| id      = {{{3|[[File:Insect NH icon.png|47px]]}}}
 
| id-c    = #ffff80
 
| id-c    = #ffff80
 
| info    = This user's favourite bug is the '''{{{1}}}'''.
 
| info    = This user's favourite bug is the '''{{{1}}}'''.
 
| info-c  = {{#ifeq:{{{2|}}}|dark|#b2b259|#ffff80}}
 
| info-c  = {{#ifeq:{{{2|}}}|dark|#b2b259|#ffff80}}
 
| info-fc  = {{#ifeq:{{{2|}}}|dark|#ffff80|#7f7f40}}
 
| info-fc  = {{#ifeq:{{{2|}}}|dark|#ffff80|#7f7f40}}
}}<noinclude>{{clr}}
+
}}<noinclude>{{clear}}
  
 
==Usage==
 
==Usage==
Line 38: Line 38:
 
}}
 
}}
 
{{UBDisplay
 
{{UBDisplay
|box={{UB Fav Bug|Ladybug|light|[[File:Ladybug (City Folk).png|45px]]}}
+
|box={{UB Fav Bug|Ladybug|light|[[File:Ladybug NH Icon.png|45px]]}}
|use=<nowiki>{{UB Fav Bug|Ladybug|light|[[File:Ladybug (City Folk).png|45px]]}}</nowiki>
+
|use=<nowiki>{{UB Fav Bug|Ladybug|light|[[File:Ladybug NH Icon.png|45px]]}}</nowiki>
 
}}
 
}}
 
[[Category:Userboxes]]</noinclude>
 
[[Category:Userboxes]]</noinclude>

Latest revision as of 16:24, January 3, 2021

Bug NH Icon.png This user's favourite bug is the {{{1}}}.

Usage

Base

{{UB Fav Bug|<Bug>}}

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

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

Customization

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

{{UB Fav Bug|<Bug>|<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 Bug|<Bug>|<Style>|<Image>}}

Replace <Image> with the desired image code.

Examples

Bug NH Icon.png This user's favourite bug is the Agrias Butterfly.
{{UB Fav Bug|Agrias Butterfly}}
Bug NH Icon.png This user's favourite bug is the Atlas Beetle.
{{UB Fav Bug|Atlas Beetle|dark}}
Ladybug NH Icon.png This user's favourite bug is the Ladybug.
{{UB Fav Bug|Ladybug|light|[[File:Ladybug NH Icon.png|45px]]}}