Difference between revisions of "Template:PAGENAMETDOC"

From Discordia
Jump to: navigation, search
(Created page with "{{#ifeq:{{#invoke:String|find|{{FULLPAGENAME}}|/sandbox%d*$|plain=false}}|0|{{{{#if:{{{1|}}}||FULL}}BASEPAGENAME}}|{{{{#if:{{{1|}}}||FULL}}PAGENAME}}}}<noinclude> {{Documentat...")
 
(No difference)

Latest revision as of 18:26, 27 June 2020

Template:PAGENAMETDOC

Template documentation

This template returns the current Template:Tlx, unless the title ends in /sandbox plus any number of digits, in which case it returns the Template:Tlx. 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.