Template:FULLPAGENAME
Appearance
mw:Help:Magic words#FULLPAGENAME
This page is a soft redirect.
| This page in a nutshell: Never write {{FULLPAGENAME|argument}}. Write {{FULLPAGENAME:argument}} instead. |
| This template should have no transclusions. This is because it is a replacement to prevent breakage if editors attempt to invoke the magic word of the same name using a pipe instead of a colon. |
Usage
[edit]The magic word {{FULLPAGENAME}} is described at Wikipedia:Magic words#Parser functions. An example of its output is:
{{FULLPAGENAME:Template:Example/with/subpages}}→ Template:Example/with/subpages
If placed on this page without arguments:
{{FULLPAGENAME}}→ Template:FULLPAGENAME
This template should never be used, but when someone uses the magic word "FULLPAGENAME" with a piped parameter, it will prevent breakage. Parameter 1 will be used as the : parameter, other parameters will be discarded.
Tracking category
[edit]The page will be added to the hidden category:
See also
[edit]- {{PAGENAME}}, which excludes the namespace
- {{PAGENAMEBASE}} which excludes the namespace and strips anything in parentheses from the title
- Help:Parser functions