Template:Page: Difference between revisions
Appearance
Content deleted Content added
Phil Boswell (talk | contribs) convert {{switch}} to {{#switch}} |
m Changed protection level for "Template:Page": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) |
||
(9 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{ARTICLESPACE}}|Category=[[:Category:{{PAGENAME}}]]|#default=[[{{ARTICLESPACE}}:{{PAGENAME}}]]}}<noinclude> |
{{#switch:{{ARTICLESPACE}}<!-- |
||
-->|Category=[[:Category:{{PAGENAME}}]]<!-- |
|||
-->|#default=[[{{ARTICLESPACE}}:{{PAGENAME}}]]}}<noinclude> |
|||
[[Category:Internal link templates|{{PAGENAME}}]] |
|||
{{Documentation}} |
|||
[[Category:Wikipedia special effects templates|{{PAGENAME}}]] |
|||
[[Category:Esoteric templates|{{PAGENAME}}]] |
|||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 17:02, 23 February 2018
This template is used on approximately 4,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Description
This template is used to create a link from a talk page to its corresponding page.
Usage
It is intended to be used in talk pages only. It works in all namespaces of talk page, including from a Category talk page to the corresponding Category page.
If placed on a non-talk page, it generates a link to the page placed on a self-referencing link. Use of {{Page}} in article mainspace should be avoided.
Example
Using {{Page}} on the Talk page of this template documentation page produces Template:Page.
See also
- mw:Help:Magic words
- {{page numbers}}
- {{rp}} ("Rp" stands for "reference page(s)")