Template:Val: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SkyLined m Added ul and upl argument and error checks |
meta>SkyLined m Fixed EndIf part of new error checks and inline documentation |
||
| Line 28: | Line 28: | ||
-->{{FormattingError|Error in {{tl|val}}: unit (u) and units with link (ul) are both specified, only one is allowed.}}<!-- | -->{{FormattingError|Error in {{tl|val}}: unit (u) and units with link (ul) are both specified, only one is allowed.}}<!-- | ||
-->|<!-- Is arg "u" and "ul" specified? NO | -->|<!-- Is arg "u" and "ul" specified? NO | ||
-->{{#ifeq:{{{up}}}{{{upl}}}|{{{up|}}}{{{upl|}}}|<!-- Is arg " | -->{{#ifeq:{{{up}}}{{{upl}}}|{{{up|}}}{{{upl|}}}|<!-- Is arg "up" and "upl" specified? | ||
-->{{FormattingError|Error in {{tl|val}}: unit per (up) and units per with link (upl) are both specified, only one is allowed.}}<!-- | -->{{FormattingError|Error in {{tl|val}}: unit per (up) and units per with link (upl) are both specified, only one is allowed.}}<!-- | ||
-->|<!-- Is arg "up" and "upl" specified? NO | -->|<!-- Is arg "up" and "upl" specified? NO | ||
| Line 54: | Line 54: | ||
-->{{#if:{{{upl|}}}|/{{val/unitswithlink|{{{upl}}}}}}}<!-- up=per units with link | -->{{#if:{{{upl|}}}|/{{val/unitswithlink|{{{upl}}}}}}}<!-- up=per units with link | ||
-->{{{f|}}}<!-- f=Footer | -->{{{f|}}}<!-- f=Footer | ||
--> | -->}}<!-- End Is arg "up" and "upl" specified? | ||
--> | -->}}<!-- End Is arg "u" and "ul" specified? | ||
-->}}<!-- End Is arg "up" specified but not arg "u"? | -->}}<!-- End Is arg "up" specified but not arg "u"? | ||
-->}}<!-- End Is arg "e" not a valid number? | -->}}<!-- End Is arg "e" not a valid number? | ||
Revision as of 19:54, 22 April 2008
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.