Template:Tcl: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Protected "Template:Tcl": Changing this template will break others ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
No edit summary
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
       | {{PAGENAME: {{{1}}} }}      <!-- leading colon, eg ":Foo", so we want the article -->
       | {{PAGENAME: {{{1}}} }}      <!-- leading colon, eg ":Foo", so we want the article -->
     }}
     }}
}}</includeonly></onlyinclude><noinclude>[[category:coding utility templates]]{{documentation}}{{lock}}</noinclude>
}}</includeonly></onlyinclude><noinclude>[[Category:template demonstration templates]]{{documentation}}{{lock}}</noinclude>

Latest revision as of 05:28, 12 May 2012

Instructions for {{Tcl}}
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


LockedTab.png