Template:{{{1}}}
This is the template sandbox page for Template:Transclude (diff). See also the companion subpage for test cases. |
This template is used on approximately 18,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.
Preview message: Transclusion count updated automatically (see documentation). |
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.
{{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:FooTemplateData 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 |