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
m corr
m expansion
Line 16: Line 16:
|4def=
|4def=
|4stat=optional-
|4stat=optional-
|5=excl
|5=incl
|5d=any value, for excluding the brackets (making them not a part of the link,  like {{Tl|Tl}})
|5d=numeric value,
|5def=
*0:  both brackets are not a part of the link,  like {{Tl|Tl}}
|5stat=optional-
*1:  the inner brackets are part of the link   like {{T1|T1}}
|6=parm
*2:  both brackets are part of the link,  like {{T|T}}
|5def=2
|5stat=optional-|6=parm
|6d=to display templates parameters &ensp; (like {{T|Tlx}}) <br> e.g."<code><nowiki>parm=&amp;#124;1=&amp;#124;2=&amp;#124;code=y</nowiki></code>"<br>gives "<code><nowiki>&#124;1=&#124;2=&#124;code=y</nowiki></code>"
|6d=to display templates parameters &ensp; (like {{T|Tlx}}) <br> e.g."<code><nowiki>parm=&amp;#124;1=&amp;#124;2=&amp;#124;code=y</nowiki></code>"<br>gives "<code><nowiki>&#124;1=&#124;2=&#124;code=y</nowiki></code>"
|6def=
|6def=
Line 45: Line 47:
*<nowiki>{{T}}</nowiki> → {{T}}
*<nowiki>{{T}}</nowiki> → {{T}}
*<nowiki>{{T|coltit}}</nowiki> → {{T|coltit}}
*<nowiki>{{T|coltit}}</nowiki> → {{T|coltit}}
*<nowiki>{{T|Coltit|incl=0}}</nowiki> → {{T|Coltit|incl=0}}
*<nowiki>{{T|Coltit|incl=1}}</nowiki> → {{T|Coltit|incl=1}}
*<nowiki>{{T|Coltit|incl=2}}</nowiki> → {{T|Coltit|incl=2}}
*<nowiki>{{T|Coltit|coltit}}</nowiki> → {{T|Coltit|coltit}}
*<nowiki>{{T|Coltit|coltit}}</nowiki> → {{T|Coltit|coltit}}
*<nowiki>{{T|Coltit|test|en}}</nowiki> → {{T|Coltit|test|en}}
*<nowiki>{{T|Coltit|test|en}}</nowiki> → {{T|Coltit|test|en}}

Revision as of 06:43, 25 July 2013

T links to a Template. It creates a link to a template and surrounds it with {{...}} making the brackets 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
inclnumeric value,
  • 0: both brackets are not a part of the link,  like {{Tl}}
  • 1: the inner brackets are part of the link  like {{T1}}
  • 2: both brackets are part of the link,  like {{T}}
2optional
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


{{Commons:Link templates/Template links}}


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