వర్గం:Lang and lang-xx template errors
Jump to navigation
Jump to search
![]() | ఇదొక ట్రాకింగు వర్గం. పేజీల నిర్వహణ కోసం గాను, పేజీల జాబితాను తయారు చెయ్యడానికి ఈ వర్గం ఉపయోగపడుతుంది. ఇది విజ్ఞానసర్వస్వపు వర్గీకరణ వ్యవస్థలో భాగం కాదు.
మరింత సమాచారం:
|
![]() | నిర్వాహకులకు: ఈ వర్గం ఖాళీగా ఉన్నప్పటికీ తొలగించకండి! ఇది అప్పుడప్పుడూ ఖాళీగా ఉండవచ్చు. అసలు ఎక్కువ కాలం ఖాళీ గానే ఉండవచ్చు కూడా. |
This category is used to track {{lang}}
and {{lang-??}}
template errors. This category is used only by Module:Lang.
error messages
[మార్చు]At the time of this writing (2017-11-07 – revised 2017-12-31) Module:Lang is in development to consolidate the processing of {{lang}}
and the many {{lang-xx}}
templates. As part of that, the module now emits error messages when the template parameters are used inappropriately or when the data assigned to the parameters is malformed. The error messages have the form:
- [<text>] <error message> (help link)
where <text> is the text supplied to the template and rendered without proper html markup. Error messages are defined here:
error message | template | description |
---|---|---|
missing language tag | {{lang}} |
{{{1}}} is empty; this parameter is required
|
{{lang-xx}} |
|code= in the template's module {{#invoke:}} is empty
| |
unrecognized language tag: <tag> | {{lang}} |
where <tag> is the specified IETF language tag; this error message indicates that the tag is malformed or not listed in the module's data set. You must use a valid IETF language tag.
|
{{lang-xx}}
| ||
unrecognized language code: <code> | {{lang}} |
where <code> is the first subtag (the base language code) in the specified IETF language tag; this error message indicates that the <code> subtag is malformed or not listed in the module's data set. You must use a valid IETF language tag.
|
{{lang-xx}}
| ||
unrecognized script: <script> for code: <code> | {{lang}} |
where <script> is the second subtag and <code> is the first subtag in the specified IETF language tag; this error message indicates that the script subtag is malformed or not listed in the module's data set.
|
{{lang-xx}}
| ||
unrecognized region: <region> for code: <code> | {{lang}} |
where <region> is the third (or second if script omitted) subtag and <code> is the first subtag in the specified IETF language tag; this error message indicates that the region subtag is malformed or not listed in the module's data set.
|
{{lang-xx}}
| ||
unrecognized variant: <variant> | {{lang}} |
where <variant> is the last subtag in the specified IETF language tag; this error message indicates that the variant subtag has proper form (4 digits or 5–8 alphanumeric characters) but is not listed in the module's data set.
|
{{lang-xx}}
| ||
unrecognized variant: <variant> for code: <code> | {{lang}} |
where <variant> is the last subtag and <code> is the first subtag in the specified IETF language tag; this error message indicates that the variant subtag is a valid variant subtag but is not valid when used with the <code> subtag.
|
{{lang-xx}}
| ||
unrecognized variant: <variant> for code-script pair: <code>-<script> | {{lang}} |
where <variant> is the last subtag and <code>-<script> is the first and second subtags in the specified IETF language tag; this error message indicates that the variant subtag is a valid variant subtag but is not valid when used with the <code>-<script> subtags.
|
{{lang-xx}}
| ||
no text | {{lang}} |
{{{2}}} is empty; this parameter is required
|
{{lang-xx}} |
{{{1}}} is empty; this parameter is required – this error message often occurs when a {{lang-xx}} template used when an {{xx icon}} template is intended. This error can also occur if there is an equals sign (=) in the foreign-language text; use {{eq}} if an equals sign is needed.
| |
text has italic markup | {{lang}} |
this error message currently disabled for {{lang}} – text has italic markup; use |italic= to control italics in the rendering; accepted parameter values are yes , no , unset , and default ; see §italic markup errors.
|
{{lang-xx}}
| ||
text has malformed markup | {{lang}} |
text has invalid wiki markup ('''' or '''''' or more apostrophes). This message also appears when there are five apostrophes (a previous editor wanted bold and italic); remove two apostrophes on each side, since the template italicizes automatically. If the text within the template ends with an apostrophe, use ' .
|
{{lang-xx}}
| ||
redundant script tag | {{lang-xx}} |
both the script subtag in |code= in the template's module {{#invoke:}} and |script= have assigned values; this error message indicates that (at present) only one of these is allowed.
|
redundant region tag | {{lang-xx}} |
both the region subtag in |code= in the template's module {{#invoke:}} and |region= have assigned values; this error message indicates that (at present) only one of these is allowed.
|
redundant variant tag | {{lang-xx}} |
both the variant subtag in |code= in the template's module {{#invoke:}} and |variant= have assigned values; this error message indicates that (at present) only one of these is allowed.
|
code / script mismatch: <code> / <script> | {{lang-xx}} |
where <code> is the IETF language tag specified in parameter |code= in the template's module {{#invoke:}} and <script> is the content of the template's |script= parameter. If an IETF script subtag is part of <code> , |script= is superfluous; however, templates should not 'hard code' a script in its language code; this is especially important for languages that use more than one script.
|
conflicting: {{{1}}} and |text= | {{lang-xx}} |
this error occurs when positional and named parameters are used together |
conflicting: {{{2}}} and |translit= | ||
conflicting: |lit= and |translation= | {{lang-xx}} |
only one of these aliases is permitted |
conflicting: |links= and |link= | ||
script: <script> not supported for code: <code> | {{lang}} |
where <script> is the second subtag or |script=, and <code> is the first subtag in the specified IETF language tag; this error message indicates that the script subtag is not allowed (suppressed) when used with code; script may be safely omitted.
|
{{lang-xx}}
|
italic markup errors
[మార్చు]The text has italic markup error commonly occurs for these reasons:
text
includes text written with more than one alphabet- in this example, Ancient Greek with a Latin script transliteration (also called Romanization)
{{lang-grc|Ἀ
θ ῆν α ι , ''Athênai''}}
- the above should be rewritten
{{lang-grc|Ἀ
→ మూస:Lang-grcθ ῆν α ι |translit=Athênai}}
- A similar condition may exist for languages that have multiple writing systems, where the second is not a transliteration of the first but the actual text as written in the 'other' writing system. For such templates, consider writing:
{{lang-xx|<first text>|italic=<yes|no>|rtl=<yes|no>}} {{lang|xx|<second text>}}
- in this example, Ancient Greek with a Latin script transliteration (also called Romanization)
text
includes italic markup to override default italic markup set by the{{lang-xx}}
template (see the settings box in the template doc §Usage section){{lang-sco|''Dumbairton''}}
– 'Dumbairton' is a proper name so should not be italicized- the above should be rewritten
{{lang-sco|Dumbairton|italic=no}}
→ మూస:Lang-sco
- for languages like Kurdish that use more than one script and where the template default is to italicize
{{lang-ku|ههڵپهركێ}}
–text
holds a script that should not be italicized- the above should be rewritten:
{{lang-ku|ههڵپهركێ|italic=no|rtl=yes}}
→ మూస:Lang-ku- (it is prudent to set
|rtl=
toyes
orno
so that the template includes the correct html markup in the rendering)
- (it is prudent to set
- when
text
holds Latin transliterations of right-to-left languages like Arabic (no Arabic script), consider setting|script=Latn
so that the template removes the default right-to-left html markup from the rendering and automatically renders in italics:{{lang-ar|''min sallaf es-sabt lāqā el-ḥadd qiddāmūh''}}
- the above could be rewritten:
{{lang-ar|min sallaf es-sabt lāqā el-ḥadd qiddāmūh|script=Latn}}
→ అరబ్బీ: min sallaf es-sabt lāqā el-ḥadd qiddāmūh
- but, consider using the perhaps more semantically correct
{{transl}}
instead:[[Romanization of Arabic|Arabic]]: ''{{transl|ar|min sallaf es-sabt lāqā el-ḥadd qiddāmūh}}''
→ Arabic: min sallaf es-sabt lāqā el-ḥadd qiddāmūh
text
includes italic wiki markup to 'turn off' italics for an inserted English-language conjunction between two non-English words or phrases:- in this example, an English-language conjunction, 'or', is inserted between two Lithuanian phrases; English is not Lithuanian so does not belong inside of the
{{lang-lt}}
template:{{lang-lt|Rusijos lietuvių seimas Petrograde'' or ''Visos Rusijos lietuvių seimas}}
- the above should be rewritten:
{{lang-lt|Rusijos lietuvių seimas Petrograde}} or {{lang|lt|Visos Rusijos lietuvių seimas}}
→ మూస:Lang-lt or Visos Rusijos lietuvių seimas
- in this example, an English-language conjunction, 'or', is inserted between two Lithuanian phrases; English is not Lithuanian so does not belong inside of the
- When the template is
{{lang-en}}
or{{lang|en|...}}
, consider removing the template; this is the English Wikipedia, it is not usually necessary to identify English text in the English Wikipeda as being English. - Sometimes the inclusion of italic markup is just wrong.
- For example, Cyrillic text is generally not to be rendered in italic font; see MOS:FOREIGNITALIC.
{{lang-uk|''Українська Народна Міліція''}}
- the above should be rewritten:
{{lang-uk|Українська Народна Міліція}}
→ Ukrainian: Українська Народна Міліція
- For example, Cyrillic text is generally not to be rendered in italic font; see MOS:FOREIGNITALIC.
వర్గం "Lang and lang-xx template errors" లో వ్యాసాలు
ఈ వర్గం లోని మొత్తం 105 పేజీలలో కింది 105 పేజీలున్నాయి.
I
- మూస:Infobox body of water
- మూస:Infobox sea
- మూస:Infobox body of water/doc
- మూస:Infobox Buddhist term
- మూస:Infobox Buddhist term/doc
- మూస:Infobox comics creator
- మూస:Infobox comics creator/doc
- మూస:Infobox document
- మూస:Infobox document/doc
- మూస:Infobox Hindu leader
- మూస:Infobox Hindu leader/doc
- మూస:Infobox lake/doc
- మూస:Infobox river
- మూస:Infobox river/doc
- మూస:Infobox sea/doc
- మూస:Infobox war faction/doc