Template:PAGENAMETDOC: Difference between revisions
Content added Content deleted
m (3 revisions imported from templatewiki:Template:PAGENAMETDOC) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
}} |
}} |
||
[[Category:Wikipedia variable-like templates]] |
[[Category:Wikipedia variable-like templates]] |
||
{{En-WP attribution notice|Template:PAGENAMETDOC}} |
|||
</noinclude> |
</noinclude> |
Latest revision as of 16:55, 30 March 2021
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.
This template uses material from the Wikipedia template Template:PAGENAMETDOC, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). |