Template:Transclude/doc: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{for|a template to transclude wikitext|Template:Excerpt}} |
{{for|a template to transclude wikitext|Template:Excerpt}} |
||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{High-risk}} |
|||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
||
{{high-use}} |
{{high-use}} |
||
Revision as of 09:58, 20 October 2020
| This template is used on many 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 is used on many 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 page was automatically imported from Commons any changes will be overwritten, the source page is here () |
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.
Usage
{{transclude| Template:Foo }}→ Template:Foo{{transclude| Category:Foo }}→ Category:Foo{{transclude| Foo }}→ Template:Foo{{transclude| :Foo }}→ Template::Foo{{transclude| :File:Foo }}→ File:Foo
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Transclude/doc
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
For more detail see wikipedia page wikipedia:Template:Transclude