Template:Transclude
Jump to navigation
Jump to search
Template:{{{1}}}
Description[edit source]
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.
The most prominent use of this template is in Template:T, used at the top of each Template:Tl, though it can be used in other templates as well.
Usage[edit source]
{{transclude| Template:Foo }}
→ Template:Foo{{transclude| Category:Foo }}
→ Category:Foo{{transclude| Foo }}
→ Template:Foo{{transclude| :Foo }}
→ Template::Foo{{transclude| :File:Foo }}
→ File:Foo
Credits[edit source]
This template's code was taken from Template:Transclude from the English Wikipedia.