Template:MPN Weapon infobox: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
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}}}}
Line 6: Line 6:
|- style="vertical-align: top;"
|- style="vertical-align: top;"


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



Revision as of 23:05, 10 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.