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
--><div class="weapontable" style="background-color:#f8f9fa;">
-->{| class="wikitable" style="width:100%;"
    <div class="weapontable__name">{WEAPON_NAME}</div>
! colspan=5 | <span style="font-size: 24px;">{{{name}}}</span>
    <div class="weapontable__subtitle">{WEAPON_SUBTITLE}</div>
|-
    <div class="weapontable__iconwrapper>{WEAPON_ICON}</div>
{{#if:{{{subtitle|}}}|{{!}} colspan=5 {{!}} <span style="display:inline-block;width:100%;text-align:center;">{{{subtitle}}}</span> {{!}}- |}}
    <div class="weapontable__desc">{WEAPON_DESC}</div>
| colspan=6 | [[File:{{{icon|}}}|frameless|center]]
    <div class="weapontable__data">
|-
        <div class="weapontable__data__topwrapper">
{{#if:{{{desc|}}}|{{!}} colspan=5 {{!}} <span style="display:inline-block;width:100%;text-align:center;">{{{desc}}}</span> {{!}}- |}}
            <div class="weapontable__data__damage">{WEAPON_DAMAGE}</div>
! colspan = 1 | Damage
            <div class="weapontable__data__magsize">{WEAPON_MAGSIZE}</div>
! colspan = 1 | Mag Size
            <div class="weapontable__data__startingammo">{WEAPON_STARTINGAMMO}</div>
! colspan = 1 | Starting Ammo
            <div class="weapontable__data__reloadspeed">{WEAPON_RELOADSPEED}</div>
! colspan = 1 | Reload Speed (Seconds)
            <div class="weapontable__data__rof">{WEAPON_ROF}</div>
! colspan = 1 | Rate of Fire (Shots per Second)
        </div>
|-
        <div class="weapontable__data__bottomwrapper">
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{damage|}}}</span>
            <div class="weapontable__data__critdataheader>Damage Hit Multiplier</div>
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{{mag_size|}}}</span>
            <div class="weapontable__data__headshot>{WEAPON_HEADSHOT}</div>
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{{starting_ammo|}}}</span>
        </div>
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{{reload_speed|}}}</span>
    </div>
| colspan = 1 | <span style="display:inline-block;width:100%;text-align:center;">{{{rof|}}}</span>
</div>
{{#if:{{{headshot|}}}|{{!}}- ! colspan=5 {{!}} Damage Hit Multiplier {{!}}- ! colspan=5 {{!}} Head Shot {{!}}- {{!}} colspan=5 {{!}} x{{{headshot}}}|}}
|}

Revision as of 20:31, 8 November 2023

This template is a work-in-progress!{| class="wikitable" style="width:100%;" ! colspan=5 | {{{name}}} |-

| colspan=6 | [[File:|frameless|center]] |-

! colspan = 1 | Damage ! colspan = 1 | Mag Size ! colspan = 1 | Starting Ammo ! colspan = 1 | Reload Speed (Seconds) ! colspan = 1 | Rate of Fire (Shots per Second) |- | colspan = 1 | Template:Damage} | colspan = 1 | | colspan = 1 | | colspan = 1 | | colspan = 1 |

|}