Difference between revisions of "Template:Unit"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (l -> mark)
(Undo revision 62814 by NWM (talk): This is currently not working properly: A) The parameter is now mostly ignored B) It's always using now the fuel icon even though it might be used for something else.)
Line 1: Line 1:
{{#ifeq: {{{1|l}}}|unit|unit|<abbr title="1 {{dict|unit}}">{{mark|fuelu}}</abbr>}}<noinclude>
+
{{#ifeq: {{{1|l}}}|unit|unit|<abbr title="Assuming that 1 unit = 1 {{{1|l}}}">{{{1|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>

Revision as of 18:33, 18 May 2015

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.