Difference between revisions of "Template:UB Fav Bug"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - "{{clr}}" to "{{clear}}")
 
Line 6: Line 6:
 
| 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==

Latest revision as of 15: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]]}}