Template:PAGENAMETDOC

Revision as of 17:05, 15 February 2017 by Till Kraemer (talk | contribs) (Created page with "{{#ifeq:{{#invoke:String|find|{{FULLPAGENAME}}|/sandbox%d*$|plain=false}}|0|{{{{#if:{{{1|}}}||FULL}}BASEPAGENAME}}|{{{{#if:{{{1|}}}||FULL}}PAGENAME}}}}<noinclude> {{Documentat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:PAGENAMETDOC

This template returns the current {{FULLBASEPAGENAME}}, unless the title ends in /sandbox plus any number of digits, in which case it returns the {{FULLPAGENAME}}. It is primarily meant for demonstrating the sandbox version of templates in their documentation.

This template takes one numbered parameter (1); if anything is in this parameter then it will return {{BASEPAGENAME}} and {{PAGENAME}}, which have no namespace prefix.


This Template uses material from Wikipedia: PAGENAMETDOC, which is released under the Creative Commons Attribution-Share-Alike License 3.0.