Module:labels/data
This module contains the data used by Module:labels and, by extension, the templates {{lb}}
and {{tlb}}
. It lists all recognised labels, except the many in the submodules, along with other information.
The following are two of several submodules that exist:
The regional and topical labels are all available through {{lb}}
. In addition, there are language-specific labels; the full list of these submodules can be found here. Language-specific labels override other ones.
Each language data module exports a single table containing labels and/or aliases. The keys of these tables are label identifiers (passed to the templates), while the values are described below.
Labels
[jhyuk]labels
contains most data associated with the actual labels.
The following values are supported:
display
- The wikitext to display for the label. If this is omitted, the displayed text will default to the label's identifier.
glossary
- The anchor in Appendix:Glossary to link to.
glossary = true
means that the anchor is identical to the label. Wikipedia
- The article in English Wikipedia to link to.
Wikipedia = true
means that the article's title is identical to the label. - For
glossary
andWikipedia
, the link text will be identical to the label. To show different link text, change the text of the label (while addingaliases["<old_label>"] = "<new_label>"
), or add a piped link todisplay
. plain_categories
- A string specifying the category that this label should add to the page, or a list of such categories. The value
true
can be used if the category is the same as the label (the first character of the label will be uppercased automatically). The categories are not adjusted depending on the language; they will be taken verbatim, and entries in all languages will be added to the same category. As this is generally undesirable, theplain_categories
value should only be used when a label would only ever be used for a single language. For example, the labelE number
setsplain_categories = "European food additive numbers"
, and the labelCockney rhyming slang
setsplain_categories = true
. It is preferable to usetrue
or a single string if possible (instead of a single-element list), to save memory. topical_categories
- A string specifying the language-dependent topical category that this label should add to the page, or a list of such categories. These categories are of the form
[language code]:[category name]
, e.g. if the labeldisease
specifiestopical_categories = "Diseases"
, an English entry using this label will be added to Category:en:Diseases. The valuetrue
can be used if the category is the same as the label (the first character of the label will be uppercased automatically). For example,physics
specifiestopical_categories = true
, meaning that e.g. a French entry using this label will be added to Category:fr:Physics. It is preferable to usetrue
or a single string if possible (instead of a single-element list), to save memory. pos_categories
- A string specifying the language-dependent part-of-speech-like category that this label should add to the page, or a list of such categories. These categories are of the form
[language name] [category name]
, e.g. if the labelacronym
specifiespos_categories = "acronyms"
, an English entry using this label will be added to Category:English acronyms. The valuetrue
can be used if the category is the same as the label. For example,back slang
specifiespos_categories = true
, meaning that e.g. a French entry using this label will be added to Category:French back slang. It is preferable to usetrue
or a single string if possible (instead of a single-element list), to save memory. sense_categories
- A string specifying the sense-dependent category that this label should add to the page, or a list of such categories. These categories are of the form
[language name] terms with [category name] senses
(when using{{lb}}
) or[language name] [category name] terms
(when using{{tlb}}
). For example, if the labelvery rare
specifiessense_categories = "rare"
, an English entry using this label will be added to Category:English terms with rare senses (if{{lb}}
is used) or Category:English rare terms (if{{tlb}}
is used). The valuetrue
can be used if the category is the same as the label. For example,archaic
specifiessense_categories = true
, meaning that e.g. a French entry using this label will be added to Category:French terms with archaic senses (if{{lb}}
is used) or Category:French archaic terms (if{{tlb}}
is used). It is preferable to usetrue
or a single string if possible (instead of a single-element list), to save memory. regional_categories
- A string specifying the language-dependent regional/dialect category that this label should add to the page, or a list of such categories. These categories are of the form
[category name] [language name]
, e.g. if the labelAlgeria
specifiesregional_categories = "Algerian"
, a French entry using this label will be added to Category:Algerian French. The valuetrue
can be used if the category is the same as the label (the first character of the label will be uppercased automatically). For example,regional
specifiesregional_categories = true
, meaning that e.g. an English entry using this label will be added to Category:Regional English. It is preferable to usetrue
or a single string if possible (instead of a single-element list), to save memory. deprecated
- Marks the label as deprecated if the value is set to true. When a deprecated label identifier is used, the label is wrapped in
<span class="deprecated-label"></span>
and the page is added to Category:Entries with deprecated labels.
Aliases
[jhyuk]Aliases work like redirects to proper labels. When a label is defined here, it "behaves" as if it were the label it "redirects" to. For example, if "American"
is listed as an alias of "US"
, then whenever the label "American"
is used in an entry, it's treated as if the label "US"
had been used in its place.
{{label|en|US}} |
→ | (US) |
{{label|en|American}} |
→ | (US) |
The label that an alias points to does not have to be defined in the list itself. So if you want to make "American"
an alias of "US"
, but do not create a full label for "US"
, that works too.
Double aliases (an alias of another alias) are not supported, and will cause a script error if used.
For a single alias, you can use:
labels["<alternative label>"] = "<label with data table>"
For a list of aliases, you can use:
alias("<label with data table>", {"<alternative label 1>", "<alternative label 2>", ... "<alternative label n>"})
To mark an alias (but not the label it points to) as deprecated, some more involved syntax is required:
labels["<alternative label>"] = { alias_of = "<label with data table>", deprecated = true }
local labels = {}
-- Grammatical labels
labels["abbreviation"] = {
display = "[[abbreviation]]",
pos_categories = "abbreviations",
}
labels["abstract noun"] = {
display = "abstract",
glossary = true,
pos_categories = "abstract nouns",
}
labels["acronym"] = {
display = "[[acronym]]",
pos_categories = "acronyms",
}
labels["active voice"] = {
aliases = {"active", "in the active"},
glossary = true,
}
labels["ambitransitive"] = {
display = "[[transitive]], [[intransitive]]",
pos_categories = {"transitive verbs", "intransitive verbs"},
}
labels["angry register"] = {
aliases = {"angry", "anger", "said in anger"},
glossary = true,
pos_categories = "angry register terms",
}
labels["animate"] = {
glossary = true,
}
labels["indicative"] = {
aliases = {"in the indicative", "indicative mood"},
glossary = "indicative mood",
}
labels["subjunctive"] = {
aliases = {"in the subjunctive", "subjunctive mood"},
glossary = "subjunctive mood",
}
labels["imperative"] = {
aliases = {"in the imperative", "imperative mood"},
glossary = "imperative mood",
}
labels["jussive"] = {
aliases = {"in the jussive", "jussive mood"},
glossary = "jussive mood",
}
labels["archaic-verb-form"] = {
glossary = "archaic",
display = "archaic",
pos_categories = "archaic verb forms",
}
labels["atelic"] = {
glossary = true,
}
labels["attenuative"] = {
pos_categories = "attenuative verbs",
}
labels["attributive"] = {
display = "[[Appendix:English nouns#Attributive|attributive]]",
}
labels["attributively"] = {
display = "[[Appendix:English nouns#Attributive|attributively]]",
}
labels["auxiliary"] = {
glossary = true,
pos_categories = "auxiliary verbs",
}
labels["broadly"] = {
glossary = true,
}
labels["cardinal"] = {
display = "[[cardinal number]]",
pos_categories = "cardinal numbers",
}
labels["catenative"] = {
glossary = "catenative verb",
}
labels["causative"] = {
display = "[[causative]]",
}
labels["causative verb"] = {
display = "causative",
pos_categories = "causative verbs",
}
labels["cognate object"] = {
aliases = {"with cognate object"},
display = "with [[w:Cognate object|cognate object]]",
pos_categories = "verbs used with cognate objects",
}
labels["collective"] = {
glossary = true,
display = "collective",
pos_categories = "collective nouns",
}
labels["collectively"] = {
glossary = "collective",
display = "collectively",
pos_categories = "collective nouns",
}
labels["control verb"] = {
aliases = {"control"},
Wikipedia = true,
pos_categories = "control verbs",
}
labels["common"] = {
glossary = true,
}
labels["comparable"] = {
glossary = true,
}
labels["completive"] = {
pos_categories = "completive verbs",
}
labels["copulative"] = {
aliases = {"copular"},
display = "[[copular verb|copulative]]",
pos_categories = "copulative verbs",
}
labels["countable"] = {
glossary = true,
pos_categories = "countable nouns",
}
labels["cumulative"] = {
pos_categories = "cumulative verbs",
}
labels["delimitative"] = {
pos_categories = "delimitative verbs",
}
labels["deponent"] = {
glossary = true,
pos_categories = "deponent verbs",
}
labels["distributive"] = {
pos_categories = "distributive verbs",
}
labels["ditransitive"] = {
glossary = true,
pos_categories = "ditransitive verbs",
}
labels["dysphemistic"] = {
aliases = {"dysphemism"},
Wikipedia = "Dysphemism",
pos_categories = "dysphemisms",
}
labels["by ellipsis"] = {
display = "by [[ellipsis]]",
pos_categories = "ellipses",
}
labels["emphatic"] = {
glossary = true,
}
labels["ergative"] = {
glossary = true,
pos_categories = "ergative verbs",
}
labels["by extension"] = {
aliases = {"hence"},
}
labels["feminine"] = {
glossary = true,
}
labels["focus"] = {
glossary = true,
pos_categories = "focus adverbs",
}
labels["fractional"] = {
display = "[[fractional number]]",
pos_categories = "fractional numbers",
}
labels["frequentative"] = {
glossary = true,
display = "frequentative",
pos_categories = "frequentative verbs",
}
labels["hedge"] = {
aliases = {"hedges"},
glossary = true,
pos_categories = "hedges",
}
labels["ideophonic"] = {
aliases = {"ideophone"},
glossary = true,
}
labels["idiomatic"] = {
aliases = {"idiom", "idiomatically"},
glossary = true,
pos_categories = "idioms",
}
labels["imperfect"] = {
glossary = true,
}
labels["imperfective"] = {
glossary = true,
pos_categories = "imperfective verbs",
}
labels["impersonal"] = {
glossary = true,
pos_categories = "impersonal verbs",
}
labels["in the singular"] = {
aliases = {"in singular"},
deprecated_aliases = {"singular"},
display = "in the [[singular]]",
}
labels["in the dual"] = {
aliases = {"in dual"},
deprecated_aliases = {"dual"},
display = "in the [[dual]]",
}
labels["in the plural"] = {
aliases = {"in plural"},
deprecated_aliases = {"plural"},
display = "in the [[Appendix:Glossary#plural|plural]]",
}
labels["inanimate"] = {
glossary = true,
}
labels["inchoative"] = {
pos_categories = "inchoative verbs",
}
labels["indefinite"] = {
aliases = {"indef"},
display = "[[indefinite]]",
}
labels["initialism"] = {
display = "[[initialism]]",
pos_categories = "initialisms",
}
labels["intensive verb"] = {
display = "intensive",
pos_categories = "intensive verbs",
}
labels["intransitive"] = {
glossary = true,
pos_categories = "intransitive verbs",
}
labels["IPA"] = {
aliases = {"International Phonetic Alphabet"},
Wikipedia = "International Phonetic Alphabet",
plain_categories = "IPA symbols",
}
labels["iterative"] = {
glossary = true,
pos_categories = "iterative verbs",
}
labels["litotes"] = {
aliases = {"litote", "litotic", "litotical"},
glossary = true,
pos_categories = true,
}
labels["masculine"] = {
glossary = true,
}
labels["mediopassive"] = {
aliases = {"in the mediopassive", "in mediopassive"},
glossary = true,
}
labels["meiosis"] = {
aliases = {"meioses", "meiotic"},
glossary = true,
pos_categories = "meioses",
}
labels["middle voice"] = {
aliases = {"middle", "in the middle", "in the middle voice"},
glossary = true,
}
labels["mnemonic"] = {
display = "[[mnemonic]]",
pos_categories = "mnemonics",
}
labels["modal"] = {
Wikipedia = "Modality (linguistics)",
}
labels["chiefly in the negative"] = {
aliases = {"chiefly used in the negative", "negative polarity", "negative polarity item", "usually in the negative", "usually used in the negative"},
glossary = "negative polarity item",
pos_categories = "negative polarity items",
}
labels["chiefly in the positive"] = {
aliases = {"chiefly used in the positive", "positive polarity", "positive polarity item", "usually in the positive", "usually used in the positive"},
glossary = "positive polarity item",
-- pos_categories = {"positive polarity items"},
}
labels["neuter"] = {
glossary = true,
}
-- British English ("ise")
labels["nominalised"] = {
aliases = {"nominalisation", "substantivised", "substantivisation"},
display = "[[Appendix:Glossary#nominalization|nominalised]]",
pos_categories = "nominalized adjectives",
}
-- American English ("ize")
labels["nominalized"] = {
aliases = {"nominalization", "substantivized", "substantivization"},
display = "[[Appendix:Glossary#nominalization|nominalized]]",
pos_categories = "nominalized adjectives",
}
labels["not comparable"] = {
aliases = {"notcomp", "uncomparable"},
display = "[[Appendix:Glossary#uncomparable|not comparable]]",
}
labels["numeronym"] = {
glossary = true,
pos_categories = "numeronyms",
}
labels["onomatopoeia"] = {
display = "[[onomatopoeia]]",
pos_categories = "onomatopoeias",
}
labels["ordinal"] = {
display = "[[ordinal number]]",
pos_categories = "ordinal numbers",
}
labels["partitive verb"] = {
display = "[[Appendix:Glossary#transitive|transitive]], usually [[Appendix:Finnic telic and atelic verbs|atelic]]",
--pos_categories = {"partitive verbs"},
}
labels["perfect"] = {
glossary = true,
}
labels["participle"] = {
glossary = true,
}
labels["passive voice"] = {
aliases = {"passive", "in the passive"},
glossary = true,
}
labels["perfect"] = {
glossary = true,
}
labels["perfective"] = {
glossary = true,
pos_categories = "perfective verbs",
}
labels["plural only"] = {
aliases = {"pluralonly", "plurale tantum"},
pos_categories = "pluralia tantum",
}
labels["possessional adjective"] = {
aliases = {"possessional", "possessional adjectives"},
display = "possessional",
glossary = true,
pos_categories = "possessional adjectives",
}
labels["possessive pronoun"] = {
display = "possessive",
pos_categories = "possessive pronouns",
}
labels["postpositive"] = {
glossary = true,
}
labels["predicative"] = {
display = "[[Appendix:Glossary#predicative|predicative]]",
}
labels["predicatively"] = {
display = "[[Appendix:Glossary#predicative|predicatively]]",
}
labels["privative"] = {
pos_categories = "privative verbs",
}
labels["procedure word"] = {
display = "[[procedure word]]",
}
labels["productive"] = {
display = "[[productive]]",
}
-- TODO: This label is probably inappropriate for many languages
labels["pronominal"] = {
display = "takes a [[Appendix:Glossary#reflexive|reflexive pronoun]]",
}
labels["pro-verb"] = {
Wikipedia = true,
}
labels["reciprocal"] = {
glossary = true,
pos_categories = "reciprocal verbs",
}
labels["reflexive"] = {
glossary = true,
pos_categories = "reflexive verbs",
}
labels["reflexive pronoun"] = {
display = "[[Appendix:Glossary#reflexive|reflexive]]",
pos_categories = "reflexive pronouns",
}
labels["relational"] = {
glossary = true,
pos_categories = "relational adjectives",
}
labels["repetitive"] = {
pos_categories = "repetitive verbs",
}
labels["reversative"] = {
pos_categories = "reversative verbs",
}
labels["rhetorical question"] = {
glossary = true,
pos_categories = "rhetorical questions",
}
labels["saturative"] = {
aliases = {"sative"},
pos_categories = "saturative verbs",
}
labels["semelfactive"] = {
glossary = true,
pos_categories = "semelfactive verbs",
}
labels["sentence adverb"] = {
glossary = true,
pos_categories = "sentence adverbs",
}
labels["set phrase"] = {
display = "[[set phrase]]",
}
labels["simile"] = {
glossary = true,
pos_categories = "similes",
}
labels["singular only"] = {
aliases = {"singulare tantum", "no plural"},
display = "singular only",
pos_categories = "singularia tantum",
}
labels["snowclone"] = {
glossary = true,
pos_categories = "snowclones",
}
labels["stative"] = {
aliases = {"stative verb"},
Wikipedia = "stative verb",
pos_categories = "stative verbs",
}
labels["strictly"] = {
aliases = {"strict", "narrowly", "narrow"},
glossary = true,
}
labels["substantive"] = {
glossary = true,
track = true,
}
labels["terminative"] = {
pos_categories = "terminative verbs",
}
labels["transitive"] = {
glossary = true,
pos_categories = "transitive verbs",
}
labels["unaccusative"] = {
Wikipedia = "Unaccusative verb",
}
labels["uncountable"] = {
glossary = true,
pos_categories = "uncountable nouns",
}
labels["unergative"] = {
Wikipedia = "Unergative verb",
}
labels["usually plural"] = {
aliases = {"usually in the plural", "usually in plural"},
display = "usually in the [[plural]]",
deprecated = true,
}
-- Usage labels
labels["4chan"] = {
display = "[[w:4chan|4chan]]",
pos_categories = "4chan slang",
}
labels["ACG"] = {
display = "[[ACG]]",
-- see also "fandom slang"
pos_categories = "fandom slang",
}
labels["advertising slang"] = {
aliases = {"ad slang", "cosmo"},
pos_categories = true,
}
labels["endearing"] = {
aliases = {"affectionate"},
display = "[[endearing]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = "endearing terms",
}
labels["pre-classical"] = {
aliases = {"Pre-classical", "pre-Classical", "Pre-Classical", "Preclassical", "preclassical", "ante-classical", "Ante-classical", "ante-Classical", "Ante-Classical", "Anteclassical", "anteclassical"},
display = "pre-Classical",
regional_categories = true,
}
labels["archaic"] = {
aliases = {"antiquated"},
glossary = true,
sense_categories = true,
}
labels["Australian slang"] = {
regional_categories = "Australian",
plain_categories = true,
}
labels["avoidance"] = {
glossary = true,
}
labels["back slang"] = {
aliases = {"backslang", "back-slang"},
display = "[[Appendix:Glossary#backslang|back slang]]",
pos_categories = true,
}
labels["Bargoens"] = {
Wikipedia = true,
plain_categories = true,
}
labels["Braille"] = {
Wikipedia = true,
}
labels["British slang"] = {
aliases = {"UK slang"},
plain_categories = true,
}
labels["buzzword"] = {
display = "[[buzzword]]",
pos_categories = "buzzwords",
}
labels["Cambridge University slang"] = {
aliases = {"University of Cambridge slang", "Cantab slang"},
display = "[[w:University of Cambridge|Cambridge University]] [[slang]]",
topical_categories = "Universities",
plain_categories = true,
}
labels["cant"] = {
aliases = {"argot", "cryptolect"},
display = "[[cant]]",
pos_categories = true,
}
labels["capitalized"] = {
display = "[[capitalisation|capitalized]]",
}
labels["Castilianism"] = {
aliases = {"Hispanicism"},
display = "[[Castilianism]]",
}
labels["childish"] = {
aliases = {"baby talk", "child language", "infantile"},
display = "[[childish]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = "childish terms",
}
labels["chu Nom"] = {
display = "[[Vietnamese]] [[chữ Nôm]]",
plain_categories = "Vietnamese Han tu",
}
labels["Classic 1811 Dictionary of the i Tongue"] = {
aliases = {"1811"},
display = "[[Appendix:Glossary#archaic|archaic]], [[Appendix:Glossary#slang|slang]]",
plain_categories = "Classic 1811 Dictionary of the Vulgar Tongue",
}
labels["Cockney rhyming slang"] = {
display = "[[Cockney rhyming slang]]",
plain_categories = true,
}
labels["colloquial"] = {
aliases = {"colloquially"},
glossary = true,
pos_categories = "colloquialisms",
}
-- FIXME! The following two are apparently for Persian but probably don't belong in this file.
labels["colloquial-um"] = {
glossary = "colloquial",
pos_categories = "colloquialisms containing sequence um",
}
labels["colloquial-un"] = {
glossary = "colloquial",
pos_categories = "colloquialisms containing sequence un",
}
labels["corporate jargon"] = {
aliases = {"business jargon", "corporatese", "businessese", "corporate speak", "business speak"},
display = "[[corporate]] [[jargon]]",
pos_categories = true,
}
labels["costermongers"] = {
aliases = {"coster", "costers", "costermonger", "costermongers back slang", "costermongers' back slang"},
display = "[[Appendix:Costermongers' back slang|costermongers]]",
plain_categories = "Costermongers' back slang",
}
labels["criminal slang"] = {
display = "[[criminal]] [[slang]]",
topical_categories = "Crime",
pos_categories = true,
}
labels["dated"] = {
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = "dated terms",
}
labels["dated form"] = {
glossary = "dated",
pos_categories = "dated forms",
}
-- combine with previous?
labels["dated sense"] = {
glossary = "dated",
sense_categories = "dated",
}
labels["derogatory"] = {
aliases = {"pejorative", "derogative", "disparaging"},
display = "[[derogatory]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = "derogatory terms",
}
labels["dialect"] = {-- separated from "dialectal" so e.g. "obsolete|outside|the|_|dialect|of..." displays right
display = "[[Appendix:Glossary#dialectal|dialect]]",
pos_categories = {"dialectal terms"},
}
labels["dialectal"] = {
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = "dialectal terms",
}
labels["dialects"] = {-- separated from "dialectal" so e.g. "obsolete|outside|dialects" displays right
display = "[[Appendix:Glossary#dialectal|dialects]]",
pos_categories = {"dialectal terms"},
}
labels["dismissal"] = {
display = "[[dismissal]]",
pos_categories = "dismissals",
}
labels["drag slang"] = {
aliases = {"Drag Race slang"},
display = "[[drag]] [[slang]]",
}
labels["solemn"] = {
glossary = true,
pos_categories = "solemn terms",
}
labels["ecclesiastical"] = {
pos_categories = "ecclesiastical terms",
}
labels["ethnic slur"] = {
aliases = {"racial slur"},
display = "[[ethnic]] [[slur]]",
pos_categories = "ethnic slurs",
}
labels["euphemistic"] = {
aliases = {"euphemism"},
glossary = "euphemism",
pos_categories = "euphemisms",
}
labels["eye dialect"] = {
display = "[[eye dialect]]",
pos_categories = true,
}
labels["familiar"] = {
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = "familiar terms",
}
labels["fandom slang"] = {
aliases = {"fandom"},
display = "[[fandom]] [[slang]]",
pos_categories = true,
}
labels["figurative"] = {
aliases = {"metaphorical", "metaphoric", "metaphor"},
glossary = "figurative",
}
labels["figuratively"] = {
aliases = {"metaphorically"},
glossary = "figurative",
}
labels["folk poetic"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = {"folk poetic terms", "poetic terms"},
}
labels["formal"] = {
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = "formal terms",
}
labels["gay slang"] = {
display = "[[gay]] [[slang]]",
pos_categories = true,
}
labels["gender-neutral"] = {
glossary = "epicene",
pos_categories = "gender-neutral terms",
}
labels["genericized trademark"] = {
aliases = {"generic trademark", "proprietary eponym"},
display = "[[genericized trademark]]",
pos_categories = "genericized trademarks",
}
labels["hapax legomenon"] = {
aliases = {"hapax"},
display = "hapax",
glossary = true,
pos_categories = "hapax legomena",
}
labels["higher register"] = {
aliases = {"high register", "elevated register", "elevated"},
glossary = "higher register",
pos_categories = "higher register terms",
}
labels["historical"] = {
aliases = {"historic"},
glossary = true,
sense_categories = true,
}
labels["non-native speakers"] = {-- language-agnostic version
aliases = {"NNS"},
display = "[[non-native speaker]]s", -- so preceded by "used by", "error by children and", etc? or reword?
regional_categories = {"Non-native speakers'"},
}
labels["non-native speakers' English"] = {
aliases = {"NNES", "NNSE"},
display = "[[non-native speaker]]s' English",
regional_categories = "Non-native speakers'",
}
labels["pidgin"] = {
display = "[[pidgin]]",
regional_categories = true,
}
-- used exclusively by languages that use the “Jpan” script code
labels["historical hiragana"] = {
pos_categories = true,
}
-- used exclusively by languages that use the “Jpan” script code
labels["historical katakana"] = {
pos_categories = true,
}
-- applies to Japanese and Korean, etc., please do not confuse with "polite"
labels["honorific"] = {
Wikipedia = "Honorifics (linguistics)",
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = "honorific terms",
}
-- for Ancient Greek
labels["Homeric epithet"] = {
display = "[[Homeric Greek|Homeric]] [[w:Homeric epithets|epithet]]",
omit_postComma = true,
plain_categories = "Epic Greek",
}
-- applies to Japanese and Korean, etc.
labels["humble"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
display = "[[humble]]",
pos_categories = "humble terms",
}
-- for Akkadian
labels["in hendiadys"] = {
aliases = {"hendiadys"},
pos_categories = "hendiadys",
}
labels["humorous"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp; NB and cf a similar "jocular" label further up on this page
aliases = {"humorously", "jocular"},
display = "[[humorous]]",
pos_categories = "humorous terms",
}
labels["hyperbolic"] = {
aliases = {"hyperbole"},
display = "[[Appendix:Glossary#hyperbolic|hyperbolic]]",
pos_categories = "hyperboles",
}
labels["hypercorrect"] = {
glossary = true,
pos_categories = "hypercorrections",
}
labels["hyperforeign"] = {
glossary = true,
pos_categories = "hyperforeign terms",
}
labels["imperial"] = {
aliases = {"emperor", "empress"},
pos_categories = "royal terms",
}
labels["incel slang"] = {
display = "[[incel]] [[slang]]",
pos_categories = true,
}
labels["informal"] = {
aliases = {"informally"},
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = "informal terms",
}
labels["Internet slang"] = {
aliases = {"internet slang"},
display = "[[Internet]] [[slang]]",
pos_categories = "internet slang",
}
labels["IRC"] = {
display = "[[IRC]]",
pos_categories = "internet slang",
}
labels["ironic"] = {
display = "[[irony|ironic]]",
}
-- Not the same as "journalism", which maps to a topical category (e.g. [[:Category:en:Journalism]], instead of [[:Category:English journalistic terms]]).
labels["journalistic"] = {
aliases = {"journalese"},
display = "[[journalistic]]",
pos_categories = "journalistic terms",
}
labels["leet"] = {
aliases = {"leetspeak"},
display = "[[leetspeak]]",
pos_categories = true,
}
labels["literal"] = {
glossary = "literally",
}
labels["literally"] = {
glossary = "literally",
}
labels["literary"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp
aliases = {"bookish"},
glossary = true,
pos_categories = "literary terms",
}
labels["loosely"] = {
glossary = true,
}
labels["Lubunyaca"] = {
display = "[[Lubunyaca]]",
pos_categories = true,
}
labels["medical slang"] = {
display = "[[medical]] [[slang]]",
pos_categories = true,
}
-- for Awetí, Karajá, etc., where men and women use different words
labels["men's speech"] = {
aliases = {"male speech"},
glossary = "men's speech",
pos_categories = "men's speech terms",
}
labels["metonymically"] = {
aliases = {"metonymic", "metonymy", "metonym"},
glossary = true,
pos_categories = "metonyms",
}
labels["military slang"] = {
display = "[[military]] [[slang]]",
pos_categories = true,
}
labels["minced oath"] = {
display = "[[minced oath]]",
pos_categories = "minced oaths",
}
labels["nativising coinage"] = {
display = "[[w:Linguistic purism in Korean|nativising coinage]]",
pos_categories = "nativising coinages",
}
labels["naval slang"] = {
aliases = {"navy slang"},
display = "[[naval]] [[slang]]",
pos_categories = true,
}
labels["neologism"] = {
aliases = {"neologistic"},
glossary = true,
pos_categories = "neologisms",
}
labels["neopronoun"] = {
display = "[[neopronoun]]",
-- pos_categories = {"neopronouns"},
}
labels["no longer productive"] = {
display = "no longer [[Appendix:Glossary#productive|productive]]",
}
labels["nonce word"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
aliases = {"nonce"},
display = "[[Appendix:Glossary#nonce word|nonce word]]",
pos_categories = "nonce terms",
}
labels["nonstandard"] = {
aliases = {"non-standard"},
glossary = true,
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = "nonstandard terms",
}
labels["nonstandard form"] = {
glossary = "nonstandard",
pos_categories = "nonstandard forms",
}
labels["obsolete"] = {
glossary = true,
sense_categories = true,
}
labels["obsolete term"] = {
glossary = "obsolete",
-- combine with previous two, q.v.
pos_categories = "obsolete terms",
}
labels["offensive"] = {
display = "[[offensive]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp
pos_categories = "offensive terms",
}
labels["officialese"] = {
aliases = {"bureaucratic"},
display = "[[officialese]]",
pos_categories = "officialese terms",
}
labels["Oxbridge slang"] = {
display = "[[w:Oxbridge|Oxbridge]] [[slang]]",
topical_categories = "Universities",
plain_categories = {"Cambridge University slang", "Oxford University slang"},
}
labels["Oxford University slang"] = {
aliases = {"University of Oxford slang", "Oxon slang"},
display = "[[w:University of Oxford|Oxford University]] [[slang]]",
topical_categories = "Universities",
plain_categories = true,
}
labels["poetic"] = {
-- should be "terms with X senses", leaving "X terms" to the term-context temp
display = "[[poetic]]",
pos_categories = "poetic terms",
}
labels["polite"] = {
pos_categories = "polite terms",
}
labels["post-classical"] = {
aliases = {"Post-classical", "post-Classical", "Post-Classical", "Postclassical", "postclassical"},
display = "post-Classical",
regional_categories = true,
}
labels["prison slang"] = {
display = "[[prison]] [[slang]]",
pos_categories = true,
}
labels["proscribed"] = {
glossary = true,
pos_categories = "proscribed terms",
}
labels["puristic"] = {
aliases = {"purism"},
Wikipedia = "Linguistic purism",
pos_categories = "puristic terms",
}
labels["radio slang"] = {
display = "[[radio]] [[slang]]",
pos_categories = true,
}
labels["Reddit slang"] = {
display = "[[Reddit]] slang",
pos_categories = true,
}
labels["rare"] = {
aliases = {"rare sense"},
display = "[[Appendix:Glossary#rare|rare]]",
sense_categories = true,
}
labels["rare term"] = {
display = "rare",
-- see comments about "obsolete"
pos_categories = "rare terms",
}
-- cf Cockney rhyming slang
labels["rhyming slang"] = {
display = "[[rhyming slang]]",
pos_categories = true,
}
labels["religious slur"] = {
aliases = {"sectarian slur"},
display = "[[religious]] [[slur]]",
pos_categories = "religious slurs",
}
labels["retronym"] = {
glossary = true,
pos_categories = "retronyms",
}
labels["reverential"] = {
pos_categories = "reverential terms",
}
labels["royal"] = {
aliases = {"regal"},
pos_categories = "royal terms",
}
labels["sarcastic"] = {
display = "[[sarcastic]]",
pos_categories = "sarcastic terms",
}
labels["school slang"] = {
aliases = {"public school slang"},
display = "[[school]] [[slang]]",
pos_categories = true,
}
labels["self-deprecatory"] = {
aliases = {"self-deprecating"},
display = "[[self-deprecatory]]",
-- should be "terms with X senses", leaving "X terms" to the term-context temp?
pos_categories = "self-deprecatory terms",
}
-- Swahili Sheng cant / argot
labels["Sheng"] = {
Wikipedia = "Sheng slang",
plain_categories = true,
}
labels["siglum"] = {
aliases = {"sigla"},
glossary = true,
pos_categories = "sigla",
}
labels["slang"] = {
glossary = true,
pos_categories = true,
}
labels["university slang"] = {
aliases = {"college slang", "student slang"},
display = "[[university]] [[slang]]",
topical_categories = "Universities",
pos_categories = "student slang",
}
labels["swear word"] = {
aliases = {"profanity", "expletive"},
pos_categories = "swear words",
}
labels["syncopated"] = {
aliases = {"syncope", "syncopic", "syncopation"},
glossary = true,
pos_categories = "syncopic forms",
}
labels["technical"] = {
display = "[[technical]]",
pos_categories = "technical terms",
}
labels["telic"] = {
glossary = true,
}
labels["text messaging"] = {
aliases = {"texting"},
display = "[[text messaging]]",
pos_categories = "text messaging slang",
}
labels["thieves' cant"] = {
aliases = {"thieves cant", "thieves'", "thieves"},
Wikipedia = true,
plain_categories = true,
}
labels["thieves’ cant"] = {
Wikipedia = true,
plain_categories = "Thieves' cant",
}
labels["tone indicator"] = {
display = "[[tone indicator]]",
pos_categories = "tone indicators",
}
labels["trademark"] = {
display = "[[trademark]]",
pos_categories = "trademarks",
}
labels["transferred sense"] = {
glossary = true,
pos_categories = "terms with transferred senses",
}
labels["transferred senses"] = {
display = "[[transferred sense#English|transferred senses]]",
pos_categories = "terms with transferred senses",
}
labels["transgender slang"] = {
display = "[[transgender]] [[slang]]",
pos_categories = true,
}
labels["Twitch-speak"] = {
display = "[[Twitch-speak]]",
pos_categories = true,
}
labels["uds."] = {
display = "[[Appendix:Spanish pronouns#Ustedes and vosotros|used formally in Spain]]",
}
labels["uncommon"] = {
display = "[[Appendix:Glossary#uncommon|uncommon]]",
sense_categories = true,
}
labels["verlan"] = {
display = "[[Appendix:Glossary#verlan|verlan]]",
plain_categories = true,
}
labels["very rare"] = {
display = "very [[Appendix:Glossary#rare|rare]]",
sense_categories = "rare",
}
labels["vulgar"] = {
aliases = {"coarse", "obscene", "profane"},
glossary = true,
pos_categories = "vulgarities",
}
labels["vesre"] = {
Wikipedia = true,
plain_categories = true,
}
labels["youth slang"] = {
display = "[[youth]] [[slang]]",
pos_categories = "slang",
}
labels["2channel slang"]={
aliases = {"2ch slang"},
display ="[[w:2channel|2channel]] [[slang]]",
pos_categories = {"internet slang" , "2channel slang"},
}
-- for Awetí, Karajá, etc., where men & women use different words
labels["women's speech"] = {
aliases = {"female speech"},
glossary = "women's speech",
pos_categories = "women's speech terms",
}
-- terms applying to Old Norse skaldic poetry
labels["kenning"] = {
aliases = {"Kenning"},
Wikipedia = "Kenning",
pos_categories = "kennings",
}
labels["heiti"] = {
aliases = {"Heiti"},
Wikipedia = "Heiti",
pos_categories = true,
}
return require("Module:labels").finalize_data(labels)