Template:Val: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jimp
no space for ° ' or "
meta>Jimp
angles repeated
Line 49: Line 49:
                   -->{{#if: {{{2|}}}|<!-- Are there 2 or more arguments?
                   -->{{#if: {{{2|}}}|<!-- Are there 2 or more arguments?
                     -->{{#if: {{{3|}}}|<!-- Are there 3 arguments?
                     -->{{#if: {{{3|}}}|<!-- Are there 3 arguments?
                       --><span style="white-space:nowrap;margin-left:0.3em;">{{su|<!-- Uncertainty = +X -Y (3 arguments)
                       -->{{val/angle|{{{u}}}|{{{ul}}}}}<span style="white-space:nowrap;margin-left:0.3em;">{{su|<!-- Uncertainty = +X -Y (3 arguments)
                         -->w=f|a=r|<!-- Fixed width, right aligned
                         -->w=f|a=r|<!-- Fixed width, right aligned
                         -->p=+{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}{{{+errend|}}}|<!-- Output +arg2, formatted.
                         -->p=+{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}{{val/angle|{{{u|{{{ul}}}}}}}}{{{+errend|}}}|<!-- Output +arg2, formatted.
                         -->b={{val/delimitnum|fmt={{{fmt|gaps}}}|{{{3}}}}}{{{-errend|}}}<!-- Output -arg3, formatted.
                         -->b={{val/delimitnum|fmt={{{fmt|gaps}}}|{{{3}}}}}{{val/angle|{{{u|{{{ul}}}}}}}}{{{-errend|}}}<!-- Output -arg3, formatted.
                       -->}}</span><!--
                       -->}}</span><!--
                     -->|<!-- Are there 3 arguments? NO
                     -->|<!-- Are there 3 arguments? NO
                       -->{{#if:{{#ifexpr: 0{{{2}}}}}|<!-- Second argument is "(number)"?
                       -->{{#if:{{#ifexpr: 0{{{2}}}}}|<!-- Second argument is "(number)"?
                         -->{{{2}}}<!-- Significance = (X)
                         -->{{{2}}}{{val/angle|{{{u}}}|{{{ul}}}}}<!-- Significance = (X)
                       -->|<!-- Second argument is "(number)"? NO
                       -->|<!-- Second argument is "(number)"? NO
                         --><span style="white-space:nowrap;margin-left:0.3em;margin-right:0.15em">±</span>{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}{{{errend|}}}<!-- Uncertainty = ±X
                         -->{{val/angle|{{{u}}}|{{{ul}}}}}<span style="white-space:nowrap;margin-left:0.3em;margin-right:0.15em">±</span>{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}{{val/angle|{{{u|{{{ul}}}}}}}}{{{errend|}}}<!-- Uncertainty = ±X
                       -->}}<!-- End second argument is "(number)"?
                       -->}}<!-- End second argument is "(number)"?
                     -->}}<!-- End Are there 3 arguments?
                     -->}}<!-- End Are there 3 arguments?

Revision as of 13:23, 11 February 2014