Template:Transclude

Revision as of 14:17, 5 July 2012 by Mbc07 (talk | contribs) (Created page with "<includeonly>{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[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.

The most prominent use of this template is in the menu used at the top of each {{navbox}}.

Usage

  • {{transclude| Template:Foo }}Template:Foo
  • {{transclude| Category:Foo }}Category:Foo
  • {{transclude| Foo }}Template:Foo
  • {{transclude| :Foo }}Foo
  • {{transclude| :File:Foo }}File:Foo