Template:Str: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
(added option to hide med skill req (cargo, afflictions table)) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
------>{{#if:{{{3|}}}|{{Space}}<span style="color:#c90c0c;cursor:help;" title="Total affliction strength change if failed">'''({{{3|}}})*'''</span>|}}<!-- | ------>{{#if:{{{3|}}}|{{Space}}<span style="color:#c90c0c;cursor:help;" title="Total affliction strength change if failed">'''({{{3|}}})*'''</span>|}}<!-- | ||
-->}}{{#if: {{{5|}}}| | -->}}{{#if: {{{5|}}}|{{#if:{{{hidemed|}}}||{{space}}[[File:Medical_Doctor_Job_Icon.png|16px|Desirable Medical Skill]]{{{5}}}}}|}}</includeonly><noinclude>{{clr}}{{doc}}</noinclude> |
Latest revision as of 14:03, 11 March 2022
Syntax
{{str| Name | Affliction strength change | idem but onFailure | Affliction icon size override (default = 30) | skill requirement (float right) | Non-affliction icon size override (default = 20)}}
{{str|Burn|5|10|25}} = Burn (5 | 10)*
{{str|Rum|10|20||15}} = Rum (10 | 20)* 15
skill level in {{{5}}} is intended to be used in chemical lists in affliction tables only. Specifying parameter 5 will default the icon size to 20px (it may still be customized in parameter 6).
The above documentation is transcluded from Template:Str/doc. (edit | history)