Template:Nwlh/doc: Difference between revisions
Bongolium500 (talk | contribs) No edit summary |
Bongolium500 (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
: <tt><nowiki>{{nwlh|{{da|Campaign (unproduced novel)}}}}</nowiki></tt> → {{nwlh|{{da|Campaign (unproduced novel)}}}} | : <tt><nowiki>{{nwlh|{{da|Campaign (unproduced novel)}}}}</nowiki></tt> → {{nwlh|{{da|Campaign (unproduced novel)}}}} | ||
This template works by converting the internal wikilinks to external links. Hence, to search for links using this template, [[Special:LinkSearch]] can be used. | |||
This template uses [[Module:Non-WLH link]]. | This template uses [[Module:Non-WLH link]]. | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 19:14, 1 July 2023
{{nwlh}} (short for Non-WhatLinksHere) is a template that causes the link passed to it to not display in Special:WhatLinksHere. This can be useful to stop links included in certain templates from flooding the special page, making it unuseable. It also makes the links harder to detect in an automated fashion, however, so should be used judiciously. As such, it should primarily be used in other templates. Usage is very simple. Simply use the template as a wrapper around a normal link.
- {{nwlh|[[page name|optional display text]]}}
For example:
- {{nwlh|[[Rose (TV story)|Rose]]}} → Rose
- {{nwlh|[[The Doctor|Dr Who]]}} → Dr Who
- {{nwlh|[[The Master]]}} → The Master
You can also combine it with other templates like {{da}}:
- {{nwlh|{{da|Campaign (unproduced novel)}}}} → Campaign
This template works by converting the internal wikilinks to external links. Hence, to search for links using this template, Special:LinkSearch can be used.
This template uses Module:Non-WLH link.