Template documentation[view] [edit] [history] [purge]
Usage[edit]
The magic word SUBPAGENAME is described at Wikipedia:Magic words#Parser functions. An example of its output is {{SUBPAGENAME:Template:Example/with/subpages}}
→ "subpages".
This template should never be used, but when someone uses the magic word "SUBPAGENAME" 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 (3).