Template:T2
{{T2}}
T links to a Template. T2 creates a formatted link to a template and surrounds it with two brackets which are not a part of the link.
Usage
{{T2 |1= }}
Template parameters
پارامتر | توضیحات | پیشفرض | وضعیت | |
---|---|---|---|---|
1 | template name (any namespace is ignored) | T2 | اختیاری | |
2 | display name (displayed as-it-is) | parameter 1 | اختیاری | |
3 lang | interwiki language code (ISO 639), if the template is in another Wikipedia can also be specified with lang= | empty | اختیاری | |
4 | +/- to precede the template name with the namespace Template:
(when both signs are specified, "+" has precedence). | empty | اختیاری | |
incl i | i or incl is a one-digit formatting option:
| 0 | اختیاری | |
code | any value, for a surrounding <code> tag (like {{Tl2}}).With code=tt also the surrounding brackets are in teletype style. | empty | اختیاری | |
link | returns plain text instead of a link when set to link=no | empty | اختیاری | |
case | for formatting of the namespace prefix:
| empty | اختیاری | |
i18n | another language than {{int:lang}} for namespace translation (when case=i or case=n ) | fa | اختیاری | |
parm | to display templates parameters (like {{Tlx}}) Usage e.g.
| empty | اختیاری | |
full | expanded display: Template:{{Example}} (like {{Lts}}) request this expansion with either full=5 or 5=full . | empty | اختیاری |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Localization
This template is not intended to be localized.
The template does not generate any localizable text;
with + or - always the namespace in English: "Template" is displayed;
only in combination with case=i
or case=n
the namespace can be translated using the {{LangSwitch}} construct (according to i18n
).
{{Commons:Link templates/T-doc-expansion}}
{{Commons:Link templates/Template links}}