Difference between revisions of "Template:PAGENAMETDOC"
(Support for other NS) |
(ce) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{#invoke:String|find|{{FULLPAGENAME}}|/sandbox%d*$|plain=false}}|0|{{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}<noinclude> | {{#ifeq:{{#invoke:String|find|{{FULLPAGENAME}}|/sandbox%d*$|plain=false}}|0|{{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}<noinclude> | ||
{{Documentation|content= | {{Documentation|content= | ||
− | This template returns the current {{ | + | This template returns the current {{Wikivar|link=on|FULLPAGENAME}}, unless the title ends in <code>/sandbox</code> plus any number of digits, in which case it returns the {{Tlx|FULLBASEPAGENAME}}. It is primarily meant for demonstrating the sandbox version of templates in their documentation. |
}} | }} | ||
[[Category:Wikipedia variable-like templates]] | [[Category:Wikipedia variable-like templates]] | ||
</noinclude> | </noinclude> |
Revision as of 08:31, 28 April 2015
Template:PAGENAMETDOC
50px Template documentation
This template returns the current Template:Wikivar, unless the title ends in /sandbox
plus any number of digits, in which case it returns the {{FULLBASEPAGENAME}}
. It is primarily meant for demonstrating the sandbox version of templates in their documentation.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |