Template:Template link 2/doc: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) |
||
| Line 12: | Line 12: | ||
*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 [[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:Example}}</nowiki> creates {{temt|Template:Example}} |
|||
*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=== |
||
Revision as of 15:35, 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 Unicode reference (=).
See also
- This template is functionally similar to Template:Template link expanded, except Template:Temt can handle template names with the Template: prefix and templates not in the Template: namespace {{ns:10}}.
- This template is compatible with Template:Catt.
- This template is invoked by Template:Cattemp and Template:UIC.