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

From Deceive Inc. Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 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" style=".weapontable {
--><includeonly><table class="wikitable" style="width:100%;">
    background-color:#f8f9fa;
<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>|}}
    <div class="weapontable__name">{WEAPON_NAME}</div>
<tr><td colspan="5">[[File:{{{icon|}}}|frameless|center]]</td></tr>
    <div class="weapontable__subtitle">{WEAPON_SUBTITLE}</div>
{{#if:{{{desc|}}}|<tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;">{{{desc}}}</span></td></tr>|}}
    <div class="weapontable__iconwrapper>{WEAPON_ICON}</div>
<tr>
    <div class="weapontable__desc">{WEAPON_DESC}</div>
<th colspan="1">Damage</th>
    <div class="weapontable__data">
<th colspan="1">Mag Size</th>
        <div class="weapontable__data__topwrapper">
<th colspan="1">Starting Ammo</th>
            <div class="weapontable__data__damage">{WEAPON_DAMAGE}</div>
<th colspan="1">Reload Speed (Seconds)</th>
            <div class="weapontable__data__magsize">{WEAPON_MAGSIZE}</div>
<th colspan="1">Rate of Fire (Shots per Second)</th>
            <div class="weapontable__data__startingammo">{WEAPON_STARTINGAMMO}</div>
</tr>
            <div class="weapontable__data__reloadspeed">{WEAPON_RELOADSPEED}</div>
<tr>
            <div class="weapontable__data__rof">{WEAPON_ROF}</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>
        <div class="weapontable__data__bottomwrapper">
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{starting_ammo|}}}</span></td>
            <div class="weapontable__data__critdataheader>Damage Hit Multiplier</div>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{reload_speed|}}}</span></td>
            <div class="weapontable__data__headshot>{WEAPON_HEADSHOT}</div>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{rof|}}}</td>
        </div>
</tr>
    </div>
{{#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>
</div>
</table></includeonly>

Latest revision as of 20:39, 8 November 2023

This template is a work-in-progress!