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
Line 1: Line 1:
<table class="mw-collapsible mw-collapsed" data-expandtext="Multipliers" data-collapsetext="Hide">
<includeonly><table class="mw-collapsible mw-collapsed" data-expandtext="Multipliers" data-collapsetext="Hide">
<tr>
<tr><th style="width:90px;">Base</th><th style="width:90px;">{{{base|}}}</th></tr>
<th style="width:90px;">Base</th>
{{#if:{{{headshot|}}}|<th>Headshot</th><td>{{{headshot|}}}</td>}}
<th style="width:90px;">80</th>
{{#if:{{{kevlar|}}}|<th>Kevlar Armor</th><td>{{{kevlar|}}}</td>}}
</tr>
{{#if:{{{flak|}}}|<th>Flak Armor</th><td>{{{flak|}}}</td>}}
<th>Headshot</th>
{{#if:{{{lazarus|}}}|<th>Lazarus Armor</th><td>{{{lazarus|}}}</td>}}
<td>x10</td>
{{#if:{{{heavy|}}}|<th>Heavy Armor</th><td>{{{heavy|}}}</td>}}
</table>
{{#if:{{{light|}}}|<th>Light Armor</th><td>{{{light|}}}</td>}}
{{#if:{{{aerial|}}}|<th>Aerial Armor</th><td>{{{aerial|}}}</td>}}
{{#if:{{{building|}}}|<th>Building</th><td>{{{building|}}}</td>}}
{{#if:{{{mct|}}}|<th>MCT</th><td>{{{mct|}}}</td>}}
{{#if:{{{mines|}}}|<th>Mines</th><td>{{{mines|}}}</td>}}
</table></includeonly><noinclude>
Displays a collapsable damage table and corresponding multipliers based on in-game values, embedded with an infobox.
== Usage ==
<pre>
{{Damage
|damage  =
|headshot =
|kevlar  =
|flak    =
|lazarus  =
|heavy    =
|light    =
|aerial  =
|building =
|mct      =
|mines    =
}}
</pre>
[[Category:Templates]]
</noinclude>

Revision as of 17:58, 19 January 2021

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

Usage

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