විකිමීඩියා ප්රභේද පිටුව From Wikipedia, the free encyclopedia
This category is used to track {{Lang}}
and {{Lang-??}} template errors and other Module:Lang-related errors. This category is used only by Module:Lang.
මෙය විකිපීඩියා ව්යාපෘති නඩත්තුව සඳහා භාවිතාවන නඩත්තු ප්රවර්ගයකි. මෙය විශ්වකෝෂයෙහි කොටසක් නොවන අතර අන්තර්ගත වන්නේ ලිපි නොවන පිටු වේ. ලිපි ප්රවර්ගගත කිරීමේ දී මෙම ප්රවර්ගය භාවිතා නොකරන්න.
මෙය නිරීක්ෂණ ප්රවර්ගයකි. පිටු ලැයිස්තු තැනීමට හා නඩත්තු කිරීමට මෙය භාවිතා වේ—(ප්රධාන වශයෙන් ලැයිස්තු සඳහාම හෝ ලිපි සහ ප්රවර්ගවල භාවිතය සඳහා). මෙය විශ්වකෝෂයේ වර්ගීකරණ යෝජනා ක්රමයේ කොටසක් නොවේ.
පරිපාලකවරුනි: කරැණාකර මෙම ප්රවර්ගය හිස් වුවද මකා නොදමන්න! මෙම පණිවුඩයත් සමග තිබෙන ප්රවර්ග සමහර විට ඇතැම්විට යම්කිසි කාල සීමාවකට හෝ හිස්විය හැකියි.. |
Module:Lang consolidates the processing of {{Lang}}
and most of the Cat:Lang-x templates
templates. As part of that, the module 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:
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}} | text has italic markup; use |italic= to control italics in the rendering; accepted parameter values are yes , no , unset , and default ; see . |
{{Lang-xx}} | ||
text has malformed markup | {{Lang}} | text has invalid wiki markup ('''' or '''''' or more apostrophes). |
{{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 value assigned to |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}} |
The text has italic markup error commonly occurs for these reasons:
text
includes text written with more than one alphabet
{{Lang-grc|Ἀθῆναι, ''Athênai''}}
{{Lang-grc|Ἀθῆναι|translit=Athênai}}
→ පුරාතන ග්රීක: Ἀθῆναι, romanized: Athênai{{Lang-xx|<first text>|italic=<yes|no>|rtl=<yes|no>}} {{Lang|xx|<second text>}}
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{{Lang-sco|Dumbairton|italic=no}}
→ ස්කොට්ස්: Dumbairton{{Lang-ku|ههڵپهركێ}}
– text
holds a script that should not be italicized{{Lang-ku|ههڵپهركێ|italic=no|rtl=yes}}
→ සැකිල්ල:Lang-ku
|rtl=
to yes
or no
so that the template includes the correct html markup in the rendering)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''}}
{{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{{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ūhtext
includes italic wiki markup to 'turn off' italics for an inserted English-language conjunction between two non-English words or phrases:
{{Lang-lt}}
template:
{{Lang-lt|Rusijos lietuvių seimas Petrograde'' or ''Visos Rusijos lietuvių seimas}}
{{Lang-lt|Rusijos lietuvių seimas Petrograde}} or {{Lang|lt|Visos Rusijos lietuvių seimas}}
→ සැකිල්ල:Lang-lt or Visos Rusijos lietuvių seimas{{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 Wikipedia as being English.{{Lang-uk|''Українська Народна Міліція''}}
{{Lang-uk|Українська Народна Міліція}}
→ Ukrainian: Українська Народна МіліціяSeamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.