Template:Nwlh/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
'''{{tlx|nwlh}}''' (short for '''N'''on-[[Special:WhatLinksHere|'''W'''hat'''L'''inks'''H'''ere]]) 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 very hard 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.
'''{{tlx|nwlh}}''' (short for '''N'''on-[[Special:WhatLinksHere|'''W'''hat'''L'''inks'''H'''ere]]) 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.
: <tt><nowiki>{{nwlh|[[page name|optional display text]]}}</nowiki></tt>
: <tt><nowiki>{{nwlh|[[page name|optional display text]]}}</nowiki></tt>
For example:
For example:
Line 7: Line 7:
You can also combine it with other templates like {{tlx|da}}:
You can also combine it with other templates like {{tlx|da}}:
: <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)}}}}
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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.