User:Johan G/convert/test/testrow: Difference between revisions
< User:Johan G | convert | test
Jump to navigation
Jump to search
m (Fix accidetally shifted parameters) |
m (Seems like the was an extra vertical stroke there) |
||
Line 1: | Line 1: | ||
|- | |- | ||
| {{#ifeq: "{{User:Johan G/convert|{{{1}}}|{{{{2}}}|{{{4}}}|{{{5}}} | | {{#ifeq: "{{User:Johan G/convert|{{{1}}}|{{{{2}}}|{{{4}}}|{{{5}}}}}" | ||
| "{{{3}}} {{{4}}}" | | "{{{3}}} {{{4}}}" | ||
| {{yes|{{User:Johan G/convert|{{{1}}}|{{{{2}}}|{{{4}}}|{{{5}}}|}}}} | | {{yes|{{User:Johan G/convert|{{{1}}}|{{{{2}}}|{{{4}}}|{{{5}}}|}}}} |
Latest revision as of 20:21, 8 April 2019
|- | style="background: #ff6e67; color: black; vertical-align: middle; text-align: center;" | Parameter from-unit missing or not supported | {{{3}}} || {{{4}}}
The following template description is not displayed when the template is inserted in an article.
Goal
This template is used for each row of a table (including row separators!) in User:Johan G/convert/test that is a test of the User:Johan G/convert template.
Usage
{{User:Johan G/convert/test/testrow|value|from-unit|to-value|to-unit|decimals}}
All parameters are mandatory
- to-value
- Output value of successful conversion.
For other parameters, see User:Johan G/convert for more detailed documentation of the parameters.
Examples
{| class="wikitable" {{User:Johan G/convert/test/testrow|1000000|mm|39370.079|in|3}} |}{{User:Johan G/convert/test/testrow|1000000|mm|39370.079|in|3}}
Known issues
Known issues and workarounds if such are known.
Related templates