Template:WeaponNav/doc: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Sample Nav: | |||
{{WeaponNav | |||
{{ | | pistol=1 | ||
| | | dmr=1 | ||
| | | lmg=1 | ||
| | | melee=1 | ||
| | | helmet=1 | ||
| | | armoured_rig=1 | ||
| | | unarmoured_rig=1 | ||
| | |||
}} | }} | ||
This is a navigation menu designed to have multiple page links on one page in a compact space. Designed to have multiple sub-pages for a category. This menu is meant to be used in the weapons page, and the gear page. | |||
<nowiki>{{</nowiki>WeaponNav|''weapon1''=1|''weapon2''=1|...<nowiki>}}</nowiki> | |||
The ''weapon'' parameters can be any of: | |||
{|class=wikitable | |||
! parameter !! game title !! subpage name | |||
|- | |||
| <code>pistol</code> || Pistols || /Pistols | |||
|- | |||
| <code>smg</code> || SMGs || /SMGs | |||
|- | |||
| <code>shotgun</code> || Shotguns || /Shotguns | |||
|- | |||
| <code>assault_rifle</code> || Assault_Rifles || /Assault_Rifles | |||
|- | |||
| <code>dmr</code> || DMRs || /DMRs | |||
|- | |||
| <code>sniper_rifle</code> || Sniper Rifles || /Sniper_Rifles | |||
|- | |||
| <code>lmg</code> || LMGs || /LMGs | |||
|- | |||
| <code>melee</code> || Melee Weapons || /Melee_Weapons | |||
|- | |||
| <code>helmet</code> || Helmets || /Helmets | |||
|- | |||
| <code>armoured_rig</code> || Armoured Rigs || /Armoured_Rigs | |||
|- | |||
| <code>plate_carrier</code> || Plate Carriers || /Plate_Carriers | |||
|- | |||
| <code>unarmoured_rig</code> || Unarmoured Rigs || /Unarmoured_Rigs | |||
|- | |||
| <code>backpack</code> || Backpacks || /Backpacks | |||
|} | |||
<noinclude> | |||
[[Category:Template documentation|{{PAGENAME}}]] | |||
</noinclude> | |||
Latest revision as of 10:52, 25 October 2026
Sample Nav:
| Overview | Pistols | DMRs | LMGs | Melee Weapons | Helmets | Armoured Rigs | Unarmoured Rigs |
|---|
This is a navigation menu designed to have multiple page links on one page in a compact space. Designed to have multiple sub-pages for a category. This menu is meant to be used in the weapons page, and the gear page.
{{WeaponNav|weapon1=1|weapon2=1|...}}
The weapon parameters can be any of:
| parameter | game title | subpage name |
|---|---|---|
pistol |
Pistols | /Pistols |
smg |
SMGs | /SMGs |
shotgun |
Shotguns | /Shotguns |
assault_rifle |
Assault_Rifles | /Assault_Rifles |
dmr |
DMRs | /DMRs |
sniper_rifle |
Sniper Rifles | /Sniper_Rifles |
lmg |
LMGs | /LMGs |
melee |
Melee Weapons | /Melee_Weapons |
helmet |
Helmets | /Helmets |
armoured_rig |
Armoured Rigs | /Armoured_Rigs |
plate_carrier |
Plate Carriers | /Plate_Carriers |
unarmoured_rig |
Unarmoured Rigs | /Unarmoured_Rigs |
backpack |
Backpacks | /Backpacks |