Difference between revisions of "Template:Transclude/doc"
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template resolves page names as they would be handled by MediaWiki's t...") |
m (Protected "Template:Transclude/doc" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
(No difference)
|
Latest revision as of 19:33, 4 September 2012
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