Template:Navbox weapons: Difference between revisions
(updated to new navbox and sandbox) |
m (removed fishing rod without line (merged with fishing rod)) |
||
Line 9: | Line 9: | ||
{{Translation guide|<syntaxhighlight lang="html"> | {{Translation guide|<syntaxhighlight lang="html"> | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
<!-- Title --> | |||
| weapons = Weapons | |||
<!-- Groups --> | |||
| axe = Axe | | axe = Axe | ||
| long_blunt = Long Blunt | | long_blunt = Long Blunt | ||
Line 29: | Line 32: | ||
}} | }} | ||
{{ll|Category:Navbox}}</noinclude><includeonly>{{Navbox | {{ll|Category:Navbox}}</noinclude><includeonly>{{Navbox | ||
| title = {{ll|:Category:Weapons|Weapons}} | | title = {{ll|:Category:Weapons|{{tt|name=Navbox weapons|default=Weapons|arg1=weapons}} | ||
| content = {{Navbox/row | | content = {{Navbox/row | ||
| group = {{tt|name=Navbox weapons|default=Axe|arg1=axe}} | | group = {{tt|name=Navbox weapons|default=Axe|arg1=axe}} | ||
Line 35: | Line 38: | ||
}}{{Navbox/row | }}{{Navbox/row | ||
| group = {{tt|name=Navbox weapons|default=Long Blunt|arg1=long_blunt}} | | group = {{tt|name=Navbox weapons|default=Long Blunt|arg1=long_blunt}} | ||
| list = {{ll|Acoustic Guitar}} • {{ll|Badminton Racket}} • {{ll|Barbell}} • {{ll|Baseball Bat}} • {{ll|Broom}} • {{ll|Canoe Paddle}} • {{ll|Canoe Paddle - Double-bladed}} • {{ll|Chainsaw}}{{Sup|Future}} • {{ll|Crowbar}} • {{ll|Electric Bass}} • {{ll|Electric Guitar}} • {{ll|Fishing Rod}} • {{ll|Fishing Rod (crafted) | | list = {{ll|Acoustic Guitar}} • {{ll|Badminton Racket}} • {{ll|Barbell}} • {{ll|Baseball Bat}} • {{ll|Broom}} • {{ll|Canoe Paddle}} • {{ll|Canoe Paddle - Double-bladed}} • {{ll|Chainsaw}}{{Sup|Future}} • {{ll|Crowbar}} • {{ll|Electric Bass}} • {{ll|Electric Guitar}} • {{ll|Fishing Rod}} • {{ll|Fishing Rod (crafted)}} • {{ll|Garden Hoe}} • {{ll|Golf Club}} • {{ll|Hockey Stick}} • {{ll|Ice Hockey Stick}} • {{ll|Keytar}} • {{ll|Lacrosse_Stick|Lacrosse Stick}} • {{ll|Leaf Rake}} • {{ll|Plank}} • {{ll|Pool Cue}} • {{ll|Rake}} • {{ll|Saxophone}} • {{ll|Shovel}} • {{ll|Sledgehammer}} • {{ll|Snow Shovel}} • {{ll|Spiked Baseball Bat}} • {{ll|Spiked Plank}} • {{ll|Tennis Racket}} • {{ll|Trumpet}} | ||
}}{{Navbox/row | }}{{Navbox/row | ||
| group = {{tt|name=Navbox weapons|default=Short Blunt|arg1=short_blunt}} | | group = {{tt|name=Navbox weapons|default=Short Blunt|arg1=short_blunt}} |
Revision as of 12:04, 6 January 2024
This template should be transcluded at the bottom of all weapons pages.
Usage
{{Navbox weapons}}
{{Navbox
| title = Weapons
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
<!-- Title -->
| weapons = Weapons
<!-- Groups -->
| axe = Axe
| long_blunt = Long Blunt
| short_blunt = Short Blunt
| long_blade = Long Blade
| short_blade = Short Blade
| spear = Spear
| firearm = Firearm
| explosives = Explosives
| weapon_part = Weapon part
| ammo = Ammo
| other = Other
| #default = [[Category:Incorrect template usage]]
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.