Template:Transclude/doc
From Urapopstar
Jump to navigationJump to search This is a documentation subpage for Template:Transclude. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
This template is used on 7,200,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in the template's /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added in one single edit to the template. Please consider discussing any changes on the talk page before implementing them. |
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 the
menu used at the top of each {{navbox}}, though it is used in other templates as well, such as {{usbk}}.
Usage[edit source]
{{transclude| Template:Foo }}
→ Template:Foo{{transclude| Category:Foo }}
→ Category:Foo{{transclude| Foo }}
→ Template:Foo{{transclude| :Foo }}
→ Foo{{transclude| :File:Foo }}
→ File:Foo