Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:T/doc: Difference between revisions

Template page
new doc page
 
m format
Line 1: Line 1:
__NOTOC__
-----
{{TemplateBox
{{TemplateBox
|1=1
|1=1
Line 26: Line 24:
|6def=
|6def=
|6stat=optional-
|6stat=optional-
|desc='''T''' links to a '''T'''emplate. It creates a simple pipe-tricked link to a template and surrounds it with <code>{{</code>...<code>}}</code> as part of the link.
|desc='''T''' links to a '''T'''emplate. It creates a simple pipe-tricked link to a template and surrounds it with <code>{{</code>...<code>}}</code> making them a part of the link.
|namespace=
|namespace=
|usergroup=
|usergroup=
Line 41: Line 39:
|mustbesubst=
|mustbesubst=
}}
}}
 
__NOTOC__
== Examples ==
== Examples ==
* {{tlf|T|information}} → {{T|information}}
* {{tlf|T|information}} → {{T|information}}

Revision as of 14:32, 24 July 2013

T links to a Template. It creates a simple pipe-tricked link to a template and surrounds it with {{...}} making them a part of the link.

Usage

{{T/doc |1= |2= |3= }}

Template parameters

ParameterDescriptionDefaultStatus
1template nameToptional
2display nameparameter 1optional
3interwiki language code (can also be specified with lang=)emptyoptional
codeany value, for a sourrounding <code> tag  (like {{Tl2}})emptyoptional
exclany value, for excluding the brackets (making them not a part of the link,  like {{Tl}})emptyoptional
parmto display templates parameters   (like {{Tlx}})
e.g."parm=&#124;1=&#124;2=&#124;code=y"
gives "|1=|2=|code=y"
emptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Examples

with code=y

See also

  • {{Tl}} - same thing but makes the brackets not a part of the link ({{Template}})
  • {{Tl2}} - same but formats it with <code></code> and allows for one or two parameters ({{template}})
  • {{Tlx}} - allows for parameters ({{template|param1|param2}})
  • {{Tlc}}, {{Tld}}, {{Tlf}} -
  • {{Tlp}} - Same as {{Tlx}} but ignores empty parameters ({{template|param1|param3}})
  • {{Tls}} - puts "subst:" before the template name ({{subst:template}})
  • {{Tlsx}} - puts "subst:" before the template name and formats it with <tt></tt> (teletype), allows for parameters ({{subst:template|param1|param2}})


Cookies help us deliver our services. By using our services, you agree to our use of cookies.