Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Weapon infobox: Difference between revisions

Template page
fandomwiki>Janeator507@legacy41783150
No edit summary
fandomwiki>Janeator507@legacy41783150
No edit summary
Line 39: Line 39:
{{#if: {{{type|}}}|
{{#if: {{{type|}}}|
{{#switch: {{{type}}}
{{#switch: {{{type}}}
|Throwable = [[Category:Throwables]]
| Throwable = [[Category:Throwables]]
|Ranged = [[Category:Ranged]]
| Ranged = [[Category:Ranged]]
|Melee = [[Category:Melee]]
| Melee = [[Category:Melee]]
|Upgrade = [[Category:Upgrade]]
| Upgrade = [[Category:Upgrade]]
}}
}}
{{#if: {{{projectile|}}}|
{{#if: {{{projectile|}}}|
{{#switch: {{{projectile}}}
{{#switch: {{{projectile}}}
|Matter = [[Category:Matter]]
| Matter = [[Category:Matter]]
|Slug = [[Category:Slug]]
| Slug = [[Category:Slug]]
|Missile = [[Category:Missile]]
| Missile = [[Category:Missile]]
|Rail = [[Category:Rail]]
| Rail = [[Category:Rail]]
|Gyrojet = [[Category:Gyrojet]]
| Gyrojet = [[Category:Gyrojet]]
|Plasma = [[Category:Plasma]]
| Plasma = [[Category:Plasma]]
|Beam = [[Category:Beam]]
| Beam = [[Category:Beam]]
|Grenade = [[Category:Grenade]]
| Grenade = [[Category:Grenade]]
}}
}}
|[[Category:Items]][[Category:Pickups]]}}</includeonly><noinclude>
|[[Category:Items]][[Category:Pickups]]}}</includeonly><noinclude>

Revision as of 18:21, 21 October 2012

Weapon infobox
File:Weapon infobox.png
Statistics
Type {{{type}}}
Ammunition Kind: {{{projectile}}}

Usage:

  • Everything but "type", "projectile" and "image" is optional; however, i couldn't manage it to make "projectile" non-optional, but be sure to include it.
    Janeator 17:02, 21 October 2012 (UTC)
{{weapon infobox
| image = 
| type = 
| projectile = 
| range =
| impact =
| rate =
| mag = 
| damage =
| recoil =
}}
Contents