Template:Transclude: Difference between revisions
Jump to navigation
Jump to search
Chrysophylax (talk | contribs) (Created page with "{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{...") |
EmperorZelos (talk | contribs) m (1 revision: Getting templates while it works) |
Revision as of 16:24, 12 November 2012
Template:{{{1}}}
- The following documentation is located at Template:Transclude/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
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
{{transclude| Template:Foo }}
→ Template:Foo{{transclude| Category:Foo }}
→ Category:Foo{{transclude| Foo }}
→ Template:Foo{{transclude| :Foo }}
→ Foo