Template talk:Ifequal

From Wikipedia, the free encyclopedia

Template:Ifequal (edit talk links history)

[edit] Tests of current

  1. {{ifequal|a|b|c|d|E|E|g|h|i|j|k|L|L|n|o|p}} -- [5-6]
  2. {{ifequal|a|b|c|E|E|f|g|h|i|j|k|L|m|n|o|p}} -- []
  3. {{ifequal|A|A|c|d|E|E|g|h|i|j|k|L|L|n|o|p}} -- [5-61-2]
  4. {{ifequal|a|b|c|d|e|f|g|h|i|j|L|L|m|n|o|p}} -- [B-C]

[edit] tests2, above failing to detect equality

  1. {{ifequal|1|2|3|4|6|6|7|8|9|A|B|C|D|E|F|G}} -- [5-6]
the above subst'd

|

[edit] Post redesign as an OR test

Current
  1. an equality: {{#if:{{ifequal|1|2|3|4|6|6}}|True|False}} -- [True]
  2. inequality: {{{{#if:ifequal|1|2|3|4|5|6}}|True|False}} -- [False]

It's a wrap // FrankB 21:03, 27 March 2007 (UTC)