Template:Val: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jimp No edit summary |
meta>Headbomb fix angle logic |
||
| Line 46: | Line 46: | ||
-->{{{p|}}}<!-- If p (prefix) is defined, display it. | -->{{{p|}}}<!-- If p (prefix) is defined, display it. | ||
-->{{#if: {{{1|}}}|<!-- Are there any arguments? | -->{{#if: {{{1|}}}|<!-- Are there any arguments? | ||
-->{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{1|}}}}}{{{end|}}}<!-- Output arg1, formatted. | |||
-->{{#if: {{{2|}}}|<!-- Are there 2 or more arguments? | -->{{#if: {{{2|}}}|<!-- Are there 2 or more arguments? | ||
-->{{#if: {{{3|}}}|<!-- Are there 3 arguments? | |||
-->{{val/angle|{{{u}}}|{{{ul}}}}}<!-- Uncertainty = +X/-Y | |||
--><span style="white-space:nowrap;margin-left:0.3em;">{{su|<!-- | |||
-->w=f|a=r|<!-- Fixed width, right aligned | -->w=f|a=r|<!-- Fixed width, right aligned | ||
-->p=+{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}{{{+errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}|<!-- Output +arg2, formatted. | -->p=+{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}{{{+errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}|<!-- Output +arg2, formatted. | ||
-->b={{val/delimitnum|fmt={{{fmt|gaps}}}|{{{3}}}}}{{{-errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}<!-- Output -arg3, formatted. | -->b={{val/delimitnum|fmt={{{fmt|gaps}}}|{{{3}}}}}{{{-errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}<!-- Output -arg3, formatted. | ||
-->}}</span><!-- End Uncertainty = +X/-Y | |||
-->|<!-- 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)"? | ||
| Line 60: | Line 61: | ||
-->{{val/angle|{{{u}}}|{{{ul}}}}}<span style="white-space:nowrap;margin-left:0.3em;margin-right:0.15em">±</span>{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}{{{errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}<!-- 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}}}}}{{{errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}<!-- Uncertainty = ±X | ||
-->}}<!-- End second argument is "(number)"? | -->}}<!-- End second argument is "(number)"? | ||
-->}}<!-- End Are there 3 arguments? | |||
-->}}<!-- End Are there 2 arguments? | 2 arguments? No -->|{{val/angle|{{{u}}}|{{{ul}}}}}<!-- | ||
-->}}<!-- End Are there 2 or more arguments? | |||
-->}}<!-- End Are there any arguments? | |||
END MAIN OUTPUT | END MAIN OUTPUT | ||
Revision as of 23:52, 11 February 2014
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.