Template:Val: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SkyLined Updated invalid number error messages; included "or requires too much precision to display" |
meta>SkyLined m Removed superfluous </sup>, added more "white-space:nowrap;", change casing of </SPAN> |
||
| Line 30: | Line 30: | ||
-->{{#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="margin-left:0.3em;">{{su|w=f|<!-- Uncertainty = +X -Y (3 arguments) | --><span style="white-space:nowrap;margin-left:0.3em;">{{su|w=f|<!-- Uncertainty = +X -Y (3 arguments) | ||
-->p=+{{val/delimitnum|{{{2}}}}}|<!-- Output +arg2, formatted. | -->p=+{{val/delimitnum|{{{2}}}}}|<!-- Output +arg2, formatted. | ||
-->b={{val/delimitnum|{{{3}}}}}<!-- Output -arg3, formatted. | -->b={{val/delimitnum|{{{3}}}}}<!-- Output -arg3, formatted. | ||
| Line 36: | Line 36: | ||
-->|<!-- 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)"? | ||
--><span style="margin-left:0.3em;">{{{2}}}</ | --><span style="white-space:nowrap;margin-left:0.3em;">{{{2}}}</span><!-- Significance = (X) | ||
-->|<!-- Second argument is "(number)"? NO | -->|<!-- Second argument is "(number)"? NO | ||
--><span style="margin-left:0.3em; margin-right:0.15em">±</span>{{val/delimitnum|{{{2}}}}}<!-- Uncertainty = ±X | --><span style="white-space:nowrap;margin-left:0.3em;margin-right:0.15em">±</span>{{val/delimitnum|{{{2}}}}}<!-- Uncertainty = ±X | ||
-->}}<!-- End second argument is "(number)"? | -->}}<!-- End second argument is "(number)"? | ||
-->}}<!-- End Are there 3 arguments? | -->}}<!-- End Are there 3 arguments? | ||
-->}}<!-- End Are there 2 arguments? | -->}}<!-- End Are there 2 arguments? | ||
-->{{#if:{{{e|}}}|<span style="margin-left:0.3em; margin-right:0.15em">×</span>10{{su|p={{val/delimitnum|{{{e}}}}}}} | -->{{#if:{{{e|}}}|<span style="white-space:nowrap;margin-left:0.3em;margin-right:0.15em">×</span>10{{su|p={{val/delimitnum|{{{e}}}}}}}}}<!-- e=exponent | ||
-->{{#if:{{{u|}}}| {{val/units|{{{u}}}}}}}<!-- u=units | -->{{#if:{{{u|}}}| {{val/units|{{{u}}}}}}}<!-- u=units | ||
-->{{#if:{{{up|}}}|/{{val/units|{{{up}}}}}}}<!-- up=per units | -->{{#if:{{{up|}}}|/{{val/units|{{{up}}}}}}}<!-- up=per units | ||
Revision as of 08:25, 17 April 2008
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.