Template:Weapon infobox: Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<templatestyles src="Template:Weapon infobox/style.css" />
<templatestyles src="Template: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;"
{| class="tpl:infobox" style="background-color:rgba(217, 217, 217, 0.2);border: solid;border-color:#3a40450f; width: 22em; float: right; clear: left;"
!colspan="2" style="background:#FF4753" | ''{{#if: {{{Title|}}}|{{{Title}}}|{{PAGENAME}}}}''
!colspan="2" style="background:#FF4753" | {{#if: {{{Alias|}}}|{{{Alias}}}|{{PAGENAME}}}}
|-
|-  
| colspan="2" align="center" style = "font-size: 90%; background: rgb(0 0 0 / 4%)" |{{#if: {{{image|}}} |{{{image}}}}}
| colspan="2" align="center" style = "font-size: 90%" |{{#if: {{{image|}}} |{{{image}}}}} <br>{{#if:{{{caption|}}}|{{{caption}}}}}
|-
|- style="vertical-align: top;"
| colspan="2" align="center" style = "font-size: 90%; background: rgb(0 0 0 / 4%)" |{{#if: {{{caption|}}}| {{{caption}}}}}
|- class{{{Type}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{Type}}}="hiddenStructure" style="vertical-align: top;"
|{{#if: {{{Type|}}}|width=8em {{!}}'''Type:'''{{!!}}{{{Type}}}}}
|{{#if: {{{Type|}}}|width=8em {{!}}'''Type:'''{{!!}}{{{Type}}}}}

Revision as of 13:17, 4 January 2023

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.