سانچو:Langx/ريتخانو
استعمال
[سنواريو]هي ٻولي وارو ٽيمپليٽ غير انگريزي متن جي سڃاڻپ لاءِ استعمال ٿيندو آهي. ان لاءِ رڳو ٻه شيون لازمي آهن: هڪ IETF ٻولي ٽيگ ۽ غير انگريزي لفظ يا جملو. متن کي Wikipedia:Manual of Style/Text formatting § Foreign terms ۾ ڏنل سفارشَن موجب ترتيب ڏنو ويندو آهي؛ يعني جيڪي ٻوليون لاطيني ابجد استعمال ڪن ٿيون، تن لاءِ اٽالڪ (italic) لکڻي، ۽ ٻين ٻولين لاءِ عام (غير اٽالڪ) لکڻي استعمال ڪئي ويندي آهي.
عام طور هي ٽيمپليٽ غير انگريزي لفظ يا جملي جي انگريزي ترجمي کان پوءِ رکڻ گهرجي.
|links=no پيرا ميٽر ٻوليءَ جي نالي کي لنڪ ٿيڻ کان روڪيندو آهي.
|translit= پيرا ميٽر رومنائيزيشن (غير لاطيني رسم الخط کي رومن اکرن ۾ لکڻ) جي نشاندهي ڪرڻ جي اجازت ڏئي ٿو. هي پيرا ميٽر انهن {{langx|<tag>|...}} ٽيمپليٽن لاءِ سپورٽ نٿو ڪري، جيڪي اهڙين ٻولين لاءِ آهن جيڪي اڳ ئي لاطيني رسم الخط ۾ لکيون وڃن ٿيون.
|lit= پيرا ميٽر لفظي ترجمو (انگريزي ۾) مهيا ڪرڻ جي سهولت ڏئي ٿو.
Parameters
[سنواريو]| Parameter | Definition | Yields to | Alias |
|---|---|---|---|
|1= | The IETF language tag for the content in |text= | – | |code= |
نوٽس
TemplateData
Langx لاءِ TemplateData
وضاحت (Description): هي ٽيمپليٽ پڙهندڙن کي ڪنهن غير ملڪي ٻوليءَ ۾ لفظ يا جملي جي اصل صورت بابت آگاهي ڏئي ٿو. پيرا ميٽر ترتيب (Param order): 1 → ٻولي ٽيگ 2 → متن 3 → ٽرانسلٽريشن 4 → لفظي ترجمو links → لنڪ ڪنٽرول label → ليبل rtl → ساڄي کان کاٻي italic → اٽالڪ ڪنٽرول size → فونٽ سائيز
|text= | The non-English text | – | |2= |
|translit= | The Latin script transliteration of the content in |text= | – | |3= |
|translit-std= | The standard used for the transliteration of the value of |translit=; accepted values are: ISO, DIN, IAST, ALA, ALA-LC | – | |
|translit-script= | The transliteration standard's script identifier | – | |
|translation= | The literal English translation or gloss of the content in |text= | – | |lit=, |4= |
|label= | The label to be used instead of template-provided language label. May be wikilinked. Special keyword none causes the template to render without any labels (including transliteration and translation labels) | – | |
|link= | Links language name and static text associated with |translit= and |translation=. Defaults to yes. Accepted values are: no, yes; |link=no does not unlink wikilinked labels set by |label= | – | |links= |
|proto= | Accepted values are: no (default) or yes (default for private-use language tags with the -x-proto subtags); when yes (default or explicit), prefixes rendered text with an asterisk indicating 'unattested' | – | |
|سانچو:Dcr= | (Deprecated – include script subtag in |1=) IETF language script subtag; sometimes set by the template when the language of the content in |text= uses more than one writing system; always four alpha characters; a value of Latn (not "Latin"!) forces italic rendering unless overridden by |italic=; overrides |rtl= | |italic= | |
|سانچو:Dcr= | (Deprecated – include region subtag in |1=) IETF language region subtag | – | |
|سانچو:Dcr= | (Deprecated – include variant subtag in |1=) IETF language variant subtag | – | |
|rtl= | yes indicates that the writing system used for the content in |text= is right-to-left; accepted values are: no (default), yes | |script= | |
|italic= | ; accepted values are: yes, no, unset, invert, default | – | |italics=, |i= |
|size= | Specifies font size of the content in |text=; use a value suitable for use with the CSS font-size property; this should almost always be a relative value supplied in
% or em units, not a fixed px value. | – | |
|engvar= | Selects English variant spelling of 'romanised' or 'romanized' (default) according to the country specified; accepted values are: au (Australia), ca (Canada), gb (Great Britain), ie (Ireland), in (India), nz (New Zealand), us (United States), za (South Africa) | – | |
|cat= | Inhibits automatic categorization; mirror version of |nocat=; accepted values are: no, n, false, f, off, 0 | – | |
|nocat= | Inhibits automatic categorization; mirror version of |cat=; accepted values are: yes, y, true, t, on, 1 | – | |
| |italic= value | Description | Example code | Result | HTML markup |
|---|---|---|---|---|
|
|
{{Langx|ru|тундра}} |
Russian: тундра | |
{{Langx|ru|tûndra}} |
Russian: tûndra | Incorrect markup; this requires |script=latn. | ||
{{Langx|fr|toundra}} |
فرانسيسي: toundra | | ||
{{Langx|ru|script=latn|tûndra}} |
[tûndra] Error: {{Langx}}: invalid parameter: |script= (help) | | ||
| default | {{Langx|ru|тундра|italic=default}} |
Russian: тундра | | |
{{Langx|fr|toundra|italic=default}} |
فرانسيسي: toundra | | ||
{{Langx|ru|script=latn|tûndra|italic=default}} |
[tûndra] Error: {{Langx}}: invalid parameter: |script= (help) | | ||
| no |
|
{{Langx|ru|тундра|italic=no}} |
Russian: тундра | |
{{Langx|fr|toundra|italic=no}} |
فرانسيسي: toundra | | ||
{{Langx|ru|script=latn|tûndra|italic=no}} |
[tûndra] Error: {{Langx}}: invalid parameter: |script= (help) | | ||
''{{Langx|ru|script=latn|tûndra|italic=no}}'' |
[tûndra] Error: {{Langx}}: invalid parameter: |script= (help) | | ||
| yes |
|
{{Langx|ru|тундра|italic=yes}} |
Russian: тундра | |
{{Langx|ru|script=latn|tûndra|italic=yes}} |
[tûndra] Error: {{Langx}}: invalid parameter: |script= (help) | | ||
| unset |
|
{{Langx|ru|тундра|italic=unset}} |
Russian: тундра | |
''{{Langx|ru|тундра|italic=unset}}'' |
Russian: тундра | | ||
{{Langx|ru|script=latn|tûndra|italic=unset}} |
[tûndra] Error: {{Langx}}: invalid parameter: |script= (help) | | ||
''{{Langx|ru|script=latn|tûndra|italic=unset}}'' |
[tûndra] Error: {{Langx}}: invalid parameter: |script= (help) | | ||
| invert |
|
{{Langx|ru|тундра|italic=invert}} |
Russian: тундра | |
{{Langx|ru|''тундра''|italic=invert}} |
Russian: тундра | | ||
{{Langx|ru|script=latn|tûndra|italic=invert}} |
[tûndra] Error: {{Langx}}: invalid parameter: |script= (help) | | ||
{{Langx|ru|script=latn|''tûndra''|italic=invert}} |
[tûndra] Error: {{Langx}}: invalid parameter: |script= (help) | | ||
Notes
[سنواريو]TemplateData
[سنواريو]Langx لاءِ TemplateData
Indicates to readers the original form of a term or phrase in a foreign language.
| پيراميٽر | تشريح | قِسم | اسٽيٽس | |
|---|---|---|---|---|
| Language tag | 1 | A valid IETF language tag identifying the language of the non-English text. | اسٽرنگ | گهربل |
| Text | 2 | The non-English text to display. | اسٽرنگ | گهربل |
| Transliteration | 3 translit | The transliteration of the foreign text, for languages that do not use the Latin alphabet. This field is ignored for languages that do use the Latin alphabet. | اسٽرنگ | اختياري |
| Literal translation | 4 lit translation | The literal translation of the foreign text. | اسٽرنگ | اختياري |
| Display link | links link | Set to 'no' to disable the link to the article's language. | بولين | اختياري |
| Language label | label | If 'none', suppresses language link and label. Other options may be available depending on the language.
| سِٽَ | اختياري |
| Right-to-left | rtl | Toggle right-to-left view for the foreign text.
| بولين | اختياري |
| Italicize | italic italics i | Toggle italicization for the foreign text.
| بولين | اختياري |
| Font-size | size | Sets font-size for the foreign text.
| اڻڄاتل | اختياري |
Examples
[سنواريو]The following examples show translations from German.
Edit
- Weimar is located in the federal state of Thuringia (
{{Langx|de|Thüringen}}). - The Seafarers of Catan (
{{Langx|de|Die Seefahrer von Catan}}) is an expansion of the board game The Settlers of Catan. - Albert the Bear (
{{Langx|de|Albrecht der Bär|links=no}}) - All Quiet on the Western Front (
{{Langx|de|Im Westen nichts Neues|lit=In the West Nothing New}}) is a novel by Erich Maria Remarque.
Resulting text
- Weimar is located in the federal state of Thuringia (جرمن: Thüringen).
- The Seafarers of Catan (جرمن: Die Seefahrer von Catan) is an expansion of the board game The Settlers of Catan.
- Albert the Bear (جرمن: Albrecht der Bär)
- All Quiet on the Western Front (جرمن: Im Westen nichts Neues, lit. 'In the West Nothing New') is a novel by Erich Maria Remarque.
Tracking categories
[سنواريو]- Category:Lang and lang-xx template errors (3)
- Category:Lang and lang-xx code promoted to ISO 639-1 (0)
- Category:Lang and lang-xx using deprecated ISO 639 codes (0)
TODO: (2024-09-22) rename these categories
See also
[سنواريو]Script error: No such module "Lang/documentor tool".
- {{crh}} – Supports Latin, Cyrillic, and Arabic Crimean Tatar text
- {{Lang}}
- {{Language with name/for}}
- List of ISO 639 language codes (language codes)
- {{IPA}}
- ↑ حوالي جي چڪ: Invalid
<ref>tag; no text was provided for refs namedinvertunset
<ref> آهن، پر لاڳاپيل ٽيگ <references group="lower-alpha"/> نہ مليو