"ଛାଞ୍ଚ:Val" ପୃଷ୍ଠାର ସଂସ୍କରଣଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ
Content deleted Content added
imported>SkyLined Fix bug in previous edit |
imported>SkyLined |
||
୩ କ ଧାଡ଼ି:
{{documentation}}
<!--
PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS
Normally, the code for the template is included, but this template is too complex to do that.
Line ୮ ⟶ ୯:
--><span style="white-space:nowrap"><!--
START ERROR CHECKING:
-->{{#ifeq:{{valid|number={{{1
-->{{FormattingError|Error in {{tl|val}}: first argument is not a valid number or requires too much precision to display.|nocategory={{{nocategory|}}}}}<!--
-->|<!-- Is arg1 not a valid number? NO
-->{{#ifeq:{{valid|number={{{2|0}}}}}|false|<!--
-->{{FormattingError|Error in {{tl|val}}: second argument is not a valid number or requires too much precision to display.|nocategory={{{nocategory|}}}}}<!--
-->|<!-- Is arg2 not a valid number? NO
-->{{#ifeq:{{valid|number={{{3|0}}}}}|false|<!--
-->{{FormattingError|Error in {{tl|val}}: third argument is not a valid number or requires too much precision to display.|nocategory={{{nocategory|}}}}}<!--
-->|<!-- Is arg3 not a valid number? NO
-->{{#ifexpr: {{{3|-1}}} >= 0|<!--
-->{{FormattingError|Error in {{tl|val}}: third argument is not negative.|nocategory={{{nocategory|}}}}}<!--
-->|<!-- Is arg3 positive? NO
Line ୩୪ ⟶ ୩୫:
END ERROR CHECKING, START OUTPUT
-->{{{p|}}}<!-- If p (prefix) is defined, display it.
-->{{
-->{{
-->
-->
-->
-->
--><span
--><span style="white-space:nowrap;margin-left:0.3em;margin-right:0.15em">±</span>{{val/delimitnum|{{{2}}}}}{{{errend|}}}<!-- Uncertainty = ±X▼
▲
▲ -->}}<!-- End Are there 3 arguments?
▲ -->}}<!-- End Are there 2 arguments?
-->{{#if:{{{u|}}}| {{val/units|{{{u}}}}}}}<!-- u=units
-->{{#if:{{{ul|}}}| {{val/unitswithlink|{{{ul}}}}}}}<!-- u=units with link
|