Template:MPN Weapon infobox: Difference between revisions

Template page
(Created page with "<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;" !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}}}}} |-...")
 
No edit summary
 
(28 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{{{Attachments}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Avalability}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Attachments|}}}|{{!}}'''Attachment(s):'''{{!!}}{{{Attachments}}}}}
|{{#if: {{{Avalability|}}}| {{!}}'''Avalability:'''{{!!}}{{{Avalability}}}}}


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


|- class{{{Kills}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Range}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Kills|}}}|{{!}}'''Kill(s):'''{{!!}}{{{Kills}}}}}
|{{#if: {{{Range|}}}|{{!}}'''Range:'''{{!!}}{{{Range}}}}}
 
|- class{{{Accuracy}}}="hiddenStructure" style="vertical-align: top;"
{{#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{{{piercing}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{piercing|}}}|{{!}}'''piercing:'''{{!!}}{{{piercing}}}}}
|-
|- 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}}}}}
|-
|- class{{{Defense}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Defense|}}}|{{!}}'''Defense:'''{{!!}}{{{Defense}}}}}
|-
|- class{{{Durability}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Durability|}}}|{{!}}'''Durability:'''{{!!}}{{{Durability}}}}}
|-
|- class{{{Price}}}="hiddenStructure" style="vertical-align: top;"
{{#if: {{{Price|}}}|{{!}}'''Price:'''{{!!}}{{{Price}}}}}
|-
{{#if: {{{Appearances|}}}|{{!}}colspan="2" align="center" style="background:#FF4753;color: #000000" {{!}} '''Appearances'''
{{#if: {{{Appearances|}}}|{{!}}colspan="2" align="center" style="background:#FF4753;color: #000000" {{!}} '''Appearances'''
{{!}}-
{{!}}-
Line 26: Line 76:
|}<noinclude>
|}<noinclude>


<br clear="{{{1|all}}}">


==Usage==
==Usage==

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.