Template:Transclude: Difference between revisions
m 1 revision |
(No difference)
|
Revision as of 02:11, 1 May 2013
Template:{{{1}}}
Warning | This template is used on 7,140,000+ pages, or roughly 578606% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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.
The most prominent use of this template is in the menu used at the top of each {{navbox}}, though it is used in other templates as well, such as {{usbk}}.Usage
{{transclude| Template:Foo }}
→ Template:Foo{{transclude| Category:Foo }}
→ Category:Foo{{transclude| Foo }}
→ Template:Foo{{transclude| :Foo }}
→ Foo{{transclude| :File:Foo }}
→ File:Foo
See also
<templatedata> {
"description": "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.", "params": { "1": { "label": "Page name", "description": "The name of the page you are tring to link to", "type": "string", "required": true } }
}
</templatedata>