Template:Damage multipliers: Difference between revisions
From Official Barotrauma Wiki
(notes) |
No edit summary |
||
Line 40: | Line 40: | ||
</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|hideimages=yes}}</nowiki></code>).</noinclude> | 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|hideimages=yes}}</nowiki></code>).[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude> |
Revision as of 16:48, 29 June 2022
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|hideimages=yes}}
).