조무위키
조무위키
둘러보기
대문
최근 바뀜
임의의 문서로
미디어위키 도움말
도구
여기를 가리키는 문서
가리키는 글의 최근 바뀜
특수 문서 목록
문서 정보
행위
틀
토론
편집
역사 보기
틀
Val
편집하기
경고:
로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다.
로그인
하거나
계정을 생성하면
편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.
스팸 방지 검사입니다. 이것을 입력하지
마세요
!
<includeonly><!-- --><span class="nowrap"><!-- START ERROR CHECKING: -->{{#ifeq:{{valid|number={{{1|0}}}}}|false|<!-- Is arg1 not a valid number? -->{{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|<!-- Is arg2 not a valid number? -->{{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|<!-- Is arg3 not a valid number? -->{{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 -->{{#ifeq:{{valid|number={{{e|0}}}}}|false|<!-- Is arg "e" not a valid number? -->{{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}}}|{{{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|}}}}}<!-- -->|<!-- Is arg "u" and "ul" specified? NO -->{{#ifeq:{{{up}}}{{{upl}}}|{{{up|}}}{{{upl|}}}|<!-- Is arg "up" and "upl" specified? -->{{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 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 -->{{#ifeq:{{{sortable}}}|off||{{val/sortkey|{{{sortval|{{{1|1}}}}}}|e={{{e|0}}}|u={{{us|{{{u|{{{ul|}}}}}}}}}|up={{{ups|{{{up|{{{upl|}}}}}}}}}|ls={{{long scale}}}}}}}<!-- hidden sort key based on the SI base unit(s) -->{{{p|}}}<!-- If p (prefix) is defined, display it. -->{{#if: {{{1|}}}|<!-- Are there any arguments? -->{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{1|}}}|u={{{u|{{{ul}}}}}}}}<!-- Output arg1, formatted. -->{{{end|}}}<!-- -->{{#if: {{{2|}}}|<!-- Are there 2 or more arguments? -->{{#if: {{{3|}}}|<!-- Are there 3 arguments? There are three arguments. -->{{val/angle|{{{u}}}|{{{ul}}}}}<!-- Uncertainty = +X/-Y --><span style="margin-left:0.3em;">{{su|<!-- -->w={{{w|}}}|a={{{a|r}}}|<!-- Option fixed width, default right aligned -->p=+{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}<!-- Output +arg2, formatted. -->{{{+errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}|<!-- Append something and/or add angle/percent symbol. -->b={{#ifexpr: {{{3}}} = 0|−}}{{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 or more arguments? -->}}<!-- End Are there any arguments? END MAIN OUTPUT START CLOSING 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, close 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 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|(|)|ls={{{long scale}}}}}}}<!-- 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|(|)|(|)|ls={{{long scale}}}}}<!-- -->}}<!-- 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|ls={{{long scale}}}}}}}<!-- -->}}<!-- -->{{{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>{{설명문서}}</noinclude>
요약:
조무위키에서의 모든 기여는 CC BY-SA 4.0 라이선스로 배포된다는 점을 유의해 주세요(자세한 내용에 대해서는
조무위키:저작권
문서를 읽어주세요). 만약 여기에 동의하지 않는다면 문서를 저장하지 말아 주세요.
또한, 직접 작성했거나 퍼블릭 도메인과 같은 자유 문서에서 가져왔다는 것을 보증해야 합니다.
저작권이 있는 내용을 허가 없이 저장하지 마세요!
취소
편집 도움말
(새 창에서 열림)
이 문서에서 사용한 틀:
틀:내용
(
편집
)
틀:미리싣기
(
편집
)
틀:보호-메타
(
편집
)
틀:보호-틀
(
편집
)
틀:설명문서
(
편집
)
틀:설명문서/설명공간
(
편집
)
틀:설명문서/시작상자
(
편집
)
틀:설명문서/시작상자2
(
편집
)
틀:설명문서/틀문서
(
편집
)
틀:연결상자
(
편집
)