Difference between revisions of "Template:Transclude"

From Xen
m (Protected Template:Transclude: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
m (1 revision: Imported set of missing templates from Wikipedia under CC BY 3.0)
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
  +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:50, 6 December 2011

Template:{{{1}}}

[edit] [purge] Template documentation

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

The above documentation is transcluded from Template:Transclude/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.