Template:Tcl/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Protected "Template:Tcl/doc": Robot: Protecting all pages from category templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
No edit summary
Tag: sourceedit
 
Line 16: Line 16:
<noinclude></noinclude>
<noinclude></noinclude>
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
[[Category:Template documentation|{{PAGENAME}}]]

Latest revision as of 22:36, 4 March 2017

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