Template:Link if not equal
Revision as of 00:03, 21 October 2014 by imported>Petr Matas (←Created page with '{{#ifeq:{{{1|}}}|{{{2|}}}|{{{4}}}|[[{{{3}}}|{{{4}}}]]}}<noinclude> {{Documentation}} </noinclude>')
{{{4}}}
Usage
{{Link if not equal|string1|string2|link|caption}}
gives
- "caption" (i.e. a link) if
string1
andstring2
are not equal, - "caption" (i.e. no link) if they are.
See also
- {{Link if equal}} – a template with an opposite behavior
- {{Bold link if not equal}} – when a link is produced, it is also bold
The above documentation is transcluded from Template:Link if not 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. |