Template:Linkshere: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
Mcint (talk | contribs)
create *powerful* page
 
Mcint (talk | contribs)
m add subpages template
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
Use this with <code><nowiki>{{linkshere}}</nowiki></code> to show what links to current page, in folded away section.
It is preferable to only include this template within a <code>[[noinclude]]'d</code> section of other pages, particularly if used in a template.
==[[onlyinclude]]==
<onlyinclude>
<onlyinclude>
<div class="mw-collapsible mw-collapsed">''[[Special:WhatLinksHere/{{FULLPAGENAME}}]]:''
<div class="mw-collapsible mw-collapsed">''[{{fullurl:Special:WhatLinksHere/{{FULLPAGENAME}}}} <small>Special:WhatLinksHere/</small>{{FULLPAGENAME}}] (<small><code>{{[[template:linksheret|<nowiki>linkshere</nowiki>]]}}</code> <small>[[Template:LinkshereAllNS|A]]·[[Template:LinkshereMainNS|M]]·[[Template:LinkshereCategoryNS|C]]·[[Template:LinkshereTemplateNS|T]]</small></small>):''
<div class="mw-collapsible-content"><blockquote>{{Special:WhatLinksHere/{{FULLPAGENAME}}}}</blockquote></div></div>
<div class="mw-collapsible-content"><blockquote>{{Special:WhatLinksHere/{{FULLPAGENAME}}}}</blockquote></div></div>
</onlyinclude>
</onlyinclude>


Use this with <code><nowiki>{{links}}</nowiki></code> to show what links to current page, in folded away section.
==Subpages==
{{subpages}}
 
==TODO==
Allow calling this template with arguments, e.g. <code><nowiki>{{linkshere|template:t}}</nowiki></code> to allow links to specific pages to be shown with 1) link to search 2) list of links, in 3) collapsed-default collapsible form. {{todo}}

Latest revision as of 20:43, 30 November 2025

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.

Special:WhatLinksHere/Template:Linkshere ({{linkshere}} A·M·C·T):


Subpages

[edit source]

Special:PrefixIndex/Template:Linkshere/:

Allow calling this template with arguments, e.g. {{linkshere|template:t}} to allow links to specific pages to be shown with 1) link to search 2) list of links, in 3) collapsed-default collapsible form. Category:Wiki/Todo