Difference between revisions of "Template:PAGENAMETDOC"

From EUSwiki
Jump to: navigation, search
(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 {{Tlx|FULLBASEPAGENAME}}, unless the title ends in <code>/sandbox</code> plus any number of digits, in which case it returns the {{Wikivar|link=on|FULLPAGENAME}}. It is primarily meant for demonstrating the sandbox version of templates in their documentation.
+
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.