Difference between revisions 5293698 and 5293713 on simplewiki

{{Documentation subpage}}

The converters '''[[Template:Convert/2]]''' and '''[[Template:Convert/flip2]]''' will [[conversion of units|convert]] 2 amounts at once, allowing any range words/text between the 2 amounts. However, both amounts are treated as the same unit type. The output unit must be specified, or put blank "| |" for the default output unit. Convert/flip2 will reverse, or flip, the output to show the results on the l(contracted; show full)

* {{convert/2 |10|-|20|°C|F|disp=or}}{{in5|9}}→ {{Convert/2|10|-|20|°C|F|disp=or}}
* {{convert/2 |11|-|22|°C|F|disp=semi}}{{in5}}→ {{Convert/2|11|-|22|°C|F|disp=semi}}
* {{convert/2 |10|–|15|°F|C}}{{in5|10}}→ {{Convert/2|10|–|15|°F|C}}
* {{convert/2 |105|-|106|°F|C|lk=on }}{{ns|7}}→ {{Convert/2|105|-|106|°F|C|lk=on}}
* {{convert/2 |45|-|55|°F|C|disp=x| in winter (|)}} – {{Convert/2|45|-|55|°F|C
  |disp=x  | in winter (|)}}
<hr width=500px>
* {&#123;convert/2  |700.4|-|700.5|lb|kg}}{{in5}}– {{Convert/2|700.4|-|700.5|lb|kg}}
* {&#123;convert | 700.4|-|700.5|lb|kg}}{{in5}}– {{Convert|700.4|-|700.5|lb|kg}}
<hr width=500px>

* {&#123;convert/2 |5+1/2|wide by|6+1/3|m|ft}} – {{Convert/2|5+1/2|wide by|6+1/3|m|ft}}
* {&#123;convert/flip2 |5+1/2|by|6+1/3|m|ft}} {{ns}}– {{Convert/flip2|5+1/2|by|6+1/3|m|ft}}

The standard range-words are: to, by, and, or, -, +/-, x, xx & comma. Display types: disp=comma, disp=semi, disp=or, disp=s, disp=2 (or disp=out), disp=# (or disp=number), disp=x and disp=b.

== See also ==
* [[Template:Convert/3]] {{ns}}– convert 3 amounts with any separator text
* [[Template:Convert/4]] {{ns}}– convert 4 amounts with any separator text
* [[Template:Convert/flip2]] – converting & flipping 2 amounts with any text
* [[Template:Convert/flip3]] – converting & flipping 3 amounts with any text
* [[Template:Convert/flip4]] – converting & flipping 4 amounts with any text

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:Old subpages of template:convert that are potentially used in mainspace]]
[[Category:Subtemplates of Template Convert]]
}}</includeonly><noinclude>
[[Category:Subtemplates of Template Convert/documentation|2, {{SUBPAGENAME}]]
</noinclude>