Difference between revisions of "Template:Conv unit set-up"

From Wikishire
Jump to: navigation, search
Line 1: Line 1:
{{#ifeq:{{{4}}}|on|­{{Database|{{{1}}}|{{#switch:{{{3}}}
+
{{#ifeq:{{{4|}}}|on|–{{Database|{{{1}}}|{{#switch:{{{3|}}}
 
|abb=symbol
 
|abb=symbol
 
|long=name
 
|long=name
Line 5: Line 5:
 
}} }}| {{#switch:{{{3|}}}
 
}} }}| {{#switch:{{{3|}}}
 
|abb={{Database|{{{1}}}|symbol}}
 
|abb={{Database|{{{1}}}|symbol}}
|long={{Database|{{{1}}}|{{#ifeq:{{{2}}}|y|{{conv plural unit|{{{1}}} }}|name}} }}
+
|long={{#ifeq:{{{2}}}|n|{{Database|{{{1}}}|name}}|{{conv plural unit|{{{1}}} }} }}
 
|{{#switch:{{Database|{{{1}}}|default}}
 
|{{#switch:{{Database|{{{1}}}|default}}
 
|symbol={{Database|{{{1}}}|symbol}}
 
|symbol={{Database|{{{1}}}|symbol}}
|{{Database|{{{1}}}|{{#ifeq:{{{2}}}|y|{{conv plural unit|{{{1}}} }}|name}} }}
+
|{{#ifeq:{{{2}}}|n|{{Database|{{{1}}}|name}}|{{conv plural unit|{{{1}}} }} }}
 
}}
 
}}
 
}}
 
}}
 
}}<noinclude>[[Category:Convert templates|Unit set-up]]
 
}}<noinclude>[[Category:Convert templates|Unit set-up]]

Revision as of 23:39, 11 October 2012

 s