Template:Weapon infobox: Difference between revisions
Template page
More actions
Heads up |
fandomwiki>Maikeru B@legacy41782947 Undo revision 1110 by 66.23.238.104 (talk) |
||
| Line 1: | Line 1: | ||
= | {| class="infobox" style="font-size:89%; width:23em; -moz-border-radius: .5em; -webkit-border-radius: .5em; border-radius: .5em;" | ||
= | |- | ||
= | ! colspan="2" style="background-color: #000000; color: #A6CFFD; border: 1px solid #551A8B; -moz-border-radius: .3em; -webkit-border-radius: .3em; border-radius: .3em; font-size:120%; padding:0.5em;" | {{{name|{{BASEPAGENAME}}}}} | ||
|- style="text-align:center" | |||
| colspan="2" style="padding:0.5em;" | {{{image|[[File:{{{name|{{BASEPAGENAME}}}}}.png]]}}} | |||
|- | |||
! colspan="2" style="background-color: #000000; color: #A6CFFD; border: 1px solid #551A8B; -moz-border-radius: .3em; -webkit-border-radius: .3em; border-radius: .3em; padding:0em;" | Statistics | |||
|- | |||
| style="width:40%" | '''Type''' | |||
| style="width:60%" | {{{type}}}{{#if: {{{type2|}}} |  – {{{type2}}} }} | |||
|- | |||
{{#if: {{{range|}}}| | |||
{{!}} '''Range/Accuracy''' | |||
{{!}} {{{range|}}} }} | |||
|- | |||
{{#if: {{{impact|}}}| | |||
{{!}} '''Impact range''' | |||
{{!}} {{{impact|}}} }} | |||
|- | |||
{{#if: {{{rate|}}}| | |||
{{!}} '''Rate of Fire''' | |||
{{!}} {{{rate|}}} }} | |||
|- | |||
{{#if: {{{ammo|}}}| | |||
{{!}} '''Ammunition''' | |||
{{!}} {{{ammo|}}} }} | |||
|- | |||
{{#if: {{{mag|}}}| | |||
{{!}} '''Magazine size''' | |||
{{!}} {{{mag|}}} }} | |||
|- | |||
{{#if: {{{damage|}}}| | |||
{{!}} '''Damage''' | |||
{{!}} {{{damage|}}} }} | |||
|- | |||
{{#if: {{{recoil|}}}| | |||
{{!}} '''Recoil/Knockback''' | |||
{{!}} {{{recoil|}}} }} | |||
|}<includeonly>[[Category:{{{type|}}} weapons]]</includeonly><noinclude> | |||
{{clear}} | |||
==Usage:== | |||
*Everything but "type" is optional; | |||
*you can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example) | |||
<pre> | |||
{{weapon infobox | |||
| name = | |||
| type = | |||
| range = | |||
| impact = | |||
| rate = | |||
| ammo = | |||
| mag = | |||
| damage = | |||
}} | |||
</pre> | |||
[[Category:Infobox templates]]</noinclude> | |||