Template:Val: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SkyLined Reverted to revision 602472278 by Kwamikagami (talk): Undo incorrect fix before applying correct fix. (TW) |
meta>SkyLined Another attempt at allowing 0 as third argument |
||
| Line 11: | Line 11: | ||
-->{{FormattingError|Error in {{tl|val}}: third argument is not a valid number or requires too much precision to display.|nocategory={{{nocategory|}}}}}<!-- | -->{{FormattingError|Error in {{tl|val}}: third argument is not a valid number or requires too much precision to display.|nocategory={{{nocategory|}}}}}<!-- | ||
-->|<!-- Is arg3 not a valid number? NO | -->|<!-- Is arg3 not a valid number? NO | ||
-->{{#ifexpr: {{{3|-1}}} > | -->{{#ifexpr: {{{3|-1}}} > 0|<!-- Is arg3 positive? | ||
-->{{FormattingError|Error in {{tl|val}}: third argument is not negative.|nocategory={{{nocategory|}}}}}<!-- | -->{{FormattingError|Error in {{tl|val}}: third argument is not negative.|nocategory={{{nocategory|}}}}}<!-- | ||
-->|<!-- Is arg3 positive? NO | -->|<!-- Is arg3 positive? NO | ||
| Line 59: | Line 59: | ||
-->p=+{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}<!-- | -->p=+{{val/delimitnum|fmt={{{fmt|gaps}}}|{{{2}}}}}<!-- | ||
Output +arg2, formatted. | Output +arg2, formatted. | ||
-->{{{+errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}|<!-- | |||
Append something and/or add angle/percent symbol. | Append something and/or add angle/percent symbol. | ||
-->{{#ifexpr: {{{3|-1}}} = 0|<!-- | |||
-->b={{val/delimitnum|fmt={{{fmt|gaps}}}|{{{3}}}}}<!-- | -->−0<!-- | ||
-0 is a special case. | |||
-->|<!-- | |||
-->b={{val/delimitnum|fmt={{{fmt|gaps}}}|{{{3}}}}}<!-- | |||
Output -arg3, formatted. | Output -arg3, formatted. | ||
-->}}<!-- | |||
-->{{{-errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}<!-- | -->{{{-errend|}}}{{val/angle|{{{u|{{{ul}}}}}}}}<!-- | ||
Append something and/or add angle/percent symbol. | Append something and/or add angle/percent symbol. | ||
Revision as of 18:24, 24 August 2014
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.