Difference between revisions of "Template:Tcl"
Jump to navigation
Jump to search
(Created page with '<onlyinclude><includeonly>{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {…') |
m |
||
Line 11: | Line 11: | ||
This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing ''other'' things with template pagenames, e.g. linking. | This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing ''other'' things with template pagenames, e.g. linking. | ||
=== Usage === | === Usage === |
Latest revision as of 20:11, 1 May 2014
This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.
Usage
{{tcl| Template:Foo }}
→ Template:Foo{{tcl| Category:Foo }}
→ Category:Foo{{tcl| Foo }}
→ Template:Foo{{tcl| :Foo }}
→ Foo{{tcl| :File:Foo }}
→ File:Foo