"ଛାଞ୍ଚ:Val" ପୃଷ୍ଠାର ସଂସ୍କରଣ‌ଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ

Content deleted Content added
ଟିକେ Bot: Migrating 2 interwiki links, now provided by Wikidata on d:q6232996 (translate me)
ଅଦ୍ୟତନ
୧ କ ଧାଡ଼ି:
<includeonly><!--
<noinclude>
--><span class="nowrap"><!--
 
{{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.
--></noinclude><includeonly><!--
--><span style="white-space:nowrap"><!--
START ERROR CHECKING:
-->{{#ifeq:{{valid|number={{{1|0}}}}}|false|<!-- Is arg1 not a valid number?
Line ୧୮ ⟶ ୧୧:
-->{{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|<!-- Is arg3 positive or -0?
-->{{FormattingError|Error in {{tl|val}}: third argument is not negative.|nocategory={{{nocategory|}}}}}<!--
-->|<!-- Is arg3 positive? NO
Line ୨୪ ⟶ ୧୭:
-->{{FormattingError|Error in {{tl|val}}: exponent ('''e''') is not a valid number or requires too much precision to display.|nocategory={{{nocategory|}}}}}<!--
-->|<!-- Is arg "e" not a valid number? NO
-->{{#ifeq:{{{u|{{{ul|{{{up|{{{upl|}}}}}}}}}}}}|{{{up|{{{upl}}}}}}|<!-- Is arg "up" or "upl" specified but not arg "u" or "ul"?
-->{{FormattingError|Error in {{tl|val}}: unit ('''u''' or '''ul''') is not specified but units per ('''up''' or '''upl''') is.|nocategory={{{nocategory|}}}}}<!--
-->|<!-- Is arg "up" specified but not arg "u"? NO
-->{{#ifeq:{{{u}}}{{{ul}}}|{{{u|}}}{{{ul|}}}|<!-- Is arg "u" and "ul" specified?
-->{{FormattingError|Error in {{tl|val}}: unit ('''u''') and units with link ('''ul''') are both specified, only one is allowed.|nocategory={{{nocategory|}}}}}<!--
Line ୩୩ ⟶ ୨୩:
-->{{FormattingError|Error in {{tl|val}}: unit per ('''up''') and units per with link ('''upl''') are both specified, only one is allowed.|nocategory={{{nocategory|}}}}}<!--
-->|<!-- Is arg "up" and "upl" specified? NO
END OPENING OF ERROR CHECKING, START OUTPUT
-->{{{p|}}}<!-- If p (prefix) is defined, display it.
 
START OPENING BRACKET
-->{{#if:{{{1|}}}|<!-- Are there any arguments?
-->{{#if:{{{2|}}}|<!-- Are there 2 arguments?
-->{{#if:{{{3|}}}|<!-- Are there 3 arguments?
-->|<!-- There are 2, but not 3 arguments
-->{{#if:{{#ifexpr:0{{{2}}}}}|<!-- Second argument is "(number)"? YES, do not check for bracket
-->|<!-- Second argument is "(number)"? NO, check for bracket
-->{{#if:{{{e|}}}|(<!-- Is there an exponent? YES, open bracket
-->}}<!-- End is there an exponent?
-->}}<!-- End is second argument "(number)"?
-->}}<!-- end Are there 3 arguments?
-->}}<!-- end Are there 2 arguments?
-->}}<!-- end Are there any arguments?
END OPENING BRACKET
 
START MAIN OUTPUT
-->{{{p|}}}<!-- If p (prefix) is defined, display it.
-->{{#if: {{{1|}}}|<!-- Are there any arguments?
-->{{val/delimitnum|fmt={{{1fmt|gaps}}}|{{{1|}}}|u={{{endu|{{{ul}}}}}}}}<!-- Output arg1, formatted.
Output arg1, formatted.
-->{{{end|}}}<!--
-->{{#if: {{{2|}}}|<!-- Are there 2 or more arguments?
-->{{#if: {{{3|}}}|<!-- Are there 3 arguments?
--><span style="white-space:nowrap;margin-left:0.3em;">{{su|<!-- Uncertainty = +X -YThere (3are three arguments).
-->w=f{{val/angle|a=r{{{u}}}|{{{ul}}}}}<!-- FixedUncertainty width,= right aligned+X/-Y
-->p<span style=+"margin-left:0.3em;">{{val/delimitnum|{{{2}}}}}{{{+errend|}}}su|<!-- Output +arg2, formatted.
-->bw={{val/delimitnum{w|{{{3}}}}}|a={{{-errenda|r}}}|<!-- Output -arg3, formatted.
-->}}</span><!-- Option fixed width, default right aligned
 
-->|<!-- Are there 3 arguments? NO
-->p=+{{#if:val/delimitnum|fmt={{#ifexpr: 0{fmt|gaps}}}|{{{2}}}}}|<!-- Second argument is "(number)"?
-->{{{2}}}<!-- Significance = (X) Output +arg2, formatted.
-->{{{+errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}|<!-- Second argument is "(number)"? NO
Append something and/or add angle/percent symbol.
--><span style="white-space:nowrap;margin-left:0.3em;margin-right:0.15em">±</span>{{val/delimitnum|{{{2}}}}}{{{errend|}}}<!-- Uncertainty = ±X
-->b={{#ifexpr: {{{3}}} = 0|&minus;}}{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{3}}}}}<!--
Output -arg3, formatted.
-->{{{-errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}<!--
Append something and/or add angle/percent symbol.
 
-->}}</span><!-- End Uncertainty = +X/-Y
 
-->|<!--
 
There are there not three arguments.
-->{{#if:{{#ifexpr: 0{{{2}}}}}<!-- Is second argument "(number)"?
-->|<!--
Second argument is "(number)".
Significance = (X)
-->{{{2}}}{{val/angle|{{{u}}}|{{{ul}}}}}<!--
-->|<!--
Second argument is not "(number)".
Uncertainty = ±X.
Add angle/percent symbol.
-->{{val/angle|{{{u}}}|{{{ul}}}}}<!--
Add ± symbol.
--><span style="margin-left:0.3em;margin-right:0.15em">±</span><!--
Format number.
-->{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}<!--
Append something and/or add angle/percent symbol.
-->{{{errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}<!--
-->}}<!-- End second argument is "(number)"?
-->}}<!-- End Are there 3 arguments?
2 arguments? No -->|{{val/angle|{{{u}}}|{{{ul}}}}}<!--
-->}}<!-- End Are there 2 arguments?
-->}}<!-- End Are there 2 or more arguments?
-->{{#if:{{{e|}}}|<span style="white-space:nowrap;margin-left:0.25em;margin-right:0.15em">×</span>10{{su|p={{val/delimitnum|{{{e}}}}}}}}}<!-- e=exponent
-->|<!-- Are there any arguments? NO
-->{{#if:{{{e|}}}|10{{su|p={{val/delimitnum|{{{e}}}}}}}}}<!-- e=exponent
-->}}<!-- End Are there any arguments?
END MAIN OUTPUT
-->{{#if:{{{u|}}}|&nbsp;{{val/units|{{{u}}}}}}}<!-- u=units
 
-->{{#if:{{{ul|}}}|&nbsp;{{val/unitswithlink|{{{ul}}}}}}}<!-- u=units with link
START CLOSING BRACKET
-->{{#if:{{{up|}}}|/{{val/units|{{{up}}}}}}}<!-- up=per units
-->{{#if:{{{upl1|}}}|/{{val/unitswithlink|{{{upl}}}}}}}<!-- up=perAre unitsthere withany linkarguments?
-->{{#if:{s{{2|}}}|<!-- If s (suffix) isAre defined,there display2 it.arguments?
-->{{#if:{{{3|}}}|<!-- End Is arg "up"Are andthere "upl"3 specifiedarguments?
-->}}|<!-- EndThere Isare arg2, "u"but andnot "ul"3 specified?arguments
-->{{#if:{{#ifexpr:0{{{2}}}}}|<!-- EndSecond Isargument argis "up(number)"? specifiedYES, butdo not argcheck "u"?for bracket
-->}}|<!-- EndSecond Isargument argis "e(number)"? notNO, acheck validfor number?bracket
-->{{#if:{{{e|}}}|)<!-- End Is arg3there positivean exponent? YES, close bracket
-->}}<!-- End Is arg3 notis athere validan numberexponent?
-->}}<!-- End Is arg2 notis asecond validargument "(number)"?
-->}}<!-- end Are there 3 arguments?
-->}}<!-- end Are there 2 arguments?
-->}}<!-- end Are there any arguments?
END OPENING BRACKET
 
START EXPONENT
-->{{#if:{{{e|}}}<!-- Is there an exponent?
YES -->|{{#if:{{{1|}}}<!-- Are there any argument?
YES -->|<span style="margin-left:0.25em;margin-right:0.15em">×</span>10<sup>{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{e}}}}}</sup><!--
NO -->|10<sup>{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{e}}}}}</sup><!--
-->}}<!-- End are there any argument?<!--
-->}}<!-- End is there an exponent?
END EXPONENT
 
START UNITS
 
-->{{#if:{{{up|}}}{{{upl|}}}<!--
 
If there is a up or upl, put brackets around any u or ul with a slash.
 
-->|{{#if:{{{u|}}}|{{val/units|{{{u}}}|nbsp|(|)}}}}<!--
-->{{#if:{{{ul|}}}|{{val/unitswithlink|{{{ul}}}|nbsp|(|)}}}}<!--
 
Add the slash and after it put brackets around any up or upl with a dot or another slash.
 
-->{{#if:{{{up|}}}<!--
-->|{{val/units|{{{up}}}|#47|(|)|(|)}}<!--
-->|{{val/unitswithlink|{{{upl}}}|#47|(|)|(|)}}<!--
-->}}<!--
 
No brackets are needed if there is no up or upl, just add the non-breaking space.
 
-->|{{#if:{{{u|}}}|{{val/units|{{{u}}}|nbsp}}}}<!--
-->{{#if:{{{ul|}}}|{{val/unitswithlink|{{{ul}}}|nbsp}}}}<!--
-->}}<!--
-->{{{s|}}}<!-- If s (suffix) is defined, display it.
 
 
END UNITS
 
START CLOSING OF ERROR CHECKING
-->}}<!-- End Is arg "up" and "upl" specified?
-->}}<!-- End Is arg "u" and "ul" specified?
-->}}<!-- End Is arg "e" not a valid number?
-->}}<!-- End Is arg3 positive?
-->}}<!-- End Is arg3 not a valid number?
-->}}<!-- End Is arg2 not a valid number?
-->}}<!-- End Is arg1 not a valid number?
END ERROR CHECKING
--></span></includeonly><noinclude>
{{documentation}}
<!--PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS-->
</noinclude>
"https://or.wikipedia.org/wiki/ଛାଞ୍ଚ:Val"ରୁ ଅଣାଯାଇଅଛି