Template:Transclude/doc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{ | {{high-risk|6,600,000+}} | ||
[[ | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
</ | |||
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. | |||
Key usage is in [[Template:Navbox|navboxes']] view, discuss, edit (v,d,e) menu. | |||
=== Usage === | |||
*<code><nowiki>{{transclude| Template:Foo }}</nowiki></code> → '''{{transclude|Template:Foo}}''' | |||
*<code><nowiki>{{transclude| Category:Foo }}</nowiki></code> → '''{{transclude|Category:Foo}}''' | |||
*<code><nowiki>{{transclude| Foo }}</nowiki></code> → '''{{transclude|Foo}}''' | |||
*<code><nowiki>{{transclude| :Foo }}</nowiki></code> → '''{{transclude|:Foo}}''' | |||
*<code><nowiki>{{transclude| :File:Foo }}</nowiki></code> → '''{{transclude|:File:Foo}}''' | |||
=== See also === | |||
* {{tl|Linked}} | |||
* {{tl|Category title}} | |||
* {{tl|File title}} | |||
<includeonly> | |||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | |||
[[Category:Wikipedia formatting and function templates|Transclude]] | |||
[[ar:قالب:Transclude]] | |||
[[et:Mall:Transclude]] | |||
[[fa:الگو:Transclude]] | |||
[[gu:ઢાંચો:Transclude]] | |||
[[id:Templat:Transclude]] | |||
[[ja:Template:Transclude]] | |||
[[pt:Predefinição:Transclude]] | |||
</includeonly> |
Latest revision as of 15:36, 15 January 2012
File:Edit-copy green.svg | This is a documentation subpage for Template:Transclude. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on 6,600,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. 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 template-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.
Key usage is in navboxes' view, discuss, edit (v,d,e) menu.
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
- {{Linked}}
- {{Category title}}
- {{File title}}