Template:Convinfobox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
en>Bellhalla m (add sortkey) |
en>Jimp (reworking this template to be a conversion template for infoboxes) |
||
Line 1: | Line 1: | ||
{{Convinfobox/{{#if:{{{1|}}}|pri}}{{#if:{{{3|}}}|sec}}}}{{#if:{{{5|}}}|ter}}}}{{#if:{{{6|}}}| |
|||
<includeonly>{{imp oz to ml/0 |
|||
{{#switch:{{{2}}}{{{4}}}|stlb|lboz|ftin={{{2}}}{{{4}}}}}3{{#switch:{{{4}}}{{{6}}}|stlb|lboz|ftin={{{4}}}{{{6}}}}}|2}}|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|r={{#ifeq:{{{sp}}}|us|er|re}}|d=L{{{lk|off}}}A{{{abbr|on}}}D{{{disp|b}}}S{{{adj|off}}}|s={{{sigfig|}}}}} |
|||
|{{{1}}}|{{{2|}}} |
|||
|ab={{{abbr|}}} |
|||
|sp=millilit{{#ifeq:{{{spell}}}|us|er|re}} |
|||
|un={{{unit|ml}}} |
|||
|pv={{max/2|{{precision/x|{{{1}}}}}|{{precision/x|{{{2|{{{1}}}}}}}}}} |
|||
|pm={{{precision|}}} |
|||
|pe={{#if:{{{precision US|}}}|{{{precision US}}}|{{#if:{{{precision|}}}|{{{precision}}}+1}}}} |
|||
|om={{ordomag|{{{1}}}*28.4130625}} |
|||
|oe={{ordomag|{{{1}}}*454609000/473176473}} |
|||
|fm={{{sigfig|}}} |
|||
|fe={{#if:{{{sigfig US|}}}|{{{sigfig US}}}|{{#if:{{{precision US|}}}||{{{sigfig|}}}}}}} |
|||
|wi={{{wiki|}}} |
|||
}}</includeonly><noinclude>{{imp oz to ml/doc}}[[Category:Conversion templates|Ounce, Imperial, to ml]]</noinclude> |