Template:Navbox/Weapons/Gameplay: Difference between revisions
From Halopedia, the Halo wiki
BaconShelf (talk | contribs) mNo edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
|liststyle=background:none; | |liststyle=background:none; | ||
|list1={{#if:{{{1|}}}|{{#fornumargs:key|value|{{Navbox/Weapons/Gameplay/{{#var:value}}|{{#if:{{{2|}}}||yes}}}}}}| {{Navbox/Weapons/Gameplay/UNSC}} {{Navbox/Weapons/Gameplay/Covenant}} {{Navbox/Weapons/Gameplay/Banished}} {{Navbox/Weapons/Gameplay/Forerunner}} {{Navbox/Weapons/Gameplay/Egg}} }} | |list1={{#if:{{{1|}}}|{{#fornumargs:key|value|{{Navbox/Weapons/Gameplay/{{#var:value}}|{{#if:{{{2|}}}||yes}}}}}}| {{Navbox/Weapons/Gameplay/UNSC}} {{Navbox/Weapons/Gameplay/Covenant}} {{Navbox/Weapons/Gameplay/Banished}} {{Navbox/Weapons/Gameplay/Forerunner}} {{Navbox/Weapons/Gameplay/Multiplayer}} {{Navbox/Weapons/Gameplay/Egg}} }} | ||
|below={{#if:{{{1|}}}|For a complete list, check out [[:Category:Weapons (gameplay)|our weapons category]].}} | |below={{#if:{{{1|}}}|For a complete list, check out [[:Category:Weapons (gameplay)|our weapons category]].}} | ||
Line 16: | Line 16: | ||
*<code>Banished</code> - displays [[/Banished]] | *<code>Banished</code> - displays [[/Banished]] | ||
*<code>Forerunner</code> - displays [[/Forerunner]] | *<code>Forerunner</code> - displays [[/Forerunner]] | ||
*<code>Multiplayer</code> - displays [[/Multiplayer]] | |||
*<code>Egg</code> - displays [[/Egg]] | *<code>Egg</code> - displays [[/Egg]] | ||
*<code>|category=no</code> will remove the weapons category. | *<code>|category=no</code> will remove the weapons category. |
Revision as of 14:17, February 11, 2024
|
About
This template adds a weapons category wherever it is placed. This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display that child template. By default, it will display all of them.
Human
- displays /HumanCovenant
- displays /CovenantBanished
- displays /BanishedForerunner
- displays /ForerunnerMultiplayer
- displays /MultiplayerEgg
- displays /Egg|category=no
will remove the weapons category.