Template:MPN Weapon infobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:MPN Weapon infobox/style.css" />
<templatestyles src="Template:MPN Weapon infobox/style.css" />  
{| class="tpl:infobox" style="background-color:rgba(217, 217, 217, 0.2);border: solid;border-color:#3a40450f;width: 22em;float: right;clear: left;display: inline-table;"
{| class="tpl:infobox" style="background-color:rgba(217, 217, 217, 0.2);border: solid;border-color:#3a40450f;width: 22em;float: right;clear: left;display: inline-table;"
!colspan="2" style="background:#FF4753;color: #000000;" | {{#if: {{{Alias|}}}|{{{Alias}}}|{{PAGENAME}}}}
!colspan="2" style="background:#FF4753;color: #000000;" | {{#if: {{{Alias|}}}|{{{Alias}}}|{{PAGENAME}}}}
|-  
|-  
| colspan="2" align="center" style = "font-size: 90%" |{{#if: {{{image|}}} |{{{image}}}}} <br>{{#if:{{{caption|}}}|{{{caption}}}}}
| colspan="2" align="center" style = "font-size: 80%" |{{#if: {{{image|}}} |{{{image}}}}} <br>{{#if:{{{caption|}}}|{{{caption}}}}}
|- style="vertical-align: top;"
|- style="vertical-align: top;"


|- class{{{Type}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Type}}}="hiddenStructure" style="vertical-align: top;"
|{{#if: {{{Type|}}}|width=8em {{!}}'''Type:'''{{!!}}{{{Type}}}}}
|{{#if: {{{Type|}}}|{{!}}'''Type:'''{{!!}}{{{Type}}}}}


|- class{{{DAMAGE}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Avalability}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{DAMAGE|}}}|{{!}}'''DAMAGE:'''{{!!}}{{{DAMAGE}}}}}
|{{#if: {{{Avalability|}}}| {{!}}'''Avalability:'''{{!!}}{{{Avalability}}}}}


|- class{{{RANGE}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Type}}}="hiddenStructure" style="vertical-align: top;"
|{{#if: {{{RANGE|}}}|{{!}}'''RANGE:'''{{!!}}{{{RANGE}}}}}
|{{#if: {{{Vendor|}}}|{{!}}'''Vendor:'''{{!!}}{{{Vendor}}}}}


|- class{{{ACCURACY}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Damage}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{ACCURACY|}}}|{{!}}'''ACCURACY:'''{{!!}}{{{ACCURACY}}}}}
{{#if: {{{Damage|}}}|{{!}}'''Damage:'''{{!!}}{{{Damage}}}}}
 
|- class{{{Damage Type}}}="hiddenStructure" style="vertical-align: top;"
|{{#if: {{{Damage Type|}}}|{{!}}'''Damage Type:'''{{!!}}{{{Damage Type}}}}}
 
|- class{{{Range}}}="hiddenStructure" style="vertical-align: top;"
|{{#if: {{{Range|}}}|{{!}}'''Range:'''{{!!}}{{{Range}}}}}
 
|- class{{{Accuracy}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Accuracy|}}}|{{!}}'''Accuracy:'''{{!!}}{{{Accuracy}}}}}
|-  
|-  


|- class{{{AMMO}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Ammo}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{AMMO|}}}|{{!}}'''AMMO:'''{{!!}}{{{AMMO}}}}}
{{#if: {{{Ammo|}}}|{{!}}'''Ammo:'''{{!!}}{{{Ammo}}}}}
|-  
|-  


|- class{{{vs. RECOIL}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{vs. Recoil}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{vs. RECOIL|}}}|{{!}}'''vs. RECOIL:'''{{!!}}{{{vs. RECOIL}}}}}
{{#if: {{{vs. Recoil|}}}|{{!}}'''vs. Recoil:'''{{!!}}{{{vs. Recoil}}}}}
|-  
|-  


|- class{{{RATE OF FIRE}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{piercing}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{RATE OF FIRE|}}}|{{!}}'''RATE OF FIRE:'''{{!!}}{{{RATE OF FIRE}}}}}
{{#if: {{{piercing|}}}|{{!}}'''piercing:'''{{!!}}{{{piercing}}}}}
|-  
|-  


|- class{{{LOUDNESS}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Rate Of Fire}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{LOUDNESS|}}}|{{!}}'''LOUDNESS:'''{{!!}}{{{LOUDNESS}}}}}
{{#if: {{{Rate Of Fire|}}}|{{!}}'''Rate Of Fire:'''{{!!}}{{{Rate Of Fire}}}}}
|-  
|-  


|- class{{{RECOVERY}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Loudness}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{RECOVERY|}}}|{{!}}'''RECOVERY:'''{{!!}}{{{RECOVERY}}}}}
{{#if: {{{Loudness|}}}|{{!}}'''Loudness:'''{{!!}}{{{Loudness}}}}}
|-  
|-  


|- class{{{DEBUFF}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Recovery}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{DEBUFF|}}}|{{!}}'''DEBUFF:'''{{!!}}{{{DEBUFF}}}}}
{{#if: {{{Recovery|}}}|{{!}}'''Recovery:'''{{!!}}{{{Recovery}}}}}
|-  
|-  


|- class{{{DEFENSE}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Debuff}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{DEFENSE|}}}|{{!}}'''DEFENSE:'''{{!!}}{{{DEFENSE}}}}}
{{#if: {{{Debuff|}}}|{{!}}'''Debuff:'''{{!!}}{{{Debuff}}}}}
|-  
|-  


|- class{{{DURABILITY}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Defense}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{DURABILITY|}}}|{{!}}'''DURABILITY:'''{{!!}}{{{DURABILITY}}}}}
{{#if: {{{Defense|}}}|{{!}}'''Defense:'''{{!!}}{{{Defense}}}}}
|-  
|-  


|- class{{{Durability}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Durability|}}}|{{!}}'''Durability:'''{{!!}}{{{Durability}}}}}
|-


|- class{{{PRICE}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Price}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{PRICE|}}}|{{!}}'''PRICE:'''{{!!}}{{{PRICE}}}}}
{{#if: {{{Price|}}}|{{!}}'''Price:'''{{!!}}{{{Price}}}}}
|-  
|-  



Latest revision as of 14:40, 11 March 2024

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.