Jump to content

Template:PAGENAME

From Wikidata

PAGENAME

Documentation icon Template documentation[view · edit · history · purge ]


Usage

[edit]

{{PAGENAME}} is not actually a template, but instead is a magic word, meaning it is a MediaWiki featured software. When used, it will return the name of the page it's on, but without the namespace. For example, when placed on this page, it returns PAGENAME. When placed on Wikipedia:Village pump will return 'Village pump'. When {{PAGENAME|Wikipedia:Village pump}} is used, this template changes it to the correct {{PAGENAME:Wikipedia:Village pump}} then this hidden category Category:Pages which use a template in place of a magic word will appear but as a hidden category.

See also

[edit]