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

From Deceive Inc. Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>This template is a work-in-progress!</noinclude><!-- * Specialized templates need to be made for the following: - Shotguns - Ace - Larcin - Sasori - Octo * name - str * subtitle * icon - str * desc - str? * damage - float * headshot - float * mag_size - int * starting_ammo - int * reload_speed - float * rof - float --><div class="weapontable"> <div class="weapontable__name">{WEAPON_NAME}</div> <div class="weapontable__subtitle">{WEAPON_SUBTITLE}</div...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 18: Line 18:
* reload_speed - float
* reload_speed - float
* rof - float
* rof - float
--><div class="weapontable">
--><includeonly><table class="wikitable" style="width:100%;">
    <div class="weapontable__name">{WEAPON_NAME}</div>
<tr><th colspan="5"><span style="font-size: 24px;">{{{name}}}</span></th></tr>
    <div class="weapontable__subtitle">{WEAPON_SUBTITLE}</div>
{{#if:{{{subtitle|}}}|<tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;">{{{subtitle}}}</span></td></tr>|}}
    <div class="weapontable__iconwrapper>{WEAPON_ICON}</div>
<tr><td colspan="5">[[File:{{{icon|}}}|frameless|center]]</td></tr>
    <div class="weapontable__desc">{WEAPON_DESC}</div>
{{#if:{{{desc|}}}|<tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;">{{{desc}}}</span></td></tr>|}}
    <div class="weapontable__data">
<tr>
        <div class="weapontable__data__topwrapper">
<th colspan="1">Damage</th>
            <div class="weapontable__data__damage">{WEAPON_DAMAGE}</div>
<th colspan="1">Mag Size</th>
            <div class="weapontable__data__magsize">{WEAPON_MAGSIZE}</div>
<th colspan="1">Starting Ammo</th>
            <div class="weapontable__data__startingammo">{WEAPON_STARTINGAMMO}</div>
<th colspan="1">Reload Speed (Seconds)</th>
            <div class="weapontable__data__reloadspeed">{WEAPON_RELOADSPEED}</div>
<th colspan="1">Rate of Fire (Shots per Second)</th>
            <div class="weapontable__data__rof">{WEAPON_ROF}</div>
</tr>
        </div>
<tr>
    </div>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{damage|}}}</span></td>
</div>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{mag_size|}}}</span></td>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{starting_ammo|}}}</span></td>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{reload_speed|}}}</span></td>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{rof|}}}</td>
</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!