Difference between revisions of "Template:Link if equal/doc"
Jump to navigation
Jump to search
imported>Petr Matas (more specific category) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 10: | Line 10: | ||
* {{tl|Link if not current}} | * {{tl|Link if not current}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Conditional link templates]] | [[Category:Conditional link templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 00:02, 26 April 2020
| 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}}