Difference between revisions of "Template:Tcl"

From AetoliaWiki
Jump to navigation Jump to search
(Created page with '<onlyinclude><includeonly>{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {…')
(No difference)

Revision as of 20:18, 21 November 2012



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

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