Difference between revisions of "Template:Link if equal/doc"
Jump to navigation
Jump to search
imported>Petr Matas (→See also: +1) |
imported>Petr Matas (more specific category) |
||
| Line 12: | Line 12: | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | [[Category: | + | [[Category:Conditional link templates]] |
}}</includeonly> | }}</includeonly> | ||
Revision as of 02:37, 21 October 2014
| This is a documentation subpage for Template:Link if equal. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{Link if equal|string1|string2|link|caption}} gives
- "caption" (i.e. a link) if
string1andstring2are 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}}