Difference between revisions of "Template:UB Tool"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - "{{clr}}" to "{{clear}}")
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Userbox
 
{{Userbox
|border-c = #008000
+
|border-c=#008000
|id       = [[File:{{#switch: {{{1|Shovel}}}
+
|id=[[File:{{#switch: {{{1|Shovel}}}
 
|Rod=Fishingpole
 
|Rod=Fishingpole
 
|Can=Wateringcan
 
|Can=Wateringcan
|#default={{{1|Shovel}}}}}{{#ifeq: {{{2|Normal}}}|Normal|| {{lcfirst:{{{2|}}}}}}}.png{{!}}47px]]
+
|Megaphone=Acnl-megaphone
|id-c     = #008000
+
|#default={{{1|Shovel}}}}}{{#ifeq: {{{2|Normal}}}|Normal|| {{lcfirst:{{{2|}}}}}}}.png{{!}}40px]]
|info     = This user {{#switch: {{{1|Shovel}}}
+
|id-c=#008000
|Shovel=uses a '''[[Shovel|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} shovel}}]]'''.
+
|info=This user {{#switch: {{{1|Shovel}}}
|Rod=uses a '''[[Fishing Rod|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} fishing rod}}]]'''.
 
 
|Axe=uses a '''[[Axe|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} axe}}]]'''.
 
|Axe=uses a '''[[Axe|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} axe}}]]'''.
 
|Can=uses a '''[[Watering Can|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} watering can}}]]'''.
 
|Can=uses a '''[[Watering Can|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} watering can}}]]'''.
 +
|Net=uses a '''[[Net|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} net}}]]'''.
 +
|Rod=uses a '''[[Fishing Rod|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} fishing rod}}]]'''.
 +
|Shovel=uses a '''[[Shovel|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} shovel}}]]'''.
 
|Slingshot=uses a '''[[Slingshot|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} slingshot}}]]'''.
 
|Slingshot=uses a '''[[Slingshot|{{Colorshow|008000|{{lcfirst:{{{2|normal}}}}} slingshot}}]]'''.
|Timer=loves '''[[Timer|{{Colorshow|008000|timing things}}]]'''!}}
+
|Timer=loves '''[[Timer|{{Colorshow|008000|timing things}}]]'''!
|info-c   = #55CC55
+
|Megaphone=loves '''[[Megaphone|{{Colorshow|008000|making noise}}]]'''!}}
|info-fc = #008000
+
|info-c=#55CC55
 +
|info-fc=#008000
 
}}<noinclude>
 
}}<noinclude>
{{clr}}
+
{{clear}}
  
 
==Usage==
 
==Usage==
Line 27: Line 30:
 
*'''Axe'''- [[Axe]]
 
*'''Axe'''- [[Axe]]
 
*'''Can'''- [[Watering Can]]  
 
*'''Can'''- [[Watering Can]]  
 +
*'''Megaphone'''- [[Megaphone]]
 
*'''Net'''- [[Net]]
 
*'''Net'''- [[Net]]
 +
*'''Rod'''- [[Fishing Rod]]
 
*'''Shovel'''- [[Shovel]] <small>(Default)</small>
 
*'''Shovel'''- [[Shovel]] <small>(Default)</small>
*'''Rod'''- [[Fishing Rod]]
 
 
*'''Slingshot'''- [[Slingshot]]
 
*'''Slingshot'''- [[Slingshot]]
 
*'''Timer'''- [[Timer]]
 
*'''Timer'''- [[Timer]]
  
Additionally, the userbox may be customized to display a different type of tool. Replace ''<Type>'' in the above code with one of the options below to change the template. '''''Note:''' this field will have no effect when ''Timer'' is used in <Tool>.''
+
Additionally, the userbox may be customized to display a different type of tool. Replace ''<Type>'' in the above code with one of the options below to change the template. '''''Note:''' this field will have no effect when ''Timer'' or ''Megaphone'' is used in <Tool>.''
  
 
*'''Normal''' <small>(Default)</small>
 
*'''Normal''' <small>(Default)</small>
Line 51: Line 55:
 
|box={{UB Tool|Timer}}
 
|box={{UB Tool|Timer}}
 
|use=<nowiki>{{UB Tool|Timer}}</nowiki>
 
|use=<nowiki>{{UB Tool|Timer}}</nowiki>
 +
}}
 +
{{UBDisplay
 +
|box={{UB Tool|Megaphone}}
 +
|use=<nowiki>{{UB Tool|Megaphone}}</nowiki>
 
}}
 
}}
 
[[Category:Userboxes]]</noinclude>
 
[[Category:Userboxes]]</noinclude>

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

Shovel CF Icon.png This user uses a normal shovel.

Usage

Base

{{UB Tool|<Tool>|<Type>}}

Customization

This userbox may be customized to display a different tool. Replace <Tool> in the above code with one of the options below to change the template.

Additionally, the userbox may be customized to display a different type of tool. Replace <Type> in the above code with one of the options below to change the template. Note: this field will have no effect when Timer or Megaphone is used in <Tool>.

  • Normal (Default)
  • Silver
  • Gold

Example

Golden Can CF Icon.png This user uses a gold watering can.
{{UB Tool|Can|Gold}}
Silver Axe CF Icon.png This user uses a silver axe.
{{UB Tool|Axe|Silver}}
Timer CF Icon.png This user loves timing things!
{{UB Tool|Timer}}
Megaphone NL Icon.png This user loves making noise!
{{UB Tool|Megaphone}}