Template:WeaponData: Difference between revisions

From Deceive Inc. Wiki
Jump to navigation Jump to search
m (Added span tag to center headshot)
m (Changed some font sizes to make it look nicer)
Line 20: Line 20:
--><includeonly><table class="wikitable" style="width:100%;">
--><includeonly><table class="wikitable" style="width:100%;">
<tr><th colspan="5"><span style="font-size: 24px;">{{{name}}}</span></th></tr>
<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|}}}|<tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;font-size:16px;">{{{subtitle}}}</span></td></tr>|}}
<tr><td colspan="5">[[File:{{{icon|}}}|frameless|center]]</td></tr>
<tr><td colspan="5">[[File:{{{icon|}}}|frameless|center]]</td></tr>
{{#if:{{{desc|}}}|<tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;">{{{desc}}}</span></td></tr>|}}
{{#if:{{{desc|}}}|<tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;">{{{desc}}}</span></td></tr>|}}
Line 37: Line 37:
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{rof|}}}</td>
<td colspan="1"><span style="display:inline-block;width:100%;text-align:center;">{{{rof|}}}</td>
</tr>
</tr>
{{#if:{{{headshot|}}}|<tr><th colspan="5">Damage Hit Multiplier</th></tr><tr><th colspan="5">Head Shot</th></tr><tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;">x{{{headshot|}}}</span></td>|}}</td></tr>
{{#if:{{{headshot|}}}|<tr><th colspan="5" style="font-size:16px;">Damage Hit Multiplier</th></tr><tr><th colspan="5">Head Shot</th></tr><tr><td colspan="5"><span style="display:inline-block;width:100%;text-align:center;">x{{{headshot|}}}</span></td>|}}</td></tr>
</table></includeonly>
</table></includeonly>

Revision as of 20:43, 8 November 2023

This template is a work-in-progress!