Template:Transclude/doc
Appearance
![]() | This is a documentation subpage for Template:Transclude. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 22,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template resolves page names as they would be handled by MediaWiki's page-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.
Usage
[edit]{{transclude| Template:Foo }}
→ Template:Foo{{transclude| Category:Foo }}
→ Category:Foo{{transclude| Foo }}
→ Template:Foo{{transclude| :Foo }}
→ Foo{{transclude| :File:Foo }}
→ File:Foo{{transclude| Project:Foo }}
→ Wikipedia:Foo
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Transclude in articles based on its TemplateData.
TemplateData for Transclude
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | The name of the page you are trying to link to | String | required |
See also
[edit]- {{Linked}}
- {{Category title}}
- {{File title}}