Template:Val: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jimp notes |
meta>Jimp error for -ve {{{2}}} rather than +ve {{{3}}}. See Template_talk:Val#Bug: val can't do zero negative uncertainties. |
||
| Line 8: | Line 8: | ||
arg2 is valid -->|{{#iferror:{{#expr:{{{3|0}}}}}<!-- Is arg3 not a valid number? | arg2 is valid -->|{{#iferror:{{#expr:{{{3|0}}}}}<!-- Is arg3 not a valid number? | ||
arg3 isn't valid -->|{{FormattingError|Error in {{tl|val}}: third argument is not a valid number.|nocategory={{{nocategory|}}}}}<!-- | arg3 isn't valid -->|{{FormattingError|Error in {{tl|val}}: third argument is not a valid number.|nocategory={{{nocategory|}}}}}<!-- | ||
arg3 is valid -->|{{#ifexpr: {{{ | arg3 is valid -->|{{#ifexpr: {{{2|0}}} < 0<!-- Is arg2 negative? | ||
arg2 is negative -->|{{FormattingError|Error in {{tl|val}}: second argument is negative.|nocategory={{{nocategory|}}}}}<!-- | |||
arg2 is positive -->|{{#iferror:{{#expr:{{{e|0}}}}}<!-- Is arg "e" not a valid number? | |||
"e" isn't valid -->|{{FormattingError|Error in {{tl|val}}: exponent ('''e''') is not a valid number.|nocategory={{{nocategory|}}}}}<!-- | "e" isn't valid -->|{{FormattingError|Error in {{tl|val}}: exponent ('''e''') is not a valid number.|nocategory={{{nocategory|}}}}}<!-- | ||
"e" is valid -->|{{#ifeq:{{{u}}}{{{ul}}}|{{{u|}}}{{{ul|}}}<!-- Is arg "u" and "ul" specified? | "e" is valid -->|{{#ifeq:{{{u}}}{{{ul}}}|{{{u|}}}{{{ul|}}}<!-- Is arg "u" and "ul" specified? | ||
| Line 142: | Line 142: | ||
-->}}<!-- End Is arg "u" and "ul" specified? | -->}}<!-- End Is arg "u" and "ul" specified? | ||
-->}}<!-- End Is arg "e" not a valid number? | -->}}<!-- End Is arg "e" not a valid number? | ||
-->}}<!-- End Is | -->}}<!-- End Is arg2 negative? | ||
-->}}<!-- End Is arg3 not a valid number? | -->}}<!-- End Is arg3 not a valid number? | ||
-->}}<!-- End Is arg2 not a valid number? | -->}}<!-- End Is arg2 not a valid number? | ||
Revision as of 09:50, 30 April 2015
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.