Difference between revisions of "Template:Unit"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Use dictionary)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#ifeq: {{{1|{{Lang|en=l|ru=л}}}}}|unit|unit|<abbr title="Assuming that 1 unit = 1 {{{1|{{Lang|en=l|ru=л}}}}}">{{{1|{{Lang|en=l|ru=л}}}}}</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.