Module:User:Benwing2/category tree/topic cat/data/Names
Jump to navigation
Jump to search
- This module lacks a documentation subpage. You may create it.
- Useful links: root page • root page’s subpages • links • transclusions • testcases • user page • user talk page • userspace
This is a private module sandbox of Benwing2, for their own experimentation. Items in this module may be added and removed at Benwing2's discretion; do not rely on this module's stability.
local labels = {}
labels["names"] = {
type = "topic",
description = "{{{langname}}} names for a variety of things.",
additional = "Given names and surnames can be found in [[:Category:Names by language]].",
parents = {"all sets"},
}
labels["letter names"] = {
type = "name",
description = "{{{langname}}} terms that are the names of letters.",
additional = "Ideally entries should be in a subcategory for the names of letters in a particular script.",
parents = {"names", "letters, symbols, and punctuation"},
}
for _, script_etc in ipairs {
{"Arabic", "appendix"},
{"Baybayin", "appendix"},
{"Cyrillic", "appendix"},
{"Devanagari", "appendix"},
{"Georgian", "appendix"},
{"Greek", "appendix"},
{"Hebrew", "appendix"},
{"Imperial Aramaic", "appendix"},
{"Korean", "appendix"},
{"Latin", "appendix"},
{"Ogham", "appendix"},
{"Phoenician", "appendix"},
{"Runic", "w"},
{"Thai", "appendix"},
} do
local script, linktype = unpack(script_etc)
local link
if linktype == "appendix" then
link = ("[[Appendix:%s script|%s script]]"):format(script, script)
elseif linktype == "w" then
local sc = require("Module:scripts").getByCanonicalName(script) or
error(("Internal error: Unrecognized script '%s'"):format(script))
local wpart = sc:getWikipediaArticle()
link = ("[[w:%s|%s script]]"):format(wpart, script)
else
link = linktype
end
labels[script .. " letter names"] = {
type = "name",
description = ("{{{langname}}} terms that serve as names for letters and symbols directly based on letters, " ..
"such as [[ligature]]s and letters with [[diacritic]]s, of the %s."):format(link),
parents = {"letter names"},
}
end
labels["couple nicknames"] = {
type = "name",
description = "{{{langname}}} informal names for pairs of people, especially [[celebrity]] [[couple]]s.",
additional = "For fictional relationships, see [[:Category:Ships (fandom)]].",
parents = {"nicknames", "people"},
}
labels["country nicknames"] = {
type = "name",
description = "{{{langname}}} informal names for [[country|countries]].",
parents = {"nicknames", "countries"},
}
labels["foreign personal names"] = {
type = "name",
description = "Transliterations, respellings or other renderings of personal names into {{{langname}}}.",
umbrella_description = "transliterations, respellings or other renderings of personal names",
parents = {"names"},
}
labels["named prayers"] = {
type = "name",
description = "{{{langname}}} terms that are the names of specific prayers.",
parents = {"names", "prayer"},
}
labels["named roads"] = {
type = "name",
description = "{{{langname}}} terms for roads that are individually named.",
parents = {"names", "roads"},
}
labels["nicknames"] = {
type = "name",
description = "{{{langname}}} terms that are informal names or diminutives of specific entities (people, places, etc.)",
parents = {"names"},
}
labels["nicknames of individuals"] = {
type = "name",
description = "{{{langname}}} terms that are informal names for specific individuals (e.g. [[J-Lo]] for singer {{w|Jennifer Lopez}}).",
parents = {"individuals", "nicknames"},
}
labels["taxonomic names"] = {
type = "name",
description = "default",
parents = {"names", "taxonomy"},
}
return labels