Template:Val: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SkyLined Updated checks to use {{valid|number=...}} and fixed small error in inline comment. |
meta>SkyLined Updated invalid number error messages; included "or requires too much precision to display" |
||
| Line 8: | Line 8: | ||
START ERROR CHECKING: | START ERROR CHECKING: | ||
-->{{#ifeq:{{valid|number={{{1}}}}}|false|<!-- Is arg1 not a valid number? | -->{{#ifeq:{{valid|number={{{1}}}}}|false|<!-- Is arg1 not a valid number? | ||
-->{{FormattingError|Error in {{tl|val}}: first argument is not a valid number.}}<!-- | -->{{FormattingError|Error in {{tl|val}}: first argument is not a valid number or requires too much precision to display.}}<!-- | ||
-->|<!-- Is arg1 not a valid number? NO | -->|<!-- Is arg1 not a valid number? NO | ||
-->{{#ifeq:{{valid|number={{{2|0}}}}}|false|<!-- Is arg2 not a valid number? | -->{{#ifeq:{{valid|number={{{2|0}}}}}|false|<!-- Is arg2 not a valid number? | ||
-->{{FormattingError|Error in {{tl|val}}: second argument is not a valid number.}}<!-- | -->{{FormattingError|Error in {{tl|val}}: second argument is not a valid number or requires too much precision to display.}}<!-- | ||
-->|<!-- Is arg2 not a valid number? NO | -->|<!-- Is arg2 not a valid number? NO | ||
-->{{#ifeq:{{valid|number={{{3|0}}}}}|false|<!-- Is arg3 not a valid number? | -->{{#ifeq:{{valid|number={{{3|0}}}}}|false|<!-- Is arg3 not a valid number? | ||
-->{{FormattingError|Error in {{tl|val}}: third argument is not a valid number.}}<!-- | -->{{FormattingError|Error in {{tl|val}}: third argument is not a valid number or requires too much precision to display.}}<!-- | ||
-->|<!-- Is arg3 not a valid number? NO | -->|<!-- Is arg3 not a valid number? NO | ||
-->{{#ifexpr: {{{3|-1}}} >= 0|<!-- Is arg3 positive? | -->{{#ifexpr: {{{3|-1}}} >= 0|<!-- Is arg3 positive? | ||
| Line 20: | Line 20: | ||
-->|<!-- Is arg3 positive? NO | -->|<!-- Is arg3 positive? NO | ||
-->{{#ifeq:{{valid|number={{{e|0}}}}}|false|<!-- Is arg "e" not a valid number? | -->{{#ifeq:{{valid|number={{{e|0}}}}}|false|<!-- Is arg "e" not a valid number? | ||
-->{{FormattingError|Error in {{tl|val}}: exponent (e) is not a valid number.}}<!-- | -->{{FormattingError|Error in {{tl|val}}: exponent (e) is not a valid number or requires too much precision to display.}}<!-- | ||
-->|<!-- Is arg "e" not a valid number? NO | -->|<!-- Is arg "e" not a valid number? NO | ||
-->{{#ifeq:{{{u|{{{up|}}}}}}|{{{up}}}|<!-- Is arg "up" specified but not arg "u"? | -->{{#ifeq:{{{u|{{{up|}}}}}}|{{{up}}}|<!-- Is arg "up" specified but not arg "u"? | ||
Revision as of 17:20, 16 April 2008
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.