Template:Ifeqnw
Template documentation
This template is a variation of Template:Ifeq. Because of the limitation mentioned below that other template is preferable. This template Ifeqnw is just a demo.
Examples
{{ifeqnw|x|x| p | q }}
gives " p "{{ifeqnw|x|y| p | q }}
gives " q "
Limitation
The expanded wikitext contains dummy nowiki tags. This affects any subsequent string comparison:
{{#ifeq:{{ifeqnw|x|x|p}}|p|1|0}}
gives 0
Compare:
{{#ifeq:{{ifeq|x|x|p}}|p|1|0}}
gives 1
Also the tags clutter the wikitext resulting from substitution:
{{subst:ifeqnw|x|x|p}
gives the wikitext<nowiki/>p<nowiki/>