ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:UsersSpeak/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

UsersSpeak displays a box intended for use in the heading of a user language category page such as Category:User zh. It is not intended for use on User: pages.

{{UsersSpeak | 1=iso | 3=preamble | font=size | link=Language article | text=Link text }}

The first parameter is the ISO 639 code of the language represented. It is recommended but defaults to "und" for undefined. The second parameter is ignored. (It was previously used for the language name, which is now retrieved automatically.) The third parameter, if given, is text which appears in the top right section of the box. The following optional named parameters are supported:

  • A font size such as font=12; the default is 14-point. Note that this parameter expects a numeric size rather than a font name.
  • An article title such as link=Lebanese Arabic; the default is to retrieve this automatically from the ISO code.
  • Link text such as text=the Lebanese variety of Arabic; the default is the article title. |text= works only if |link= is used.

TemplateData

[ਸੋਧੋ]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for UsersSpeak

Display a box in the heading of a user language category page

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

This template prefers inline formatting of parameters.

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
11

The ISO 639 code of the language

ਮੂਲ ਰੂਪ
und
Example
zh
Numberoptional
33

Text for the top right section of the box

ਮੂਲ ਰੂਪ
(no text)
Example
这些用户会说中文。
Stringoptional
fontfont

font size

ਮੂਲ ਰੂਪ
14
Example
12
Numberoptional
linklink

Article title

ਮੂਲ ਰੂਪ
(retrieved automatically)
Example
Lebanese Arabic
Stringoptional
texttext

Text displayed on article link

ਮੂਲ ਰੂਪ
(article title)
Example
the Lebanese variety of Arabic
Stringoptional