Template:LinkshereTemplateNS
Based on the success of Template:linkshere, I want to create templates to easily invoke showing lists of Template (ns=10) and Main (ns=0) pages that link to the surrounding, or argument-specified page. Wiki/Todo namespace list for newbies
- Template:linkshere -- (all)
{{linkshere}}--> perhaps just main, be sure to include links / or embed the alt search links into the render - Template:linkshereA -- linkshere all
- Template:linkshereT -- linkshere Template
{{linksheret}}{{linkshereT}}{{linkshere/t}} - Template:linkshereM -- linkshere Main
- Template:linkshereC -- linkshere Category
{{linksherec}}{{linkshereC}}{{linkshere/c}} - linkshere talk(s) -- for all the talk namespaces together (if we can even query all at once). worth implementing? good talk-page question
I might use full names -- I don't remember if I can redirect the short names to the long names, and have the long-name templates correctly invoke by calling the templates as short names. Certainly mediawiki enforces a single-redirect layer, by default or without workaround.
For types of linking & use - see also[edit source]
- Transclusions
- Links
- Redirects
can be excluded from search, from the Special:WhatLinksHere of Special:SpecialPages.
onlyinclude[edit source]
{{linksheret}} A·M·C·T):
You must be logged in to perform this action or view this special page.
Drafts[edit source]
https://www.noisebridge.net/wiki/Special:WhatLinksHere?target=Template%3AProjects&namespace=10
- FPN FULLPAGENAME Template:LinkshereTemplateNS
- PN PAGENAME LinkshereTemplateNS
- PNE PAGENAMEE LinkshereTemplateNS
- NS NAMESPACE Template
mw:Help:Magic_words#Page_names
links[edit source]
Attempts:
{{Special:WhatLinksHere?target={{NAMESPACE}}:{{PAGENAME}}&namespace=10}} # no
{{Special:WhatLinksHere?target={{FULLPAGENAME}}&namespace=10}} #no
{{Special:WhatLinksHere?target={{FULLPAGENAME}}}} # ..not even!?
{{Special:WhatLinksHere/{{FULLPAGENAME}}}} # yes, incomplete
{{Special:WhatLinksHere/{{FULLPAGENAME}}?namespace=10}} # nope
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=10}} # works!!
You must be logged in to perform this action or view this special page.