Difference between revisions of "Template:UB Tool"
From Nookipedia, the Animal Crossing wiki
Trig Jegman (talk | contribs) m |
Trig Jegman (talk | contribs) m (& this was a pain to fix up but now it should handle things without redirects and also just show the right things for fishing rods) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Userbox | {{Userbox | ||
|border-c=#008000 | |border-c=#008000 | ||
− | |id=[[File:{{# | + | |id=[[File:{{#ifeq:{{{2|Normal}}}|Normal||{{{2|}}} }} {{#ifeq:{{{1|}}}|Fishing Rod|Fishing Rod|{{{1|Shovel}}} }} {{#ifeq:{{{1|}}}|Megaphone|NL|CF}} Icon.png{{!}}40px]] |
− | | | ||
− | | | ||
− | | | ||
− | |||
|id-c=#008000 | |id-c=#008000 | ||
|info=This user {{#switch: {{{1|Shovel}}} | |info=This user {{#switch: {{{1|Shovel}}} | ||
Line 19: | Line 15: | ||
|info-fc=#008000 | |info-fc=#008000 | ||
}}<noinclude> | }}<noinclude> | ||
− | {{ | + | {{clear}} |
==Usage== | ==Usage== | ||
Line 45: | Line 41: | ||
===Example=== | ===Example=== | ||
{{UBDisplay | {{UBDisplay | ||
− | |box={{UB Tool|Can| | + | |box={{UB Tool|Can|Golden}} |
− | |use=<nowiki>{{UB Tool|Can| | + | |use=<nowiki>{{UB Tool|Can|Golden}}</nowiki> |
}} | }} | ||
{{UBDisplay | {{UBDisplay |
Revision as of 11:54, April 4, 2024
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|Golden}} |
{{UB Tool|Axe|Silver}} |
{{UB Tool|Timer}} |
{{UB Tool|Megaphone}} |