Template:Val: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SkyLined m Added h argument |
meta>SkyLined Removed u=%, added f argument, changed white-space to pre and changed to spaces |
||
| Line 5: | Line 5: | ||
Normally, the code for the template is included, but this template is too complex to do that. | Normally, the code for the template is included, but this template is too complex to do that. | ||
--></noinclude><includeonly><!-- | --></noinclude><includeonly><!-- | ||
--><span style="white-space: | --><span style="white-space:pre"><!-- | ||
START ERROR CHECKING: | START ERROR CHECKING: | ||
-->{{#if: {{{n|}}}|<!-- Is there an argument "n"? | -->{{#if: {{{n|}}}|<!-- Is there an argument "n"? | ||
| Line 29: | Line 29: | ||
-->|<!-- Is arg "e" not a valid number? NO | -->|<!-- Is arg "e" not a valid number? NO | ||
END ERROR CHECKING, START OUTPUT | END ERROR CHECKING, START OUTPUT | ||
-->{{{h|}}}{{val/delimitnum|{{{1|}}}}}<!-- Output arg1, formatted. | -->{{{h|}}}<!-- h=Header | ||
-->{{val/delimitnum|{{{1|}}}}}<!-- Output arg1, formatted. | |||
-->{{#if: {{{2|}}}|<!-- Are there 2 or more arguments? | -->{{#if: {{{2|}}}|<!-- Are there 2 or more arguments? | ||
--> | --> <!-- space | ||
-->{{#if: {{{3|}}}|<!-- Are there 3 arguments? | -->{{#if: {{{3|}}}|<!-- Are there 3 arguments? | ||
-->{{su|w=f|<!-- Uncertainty = +X -Y (3 arguments) | -->{{su|w=f|<!-- Uncertainty = +X -Y (3 arguments) | ||
| Line 41: | Line 42: | ||
-->{{{2}}}<!-- Significance = (X) | -->{{{2}}}<!-- Significance = (X) | ||
-->|<!-- Second argument is "(number)"? NO | -->|<!-- Second argument is "(number)"? NO | ||
-->± | -->± {{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|}}}| | -->{{#if:{{{e|}}}| × 10{{su|p={{val/delimitnum|{{{e}}}}}}}</sup>}}<!-- e=exponent | ||
-->{{#if:{{{u|}}}| {{ScientificValue/units|{{{u}}}}}}}<!-- u=units | |||
-->{{{f|}}}<!-- f=Footer | |||
-->}}<!-- | |||
-->}}<!-- End Is arg "e" not a valid number? | -->}}<!-- End Is arg "e" not a valid number? | ||
-->}}<!-- End Is arg3 positive? | -->}}<!-- End Is arg3 positive? | ||
Revision as of 13:48, 15 April 2008
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.