వర్గం:Lang and lang-xx template errors

This category is used to track 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 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 definitions
error message template description
missing language tag is empty; this parameter is required
|code= in the template's module is empty
unrecognized language tag: <tag> 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.
unrecognized language code: <code> 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.
unrecognized script: <script> for code: <code> 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.
unrecognized region: <region> for code: <code> 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.
unrecognized variant: <variant> 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.
unrecognized variant: <variant> for code: <code> 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.
unrecognized variant: <variant> for code-script pair: <code>-<script> 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.
no text is empty; this parameter is required
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 this error message currently disabled for 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.
text has malformed markup 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 &#39;.
redundant script tag both the script subtag in |code= in the template's module and |script= have assigned values; this error message indicates that (at present) only one of these is allowed.
redundant region tag both the region subtag in |code= in the template's module and |region= have assigned values; this error message indicates that (at present) only one of these is allowed.
redundant variant tag both the variant subtag in |code= in the template's module and |variant= have assigned values; this error message indicates that (at present) only one of these is allowed.
code / script mismatch: <code> / <script> where <code> is the IETF language tag specified in parameter |code= in the template's module 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: and మూస:Pipetext= this error occurs when positional and named parameters are used together
conflicting: and మూస:Pipetranslit=
conflicting: మూస:Pipelit= and మూస:Pipetranslation= only one of these aliases is permitted
conflicting: మూస:Pipelinks= and మూస:Pipelink=
script: <script> not supported for code: <code> where <script> is the second subtag or మూస:Pipescript=, 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.
Other Languages