Template:MPN Weapon infobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(15 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{{{Avalability}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Avalability}}}="hiddenStructure" style="vertical-align: top;"
|{{#if: {{{Avalability|}}}|width=8em {{!}}'''Avalability:'''{{!!}}{{{Avalability}}}}}
|{{#if: {{{Avalability|}}}| {{!}}'''Avalability:'''{{!!}}{{{Avalability}}}}}


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


|- class{{{Damage}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Damage}}}="hiddenStructure" style="vertical-align: top;"

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.