Template:Transclude
Template:{{{1}}}
This template is used on approximately 22,916 pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. 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 page-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.
Usage
{{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 }}
→ Project:Foo
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
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
- {{Linked }}
- {{Category title }}
- {{File title }}