Template:PAGENAMETDOC

Revision as of 18:41, 6 February 2018 by templatewiki>Rob Kam (1 revision imported)

Template:PAGENAMETDOC

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation

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.