Template:T/doc

From wikishia


این زیرصفحه شامل مستندات، رده‌ها یا سایر محتویاتی که سایر محتویات بخشی از template نیست.
برای بازدید template صفحه خودش، ببینید Template:T.


العربية  asturianu  Boarisch  беларуская (тарашкевіца)  български  বাংলা  català  čeština  dansk  Deutsch  Zazaki  Ελληνικά  English  Esperanto  español  eesti  euskara  فارسی  suomi  français  galego  עברית  हिन्दी  hrvatski  magyar  Bahasa Indonesia  italiano  日本語  ქართული  한국어  Lëtzebuergesch  македонски  മലയാളം  ဘာသာ မန်  Bahasa Melayu  Mirandés  မြန်မာဘာသာ  norsk bokmål  Plattdüütsch  Nederlands  norsk  polski  português  português do Brasil  русский  sicilianu  Scots  slovenščina  српски / srpski  svenska  ไทย  Türkçe  українська  اردو  oʻzbekcha  Tiếng Việt  简体中文  繁體中文  +/−

__EXPECTED_UNCONNECTED_PAGE__

T links to a Template. T creates a formatted link to a template and surrounds it with {{...}} making the brackets a part of the link.

Usage

{{T |1= }}

Template parameters

پارامترتوضیحاتپیش‌فرضوضعیت
1template name (any namespace is ignored)Tاختیاری
2display 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:
  • + (plus sign) to make Template: a part of the link,
  • - (minus sign) to precede Template: as plain text.
The +/- parameter can as well be specified with parameter 2 or 3;
(when both signs are specified, "+" has precedence).
emptyاختیاری
incl
i
i or incl is a one-digit formatting option:
  • 0: none of the brackets are part of the link
  • 1: the inner brackets are part of the link
  • 2: both brackets are part of the link
  • 3: like i=2, with monospace font
  • 4: like i=0 but with the name in teletype style
  • 5: like i=1 but with the name in teletype style
  • 6: like i=2 but with the name in teletype style
  • 8: without surrounding brackets
  • 9: like i=8 but with the name in teletype style large (font-size:128%)
2اختیاری
codeany value, for a surrounding <code> tag  (like {{Tl2}}).
With code=tt also the surrounding brackets are in teletype style.
emptyاختیاری
linkreturns plain text instead of a link when set to link=noemptyاختیاری
casefor formatting of the namespace prefix:
  • case=l lowercase display "template" instead of "Template"
  • case=i internationalized display, in general a link
  • case=n internationalized display, without linking it
emptyاختیاری
i18nanother language than {{int:lang}} for namespace translation (when case=i or case=n)faاختیاری
parmto display templates parameters  (like {{Tlx}})

Usage e.g. parm=template name or parm=1=template name
or  parm=&#124;1=&#124;2=&#124;code=y" gives "|1=|2=|code=y".

File:Font Awesome 5 solid long-arrow-alt-right.svg For a better appearing and easier to format explanatory, use the meta template {{Tle}}.
emptyاختیاری
fullexpanded 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}}