Template:Template link 2/doc: Difference between revisions
Appearance
Content deleted Content added
Caleb Cooper (talk | contribs) 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..." |
Caleb Cooper (talk | contribs) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
*var1 is an option template name. |
*var1 is an option template name. |
||
*var2 through var8 are the optional parameters of template var1. |
*var2 through var8 are the optional parameters of template var1. |
||
You must replace any equal signs (=) with their [[Unicode]] reference (=). |
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&#61;us}}</nowiki> creates {{temt|convert|4401.2|m|ft|0|sp=us}} |
|||
===See also=== |
===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|| |
<includeonly>{{sandbox other|| |
||
[[Category:Internal template-link templates]] |
[[Category:Internal template-link templates]] |
||
Latest revision as of 15:36, 21 October 2020
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
Use
This template creates a formatted link to a template. Without an optional template name, this template creates a formatted but disabled link to the current page.
The syntax of this template is:
{{temt|var1|var2|var3|var4|var5|var6|var7|var8}}
where:
- 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 (=).
See also
For more detail see wikipedia page wikipedia:Template:Template link 2