Template:Link if equal
Revision as of 23:50, 20 October 2014 by imported>Petr Matas (←Created page with '{{#ifeq:{{{1|}}}|{{{2|}}}|[[{{{3}}}|{{{4}}}]]|{{{4}}}}}<noinclude> {{Documentation}} </noinclude>')
[[{{{3}}}|{{{4}}}]]
Usage
{{Link if equal|string1|string2|link|caption}}
gives
- "caption" (i.e. a link) if
string1
andstring2
are equal, - "caption" (i.e. no link) if they are not.
See also
- {{Link if not equal}} – a template with an opposite behavior
- {{Link if exists}}
- {{Link if not current}}
The above documentation is transcluded from Template:Link if equal/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |