Template:Temt: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><tt><nowiki>{{</nowiki>{{#if:{{{1|}}}|[[{{#if:{{NAMESPACE:{{{1|}}}}}|{{{1|}}}|Template:{{{1|}}}}}{{!}}{{{1|}}}{{#if:{{{2|}}}|{{!}}{{{2|}}}{{#if:{{{3|}}}|{{!}}{{{3...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><tt><nowiki>{{</nowiki>{{#if:{{{1|}}}|[[{{#if:{{NAMESPACE:{{{1|}}}}}|{{{1|}}}|Template:{{{1|}}}}}{{!}}{{{1|}}}{{#if:{{{2|}}}|{{!}}{{{2|}}}{{#if:{{{3|}}}|{{!}}{{{3|}}}{{#if:{{{4|}}}|{{!}}{{{4|}}}{{#if:{{{5|}}}|{{!}}{{{5|}}}{{#if:{{{6|}}}|{{!}}{{{6|}}}{{#if:{{{7|}}}|{{!}}{{{7|}}}{{#if:{{{8|}}}|{{!}}{{{8|}}}}}}}}}}}}}}}}}]]|{{PAGENAME}}}}<nowiki>}}</nowiki></tt></includeonly><noinclude>{{documentation}}</noinclude> | <includeonly><tt><nowiki>{{</nowiki>{{#if:{{{1|}}}|[[{{#if:{{NAMESPACE:{{{1|}}}}}|{{{1|}}}|Template:{{{1|}}}}}{{!}}{{{1|}}}{{#if:{{{2|}}}|{{!}}{{{2|}}}{{#if:{{{3|}}}|{{!}}{{{3|}}}{{#if:{{{4|}}}|{{!}}{{{4|}}}{{#if:{{{5|}}}|{{!}}{{{5|}}}{{#if:{{{6|}}}|{{!}}{{{6|}}}{{#if:{{{7|}}}|{{!}}{{{7|}}}{{#if:{{{8|}}}|{{!}}{{{8|}}}}}}}}}}}}}}}}}]]|{{PAGENAME}}}}<nowiki>}}</nowiki></tt></includeonly><noinclude>{{documentation}}</noinclude> | ||
[[Category:Templates]] |
Latest revision as of 21:41, 14 December 2012
[edit] Template documentation
Use[edit source]
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 (=).
Examples[edit source]
- Without a template name:
- {{temt}} creates {{Temt}}
- With a template name implicitly in the Template namespace:
- {{temt|User WP Wales}} creates {{User WP Wales}}
- With a template name explicitly in the Template namespace:
- {{temt|Template:User interest Utah}} creates {{Template:User interest Utah}}
- With a template name explicitly not in the Template namespace:
- {{temt|Wikipedia:WikiProject Puerto Rico/Userbox}} creates {{Wikipedia:WikiProject Puerto Rico/Userbox}}
- With a template name and ordinal and named parameters:
- {{temt|convert|4401.2|m|ft|0|sp=us}} creates {{convert|4401.2|m|ft|0|sp=us}}
See also[edit source]
- This template is functionally similar to Template:Tlx, 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.
]]