Template:Transclude/doc
< Template:Transclude
Jump to navigation
Jump to search
Revision as of 19:33, 4 September 2012 by Kwickert (talk | contribs) (Protected "Template:Transclude/doc" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
This is a documentation subpage for Template:Transclude (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
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.
Key usage is in navboxes' view, discuss, edit (v,d,e) menu.
Usage
{{transclude| Template:Foo }}
→ Template:Foo{{transclude| Category:Foo }}
→ Category:Foo{{transclude| Foo }}
→ Template:Foo{{transclude| :Foo }}
→ Foo{{transclude| :File:Foo }}
→ File:Foo