Difference between revisions of "Template:PAGENAMETDOC"
Dinoguy1000 (talk | contribs) m (1 revision imported: update {{Navbox}} documentation (from Wikipedia)) |
Dinoguy1000 (talk | contribs) m (1 revision imported: mass import/update of Wikipedia stuff) |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
This template takes one numbered parameter (<code>1</code>); if anything is in this parameter then it will return <code>{{BASEPAGENAME}}</code> and <code>{{PAGENAME}}</code>, which have no namespace prefix. | This template takes one numbered parameter (<code>1</code>); if anything is in this parameter then it will return <code>{{BASEPAGENAME}}</code> and <code>{{PAGENAME}}</code>, which have no namespace prefix. | ||
}} | }} | ||
− | [[Category:Wikipedia | + | [[Category:Wikipedia magic word templates]] |
</noinclude> | </noinclude> |
Latest revision as of 23:47, 1 April 2023
Template:PAGENAMETDOC
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.