Template:Ifequal

From Wikiversity

Jump to: navigation, search
Note page has hidden operative code when viewed directly.
Version at a glance for M:TSP [ Template: ifequal ]

Template tests up to eight pairs of input parameters with #ifeq, and returns TRUE if any match.
datestamp and programmer Version Origin Change Description
FrankB 05:40, 22 May 2007 (UTC) Ver: 0c Wikipedia (Finish WPTSP version table.)
FrankB 05:16, 22 May 2007 Ver: 0b Wikipedia (2,674 bytes) ({subst:WPTSP version} + restore interwiki cat logic from the commons copy.)
Kevinkor2 00:55, 2 April 2007 Ver: 0a Wikipedia (m) (recat deleted --category:Miscellaneous templates)
FrankB 20:56, 27 March 2007 Ver: 0 Wikipedia (m) (typo fix -- Completed and working version en.wp and the commons.)

FrankB 20:56, 27 March 2007 Ver: _e Wikipedia (Think this will do it--culmination of multistep construction, grooming, and testing.)
FrankB 20:10, 27 March 2007 Ver:_ Wikipedia (Genesis for multicriteria tests)


Similar templates at English sister projects [edit]
Wikipedia-logo.png wpd Wikipedia Ifequal
Commons-logo.svg cms Commons Ifequal
Wikibooks-logo.svg wbk Wikibooks Ifequal
Wikispecies-logo.svg wsp Wikispecies Ifequal
Wikiversity-logo.svg wvy Wikiversity Ifequal
This template is used to extend the parser function '#ifeq:' to multiple tests.


This template takes upto eight pairs of arguments (numbered parameters), tests the odd verus the even, and returns true if any pair matches using the parser function '#ifeq:'.


This can be used to test for criteria which may be satisfied by some combination of mulitple magic words, such as {{SITENAME}} or {{PAGENAME}}.