User:LunarEcklipse/Templates/Template:WeaponData: Difference between revisions

From Deceive Inc. Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 18: Line 18:
* reload_speed - float
* reload_speed - float
* rof - float
* rof - float
-->{| class="wikitable" style="width:100%;"
--><includeonly><table class="wikitable" style="width:100%;">
! colspan=5 | <span style="font-size: 24px;">{{{name}}}</span>
<tr><th colspan="5"><span style="font-size: 24px;">{{{name}}}</span></th></tr>
|-
{{#if:{{{subtitle|}}}|<tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;">{{{subtitle}}}</span></td></tr>|}}
{{#if:{{{subtitle|}}}|{{!}} colspan=5 {{!}} <span style="display:inline-block;width:100%;text-align:center;">{{{subtitle}}}</span> {{!}}- |}}
<tr><td colspan="5">[[File:{{{icon|}}}|frameless|center]]</td></tr>
| colspan=6 | [[File:{{{icon|}}}|frameless|center]]
{{#if:{{{desc|}}}|<tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;">{{{desc}}}</span></td></tr>|}}
|-
<tr>
{{#if:{{{desc|}}}|{{!}} colspan=5 {{!}} <span style="display:inline-block;width:100%;text-align:center;">{{{desc}}}</span> {{!}}- |}}
<th colspan="1">Damage</th>
! colspan = 1 | Damage
<th colspan="1">Mag Size</th>
! colspan = 1 | Mag Size
<th colspan="1">Starting Ammo</th>
! colspan = 1 | Starting Ammo
<th colspan="1">Reload Speed (Seconds)</th>
! colspan = 1 | Reload Speed (Seconds)
<th colspan="1">Rate of Fire (Shots per Second)</th>
! colspan = 1 | Rate of Fire (Shots per Second)
</tr>
|-
<tr>
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{damage|}}}</span>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{damage|}}}</span></td>
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{{mag_size|}}}</span>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{mag_size|}}}</span></td>
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{{starting_ammo|}}}</span>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{starting_ammo|}}}</span></td>
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{{reload_speed|}}}</span>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{reload_speed|}}}</span></td>
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{{rof|}}}</span>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{rof|}}}</td>
{{#if:{{{headshot|}}}|{{!}}- ! colspan=5 {{!}} Damage Hit Multiplier {{!}}- ! colspan=5 {{!}} Head Shot {{!}}- {{!}} colspan=5 {{!}} x{{{headshot}}}|}}
</tr>
|}
{{#if:{{{headshot|}}}<tr><th colspan="5">Damage Hit Multiplier</th></tr><tr><th colspan="5">Head Shot</th></tr><tr><td colspan="5"x{{{headshot}}}|}}</td></tr>
</table></includeonly>

Latest revision as of 20:39, 8 November 2023

This template is a work-in-progress!