Template:Val: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jimp
(remove + & - from {{{2}}} & {{{3}}} & add + & −)
meta>Jimp
(notes)
Line 2: Line 2:
--><span class="nowrap"><!--
--><span class="nowrap"><!--
START ERROR CHECKING:
START ERROR CHECKING:
-->{{#iferror:{{#expr:{{{1|0}}}}}<!-- Is arg1 not a valid number?
                -->{{#iferror:{{#expr:{{{1|0}}}}}<!-- Is arg1 not a valid number?
  -->|{{FormattingError|Error in {{tl|val}}: first argument is not a valid number.|nocategory={{{nocategory|}}}}}<!--
arg1 isn't valid -->|{{FormattingError|Error in {{tl|val}}: first argument is not a valid number.|nocategory={{{nocategory|}}}}}<!--
  -->|{{#iferror:{{#expr:{{{2|0}}}}}<!-- Is arg2 not a valid number?
arg1 is    valid -->|{{#iferror:{{#expr:{{{2|0}}}}}<!-- Is arg2 not a valid number?
    -->|{{FormattingError|Error in {{tl|val}}: second argument is not a valid number.|nocategory={{{nocategory|}}}}}<!--
    arg2 isn't valid -->|{{FormattingError|Error in {{tl|val}}: second argument is not a valid number.|nocategory={{{nocategory|}}}}}<!--
    -->|{{#iferror:{{#expr:{{{3|0}}}}}<!-- Is arg3 not a valid number?
    arg2 is    valid -->|{{#iferror:{{#expr:{{{3|0}}}}}<!-- Is arg3 not a valid number?
      -->|{{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|}}}}}<!--
      -->|{{#ifexpr: {{{3|-1}}} > 0<!-- Is arg3 positive or -0?
        arg3 is    valid -->|{{#ifexpr: {{{3|-1}}} > 0<!-- Is arg3 positive or -0?
        -->|{{FormattingError|Error in {{tl|val}}: third argument is not negative.|nocategory={{{nocategory|}}}}}<!--
          arg3 is positive -->|{{FormattingError|Error in {{tl|val}}: third argument is not negative.|nocategory={{{nocategory|}}}}}<!--
        -->|{{#iferror:{{#expr:{{{e|0}}}}}<!-- Is arg "e" not a valid number?
          arg3 is negative -->|{{#iferror:{{#expr:{{{e|0}}}}}<!-- Is arg "e" not a valid number?
          -->|{{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|}}}}}<!--
          -->|{{#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?
              -->|{{FormattingError|Error in {{tl|val}}: unit ('''u''') and units with link ('''ul''') are both specified, only one is allowed.|nocategory={{{nocategory|}}}}}<!--
  "u"  & "ul"      both specified -->|{{FormattingError|Error in {{tl|val}}: unit ('''u''') and units with link ('''ul''') are both specified, only one is allowed.|nocategory={{{nocategory|}}}}}<!--
              -->|{{#ifeq:{{{up}}}{{{upl}}}|{{{up|}}}{{{upl|}}}<!-- Is arg "up" and "upl" specified?
  "u"  & "ul"  not both specified -->|{{#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.|nocategory={{{nocategory|}}}}}<!--
    "up" & "ulp"    both specified -->|{{FormattingError|Error in {{tl|val}}: unit per ('''up''') and units per with link ('''upl''') are both specified, only one is allowed.|nocategory={{{nocategory|}}}}}<!--
                -->|<!-- Is arg "up" and "upl" specified? NO
    "up" & "ulp" not both specified -->|<!--
END OPENING OF ERROR CHECKING, START OUTPUT
END OPENING OF ERROR CHECKING, START OUTPUT



Revision as of 18:23, 29 April 2015