Kontent qismiga oʻtish

Andoza:Lang-uz-Cyrl-Latn

Vikipediya, ochiq ensiklopediya
Documentation icon Andoza hujjati[koʻrib chiqish] [tahrirlash] [tarix] [yangilash]

Andoza:Language templates

The purpose of this template is to indicate that two spans of text belong to {{{2}}}; one in non-Latin script and the other in a Latin script that is not a transliteration or romanization of the non-Latin text. This template finds application with languages that have native alphabets that are equal in status; Andoza:ISO 639 name sh for example. This template is a wrapper template that uses {{lang-x2}}

Syntax and usage

[manbasini tahrirlash]

The minimal implementation has the form:

{{[[Andoza:Andoza:THISTEMPLATE|Andoza:THISTEMPLATE]]|<non-Latin text>Andoza:Pipe<Latin text>}}

where the two required parameters are:

<Latin text> – the Latin-script text; must be written only using Latin Unicode characters
<non-Latin text> – the non-Latin-script text; must not be written using Latin Unicode characters

By default, this template will place articles into the relevant subcategory of Andoza:Category link.

In addition to the two required positional parameters, this template accepts one other positional parameter and several named parameters that are the same as or similar to those supported by {{lang}} and {{lang-??}}.

{{{3}}} – the third positional parameter is the translation of <Latin text> and <non-Latin text>
|cat= – takes the value no to inhibit language categorization; inverse of |nocat=yes
|italic1= – italic control for the <non-Latin text>; see Andoza:Slink for details
|italic2= – italic control for the <Latin text>
|label= – label to be used instead of template-provided language label; may be wikilinked; special keyword none causes the template to render without a label
|link= – takes the value no to prevent the language-name label from being linked; |link=no does not unlink wikilinked labels set by |label=
|nocat= – takes the value yes to inhibit language categorization; inverse of |cat=no
|region1= – used to create an IETF language tag for the <non-Latin text>; see Andoza:Slink
|region2= – used to create an IETF language tag for the <Latin text>
|script1= – used to create an IETF language tag for the <non-Latin text>; see Andoza:Slink
|script2= – used to create an IETF language tag for the <Latin text>
|variant1= – used to create an IETF language tag for the <non-Latin text>; see Andoza:Slink
|variant2= – used to create an IETF language tag for <Latin text>

There is one unique parameter:

|separator= – accepts , (comma; default), ; (semicolon), / (solidus), or a quoted string of text; see §Examples

Error messages

[manbasini tahrirlash]

This template calls {{lang}} and the appropriate {{lang-??}} templates. When those templates encounter errors, they will render their own error messages; for assistance, see the help text linked from their error messages.

There are error messages unique to this template. These are:

missing a required argument – one or more of <non-Latin text> or <Latin text> is missing or empty; both are required
<text1> is Latin script<non-Latin text> must not be Latin-script text
<text2> is not Latin script<Latin text> must be Latin-script text

Tracking categories

[manbasini tahrirlash]