Template:Linkshere: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
m (clarify use limitations)
m (→‎onlyinclude: add code block)
Line 6: Line 6:
<onlyinclude>
<onlyinclude>
<div class="mw-collapsible mw-collapsed">''[[Special:WhatLinksHere/{{FULLPAGENAME}}]] (<code>{{[[template:linkshere|<nowiki>linkshere</nowiki>]]}}</code>):''
<div class="mw-collapsible mw-collapsed">''[[Special:WhatLinksHere/{{FULLPAGENAME}}]] (<code>{{[[template:linkshere|<nowiki>linkshere</nowiki>]]}}</code>):''
<div class="mw-collapsible-content"><blockquote>{{Special:WhatLinksHere/{{FULLPAGENAME}}}}</blockquote></div></div>
<div class="mw-collapsible-content"><blockquote>{{Special:WhatLinksHere/{{FULLPAGENAME}}}}<code><nowiki>(<code>{{[[template:linkshere|<nowiki...>linkshere</nowiki...>]]}}</code>)</nowiki></code></blockquote></div></div>
</onlyinclude>
</onlyinclude>

Revision as of 12:35, 9 August 2024

Use this with {{linkshere}} to show what links to current page, in folded away section.

It is preferable to only include this template within a noinclude'd section of other pages, particularly if used in a template.

onlyinclude

Special:WhatLinksHere/Template:Linkshere ({{linkshere}}):

(<code>{{[[template:linkshere|<nowiki...>linkshere</nowiki...>]]}}</code>)