• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:ROOTPAGENAMEE

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]
This page in a nutshell: Never write {{ROOTPAGENAMEE|argument}}. Write {{ROOTPAGENAMEE: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 ROOTPAGENAMEE is described at Wikipedia:Magic words#Parser functions. An example of its output is {{ROOTPAGENAMEE:Template:Example/with/subpages}} → "Example".

This template should never be used, but when someone uses the magic word "ROOTPAGENAMEE" with a piped parameter, it will prevent breakage. Parameter 1 will be used as the : parameter, other parameters will be discarded.

The page will be added to the hidden category Category:Pages which use a template in place of a magic word (0).

Tracking category

edit
  • Category:Pages which use a template in place of a magic word (0)
The above documentation is transcluded from Template:ROOTPAGENAMEE/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:ROOTPAGENAMEE&oldid=1117076083"