Template:Str: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
mNo edit summary |
||
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|}}}|<span style="float:right">{{{5}}}</span> | -->}}{{#if: {{{5|}}}|{{space}}<span style="float:right">{{{5}}}</span>|}}</includeonly><noinclude>{{clr}}{{doc}}</noinclude> |
Revision as of 18:33, 28 February 2021
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)