Difference between revisions of "Template:Unit"
From Kerbal Space Program Wiki
m (Use dictionary) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#ifeq: {{{1|l}}}|unit|unit|<abbr title="Assuming that 1 unit = 1 {{{1|l}}}">{{{1|l}}}</abbr>}}<noinclude> | + | {{#ifeq: {{{1|l}}}|unit|{{Dict|unit}}|<abbr title="Assuming that 1 unit = 1 {{{1|l}}}">{{{1|{{Dict|l}}}}}</abbr>}}<noinclude> |
---- | ---- | ||
Creates a text with the unit (default l for liter). If the first parameter isn't named “unit” a hint text appears stating, that the unit is only an assumption. | Creates a text with the unit (default l for liter). If the first parameter isn't named “unit” a hint text appears stating, that the unit is only an assumption. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 20:09, 27 July 2021
l
Creates a text with the unit (default l for liter). If the first parameter isn't named “unit” a hint text appears stating, that the unit is only an assumption.