Difference between revisions of "Template:UB Tool"
From Nookipedia, the Animal Crossing wiki
HamsterMech (talk | contribs) 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 | + | |id=[[File:{{#switch: {{{1|Shovel}}} |
|Rod=Fishingpole | |Rod=Fishingpole | ||
|Can=Wateringcan | |Can=Wateringcan | ||
− | |#default={{{1|Shovel}}}}}{{#ifeq: {{{2|Normal}}}|Normal|| {{lcfirst:{{{2|}}}}}}}.png{{!}} | + | |Megaphone=Acnl-megaphone |
− | |id-c | + | |#default={{{1|Shovel}}}}}{{#ifeq: {{{2|Normal}}}|Normal|| {{lcfirst:{{{2|}}}}}}}.png{{!}}40px]] |
− | |info | + | |id-c=#008000 |
− | + | |info=This user {{#switch: {{{1|Shovel}}} | |
− | |||
|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 | + | |Megaphone=loves '''[[Megaphone|{{Colorshow|008000|making noise}}]]'''!}} |
− | |info-fc | + | |info-c=#55CC55 |
+ | |info-fc=#008000 | ||
}}<noinclude> | }}<noinclude> | ||
− | {{ | + | {{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> | ||
− | |||
*'''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
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.
- Axe- Axe
- Can- Watering Can
- Megaphone- Megaphone
- Net- Net
- Rod- Fishing Rod
- Shovel- Shovel (Default)
- Slingshot- Slingshot
- 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 or Megaphone is used in <Tool>.
- Normal (Default)
- Silver
- Gold
Example
| ||
{{UB Tool|Can|Gold}} |
| ||
{{UB Tool|Axe|Silver}} |
| ||
{{UB Tool|Timer}} |
| ||
{{UB Tool|Megaphone}} |