Template:Damage: Difference between revisions

From Totem Arts Wiki
Jump to navigation Jump to search
RaiderAlpha (talk | contribs)
To be used in the infobox templates
 
RaiderAlpha (talk | contribs)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="mw-collapsible mw-collapsed" data-expandtext="Multipliers" data-collapsetext="Hide">
<includeonly><table class="mw-collapsible mw-collapsed damage-multipliers" cellspacing="0" data-expandtext="Multipliers" data-collapsetext="Hide">
<tr>
<tr><th style="width:90px;">Base Damage</th><td style="width:90px;">{{{base|}}}</td></tr>
<th style="width:90px;">Base</th>
{{#if:{{{headshot|}}}|<tr><th>Headshot</th><td>{{{headshot|}}}</td></tr>}}
<th style="width:90px;">80</th>
{{#if:{{{kevlar|}}}|<tr><th>Kevlar Armor</th><td>{{{kevlar|}}}</td></tr>}}
</tr>
{{#if:{{{flak|}}}|<tr><th>Flak Armor</th><td>{{{flak|}}}</td></tr>}}
<th>Headshot</th>
{{#if:{{{lazarus|}}}|<tr><th>Lazarus Armor</th><td>{{{lazarus|}}}</td></tr>}}
<td>x10</td>
{{#if:{{{heavy|}}}|<tr><th>Heavy Armor</th><td>{{{heavy|}}}</td></tr>}}
</table>
{{#if:{{{light|}}}|<tr><th>Light Armor</th><td>{{{light|}}}</td></tr>}}
{{#if:{{{aerial|}}}|<tr><th>Aerial Armor</th><td>{{{aerial|}}}</td></tr>}}
{{#if:{{{building|}}}|<tr><th>Building</th><td>{{{building|}}}</td></tr>}}
{{#if:{{{mct|}}}|<tr><th>MCT</th><td>{{{mct|}}}</td></tr>}}
{{#if:{{{mines|}}}|<tr><th>Mines</th><td>{{{mines|}}}</td></tr>}}
</table></includeonly><noinclude>
Displays a collapsable damage table and corresponding multipliers based on in-game values, embedded with an infobox.
== Usage ==
<pre>
{{Damage
|base    =
|headshot =
|kevlar  =
|flak    =
|lazarus  =
|heavy    =
|light    =
|aerial  =
|building =
|mct      =
|mines    =
}}
</pre>
[[Category:Templates]]
</noinclude>

Latest revision as of 15:12, 24 April 2022

Displays a collapsable damage table and corresponding multipliers based on in-game values, embedded with an infobox.

Usage

{{Damage
|base     = 
|headshot = 
|kevlar   = 
|flak     = 
|lazarus  = 
|heavy    = 
|light    = 
|aerial   = 
|building = 
|mct      = 
|mines    = 
}}