Difference between revisions of "Template:Link if not current/doc"
Jump to navigation
Jump to search
imported>Epicgenius (←Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> == Usage == *Parameter 1 is necessary, as it is the l...') |
imported>Petr Matas (moving category from main page) |
||
| Line 8: | Line 8: | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
<!-- Categories go here and interwikis go in Wikidata. --> | <!-- Categories go here and interwikis go in Wikidata. --> | ||
| − | + | [[Category:Internal link templates]] | |
}}</includeonly> | }}</includeonly> | ||
Revision as of 02:05, 21 October 2014
| File:Edit-copy green.svg | This is a documentation subpage for Template:Link if not current. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- Parameter 1 is necessary, as it is the link. To avoid self-linking, the parameter is unlinked if the name of the input in parameter 1 is the same as the name of the page's title.
- Parameter 2 is optional, and it is the text that is displayed over the link. If parameter 2 doesn't exist, it defaults to parameter 1.