Template:Template link 2/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
Created page with "{{Documentation subpage}} {{Template shortcut |Temt}} {{Commons Import}} ===Use=== This template creates a formatted link to a template. Without an optional template name, t..."
 
 
(4 intermediate revisions by the same user not shown)
Line 11:
*var1 is an option template name.
*var2 through var8 are the optional parameters of template var1.
You must replace any equal signs (=) with their [[Wikipedia:Unicode]] reference (=).
 
===Examples===
*Without a template name:
::<nowiki>{{temt}}</nowiki> creates {{temt}}
*With a template name implicitly in the [[Wikipedia:Template namespace|Template namespace]]:
::<nowiki>{{temt|User WP Wales}}</nowiki> creates {{temt|User WP Wales}}
*With a template name explicitly in the [[Wikipedia:Template namespace|Template namespace]]:
::<nowiki>{{temt|Template:User interest Utah}}</nowiki> creates {{temt|Template:User interest Utah}}
*With a template name explicitly not in the [[Wikipedia:Template namespace|Template namespace]]:
::<nowiki>{{temt|Wikipedia:WikiProject Puerto Rico/Userbox}}</nowiki> creates {{temt|Wikipedia:WikiProject Puerto Rico/Userbox}}
*With a template name and ordinal and named parameters:
::<nowiki>{{temt|convert|4401.2|m|ft|0|sp&amp;#61;us}}</nowiki> creates {{temt|convert|4401.2|m|ft|0|sp&#61;us}}
 
===See also===
For more detail see wikipedia page [[wikipedia:Template:Template link 2]]
*This template is functionally similar to [[Template:Tlx]], except Template:Temt can handle template names with the Template: prefix and templates not in the [[Wikipedia:Namespace|Template: namespace]] <nowiki>{{ns:10}}</nowiki>.
 
*This template is compatible with [[Template:Catt]].
 
*This template is invoked by [[Template:Cattemp]] and [[Template:UIC]].
<includeonly>{{sandbox other||
[[Category:Internal template-link templates]]