Template:Temt/doc: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "{{documentation subpage}} ===Use=== This template creates a formatted link to a template. Without an optional template name, this template creates a formatted but disabled li...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 26: Line 26:
*This template is compatible with [[Template:Catt]].
*This template is compatible with [[Template:Catt]].
*This template is invoked by [[Template:Cattemp]] and [[Template:UIC]].
*This template is invoked by [[Template:Cattemp]] and [[Template:UIC]].
*For assistance, please contact [[User:Buaidh|<span style="color:white; background-color:#552211;">&nbsp;Buaidh&nbsp;</span>]]
]]
<includeonly>
<includeonly>
[[Category:Wikipedia formatting and function templates]]
[[Category:Wikipedia formatting and function templates]]
</includeonly>
</includeonly>
[[Category:Templates]]

Latest revision as of 22:41, 14 December 2012

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 (&#61;).

Examples[edit source]

  • Without a template name:
{{temt}} creates {{Temt/doc}}
{{temt|User WP Wales}} creates {{User WP Wales}}
{{temt|Template:User interest Utah}} creates {{Template:User interest Utah}}
{{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&#61;us}} creates {{convert|4401.2|m|ft|0|sp=us}}

See also[edit source]

]]