Template:Val: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Mr. Stradivarius m Changed protection level of Template:Val: Highly visible template: 1,700 transclusions; see also Wikipedia:Templates for discussion/Log/2014 February 7#Template:Val2 ([Edit=Allow only autoconfirmed users] (indefinite) [Move= |
meta>Edokter Swicth to body font with kerning disabled by use of font-feature-settings (from /sandbox) |
||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><span | --><span class="digits nowrap"><!-- | ||
START ERROR CHECKING: | START ERROR CHECKING: | ||
-->{{#ifeq:{{valid|number={{{1|0}}}}}|false|<!-- Is arg1 not a valid number? | -->{{#ifeq:{{valid|number={{{1|0}}}}}|false|<!-- Is arg1 not a valid number? | ||
| Line 47: | Line 47: | ||
-->{{#if: {{{3|}}}|<!-- Are there 3 arguments? | -->{{#if: {{{3|}}}|<!-- Are there 3 arguments? | ||
-->{{val/angle|{{{u}}}|{{{ul}}}}}<!-- Uncertainty = +X/-Y | -->{{val/angle|{{{u}}}|{{{ul}}}}}<!-- Uncertainty = +X/-Y | ||
--><span style=" | --><span style="margin-left:0.3em;">{{su|<!-- | ||
-->w= | -->w={{{w|}}}|a={{{a|r}}}|<!-- Option fixed width, default 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. | ||
| Line 56: | Line 56: | ||
-->{{{2}}}{{val/angle|{{{u}}}|{{{ul}}}}}<!-- Significance = (X) | -->{{{2}}}{{val/angle|{{{u}}}|{{{ul}}}}}<!-- Significance = (X) | ||
-->|<!-- Second argument is "(number)"? NO | -->|<!-- Second argument is "(number)"? NO | ||
-->{{val/angle|{{{u}}}|{{{ul}}}}}<span style=" | -->{{val/angle|{{{u}}}|{{{ul}}}}}<span style="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 3 arguments? | ||
| Line 82: | Line 82: | ||
-->{{#if:{{{e|}}}<!-- Is there an exponent? | -->{{#if:{{{e|}}}<!-- Is there an exponent? | ||
YES -->|{{#if:{{{1|}}}<!-- Are there any argument? | YES -->|{{#if:{{{1|}}}<!-- Are there any argument? | ||
YES -->|<span style=" | 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><!-- | NO -->|10<sup>{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{e}}}}}</sup><!-- | ||
-->}}<!-- End are there any argument?<!-- | -->}}<!-- End are there any argument?<!-- | ||
Revision as of 12:09, 26 February 2014
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.