Template:Damage multipliers: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{hideimage|}}}||[[File:{{PAGENAME}}_Damage_Modifiers.png|{{{imagewidth|800}}}px|right]] | <includeonly>{{#if:{{{hideimage|}}}||[[File:{{PAGENAME}}_Damage_Modifiers.png|{{{imagewidth|800}}}px|right]]}} | ||
}} | |||
{| class="responsive-table" style="min-width:31%;max-width:69%;" | {| class="responsive-table" style="min-width:31%;max-width:69%;" | ||
<th>Limb</th>{{#cargo_query: | <th>Limb</th>{{#cargo_query: | ||
Line 40: | Line 32: | ||
</includeonly><noinclude>This template is used on creature pages in the Defense section, to display a table of their damage modifiers per limb. Data is read from the Creatures cargo table, and as such, it must be defined in the creature infobox. See [[Template:Creatures infobox]] for details. | </includeonly><noinclude>This template is used on creature pages in the Defense section, to display a table of their damage modifiers per limb. Data is read from the Creatures cargo table, and as such, it must be defined in the creature infobox. See [[Template:Creatures infobox]] for details. | ||
Additionally, it displays the relevant damage modifiers png file if it exists. If it doesn't, add <code>hideimage=yes</code> as a parameter (e.g. <code><nowiki>{{Damage modifiers| | Additionally, it displays the relevant damage modifiers png file if it exists. If it doesn't, add <code>hideimage=yes</code> as a parameter (e.g. <code><nowiki>{{Damage modifiers|hideimage=yes}}</nowiki></code>).[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude> |
Latest revision as of 15:20, 28 April 2024
This template is used on creature pages in the Defense section, to display a table of their damage modifiers per limb. Data is read from the Creatures cargo table, and as such, it must be defined in the creature infobox. See Template:Creatures infobox for details.
Additionally, it displays the relevant damage modifiers png file if it exists. If it doesn't, add hideimage=yes
as a parameter (e.g. {{Damage modifiers|hideimage=yes}}
).