Template: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