Template:MPN Weapon infobox: Difference between revisions

Template page
No edit summary
No edit summary
Line 9: Line 9:
|{{#if: {{{Type|}}}|width=8em {{!}}'''Type:'''{{!!}}{{{Type}}}}}
|{{#if: {{{Type|}}}|width=8em {{!}}'''Type:'''{{!!}}{{{Type}}}}}


|- class{{{Attachments}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{DAMAGE}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Attachments|}}}|{{!}}'''Attachment(s):'''{{!!}}{{{Attachments}}}}}
{{#if: {{{DAMAGE|}}}|{{!}}'''DAMAGE:'''{{!!}}{{{DAMAGE}}}}}


|- class{{{Users}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{RANGE}}}="hiddenStructure" style="vertical-align: top;"
|{{#if: {{{Users|}}}|{{!}}'''Used by:'''{{!!}}{{{Users}}}}}
|{{#if: {{{RANGE|}}}|{{!}}'''RANGE:'''{{!!}}{{{RANGE}}}}}


|- class{{{Kills}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{ACCURACY}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Kills|}}}|{{!}}'''Kill(s):'''{{!!}}{{{Kills}}}}}
{{#if: {{{ACCURACY|}}}|{{!}}'''ACCURACY:'''{{!!}}{{{ACCURACY}}}}}
|-  
|-  
|- class{{{AMMO}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{AMMO|}}}|{{!}}'''AMMO:'''{{!!}}{{{AMMO}}}}}
|-
|- class{{{vs. RECOIL}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{vs. RECOIL|}}}|{{!}}'''vs. RECOIL:'''{{!!}}{{{vs. RECOIL}}}}}
|-
|- class{{{RATE OF FIRE}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{RATE OF FIRE|}}}|{{!}}'''RATE OF FIRE:'''{{!!}}{{{RATE OF FIRE}}}}}
|-
|- class{{{LOUDNESS}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{LOUDNESS|}}}|{{!}}'''LOUDNESS:'''{{!!}}{{{LOUDNESS}}}}}
|-
|- class{{{RECOVERY}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{RECOVERY|}}}|{{!}}'''RECOVERY:'''{{!!}}{{{RECOVERY}}}}}
|-
|- class{{{DEBUFF}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{DEBUFF|}}}|{{!}}'''DEBUFF:'''{{!!}}{{{DEBUFF}}}}}
|-
{{#if: {{{Appearances|}}}|{{!}}colspan="2" align="center" style="background:#FF4753;color: #000000" {{!}} '''Appearances'''
{{#if: {{{Appearances|}}}|{{!}}colspan="2" align="center" style="background:#FF4753;color: #000000" {{!}} '''Appearances'''
{{!}}-
{{!}}-

Revision as of 23:40, 16 July 2023

MPN Weapon infobox


Usage

Made this quick template here to help enhance the articles a bit. Copy and paste the following code:

{{Weapon infobox
| Title = 
| image = 
| caption = 
| Type = 
| Attachments = 
| Users = 
| Kills = 
| Appearances = 
}}


Note: do not remove fields, just leave them blank if there's no info.