ข้ามไปเนื้อหา

มอดูล:category tree/topic cat/data/วัฒนธรรม

จาก วิกิพจนานุกรม พจนานุกรมเสรี

Introduction

[แก้ไข]

This is the documentation page for the main data module for the Module:category tree/topic cat category tree subsystem, as well as for its submodules. Collectively, these modules handle generating the descriptions and categorization for topic pages such as Category:en:Birds, Category:es:France and Category:zh:State capitals of Germany, and the corresponding non-language-specific pages such as Category:Birds, Category:France and Category:State capitals of Germany. (All other categories handled through the {{auto cat}} system are handled by the Module:category tree/poscatboiler subsystem.)

The main data module at Module:category tree/topic cat/data does not contain data itself, but rather imports the data from its submodules, and applies some post-processing.

  • To find which submodule implements a specific category, use the search box on the right.
  • To add a new data submodule, copy an existing submodule and modify its contents. Then, add its name to the subpages list at the top of Module:category tree/topic cat/data.
The text of any category page using this module should simply read {{auto cat}}.
The correct way to invoke Module:category tree/topic cat on a given category page that it handles is through {{auto cat}}. You should not normally invoke {{topic cat}} directly. If you find a category page that directly invokes {{topic cat}}, it is probably old, from before when {{auto cat}} was created, and should be changed.

Concepts

[แก้ไข]

Per-language and umbrella categories

[แก้ไข]

The topic cat system internally makes a distinction based on which languages a category applies to:

  1. Per-language categories. These are of the form langcode:label (e.g. Category:es:Birds and Category:de:States of the United States). Here, langcode is the language code of a recognized full Wiktionary language (see WT:LOL for the list of all such languages and their codes), and label is a topic, generally one that can apply to multiple languages. The intended category contents is terms in the language in question that are either related to, instances of or types of the topic in question (depending on the type of category; see below). Associated with each per-language category is an umbrella category; see below. The following restrictions apply to per-language categories:
    1. The language mentioned by langcode must currently be a full language, not an etymology-only language. (Etymology-only languages include lects such as Provençal, considered a variety of Occitan, and Biblical Hebrew, considered a variety of Hebrew. See here for the list of such lects.)
    2. The category label specified by label as found in the category name always begins with a capital letter, whether or not the underlying form of the label is capitalized (contrast Category:en:Birds with Category:en:France). Internally, this is different, and the internal form of a label begins with a lowercase or uppercase letter as appropriate (แม่แบบ:kbd but แม่แบบ:kbd).
  2. Umbrella categories. These are of the form label, i.e. a bare category label. As with per-language categories, this label is always capitalized in the category name, regardless of the underlying form of the label. Examples are Category:Birds, Category:France and Category:State capitals of Germany. Umbrella categories serve to group all the per-language categories for a particular topic. They also serve to group more specific subcategories, e.g. under Category:Birds can be found Category:Birds of prey, Category:Freshwater birds, Category:Columbids (which includes doves and pigeons), etc. as well as Category:Eggs and Category:Feathers. Umbrella categories should not normally directly contain any terms.
  3. Unlike for the poscatboiler system, language-specific categories do NOT currently exist. These would be topics that only make sense for a given language or small set of languages, and which are allowed allowed for that language or those languages. Currently, all topics are cross-language even if in practice they don't make sense except in conjunction with a subset of languages; but this may change in the future.

Category types

[แก้ไข]

In addition to the above distinction, the topic cat system divides categories according to the category type, which specifies the relationship between the category and the members of that category:

  1. Related-to categories (type = "related-to") contain terms that are semantically related to the category topic. For example, Category:en:Chess contains terms such as checkmate, rank (a row on a chessboard), endgame, en passant, Grandmaster, etc. "Related to" is a nebulous criterion, and as a result the terms in the category should be related to the category as directly as possible, to avoid the category becoming a grab bag of random terms.
  2. Name (type = "name") categories contain terms that are names of individual, specific instances of the category. For example, Category:Chess openings contains names of specific openings, such as Ruy Lopez and Sicilian Defense. Even more clearly, Category:Moons of Jupiter contains names of individual moons that orbit the planet Jupiter.
  3. Type (type = "type") categories contains terms for types of the entity described by the category name. For example, Category:Checkmate patterns contains types of checkmates, such as ladder mate and smothered mate. Even more clearly, Category:Hobbyists contains terms for types of hobbyists, such as oenophile (a wine enthusiast), numismatist (a stamp collector), etc. (If this were a name category, it would contain names of specific, presumably famous, hobbyists — something that would probably not be dictionary-worthy material.)
  4. Set (type = "set") categories are used when the distinction between names and types of a given topic may not always be clear, but the overall membership is still well-defined. For example, Category:Heraldic charges contains terms for components of coats of arms, e.g. bend sinister (a diagonal band from lower left to upper right), fleur-de-lis (a stylized image of a lily, as is commonly associated with New Orleans) and quatrefoil (a symmetrical shape made from the outline of four circles).
  5. Grouping (type = "grouping") categories are higher-level categories that are used only to group more specific categories and should not contain elements themselves (but nevertheless sometimes do). An example is Category:Industries, which contains subcategories devoted to particular industries (e.g. Category:Banking, Category:Mining, Category:Music industry, Category:Oil industry, etc.).
  6. Top-level (type = "toplevel") categories are special high-level categories that list all the categories of one of the above types, and which are always named List of type categories, e.g. Category:List of related-to categories (listing all the "related-to" umbrella categories) or Category:es:List of name categories (listing all the Spanish name-type categories). The number of top-level categories is fixed.

Note that name, type and set categories are conceptually similar to each other, in that each contains terms that have an is-a relationship with the topic in question, whereas related-to categories express a weaker sort of relation between term and topic, merely asserting that the term is in some way "related" or "pertinent" to the topic in question. For this reason, when creating new topics, you should always strive to create name, type or set topics whenever possible, and avoid related-to topics unless there is no alternative and you're convinced this topic is really necessary. Before creating such a category:

  1. Consider whether there is another category already in existence that will cover this semantic space.
  2. Consider whether you can convert the category to a name, type or set category.
  3. Investigate whether there needs to be a category for the semantic concept at all (in particular, abstract concepts often do not merit related-to categories).
  4. Make sure there are enough terms to fill up this category in at least two languages (one of which should be English). What qualifies as "enough" varies a bit from topic to topic but generally should be at least 10.
  5. Make sure the terms you add or consider adding to this category are directly related to the topic at hand. Do not add terms merely because the term contains the name of the topic in it (e.g. if you create a category named brick, do not add terms like brick house, thick as a brick or yellow brick road merely becaues they have the word "brick" in them; instead, use the ===Related terms=== section of the brick lemma to include these terms).

It should also be noted that name, type and set categories typically use the plural in their topic name, which related-to categories often use the singular. This is not a hard and fast rule, however, and there are exceptions in both directions. If it's not obvious what type of category a given topic refers to, consider making this explicit in the topic name, e.g. names of stars or types of stars rather than just stars. (In the future, all, or at least most, topic categories may be named in such a fashion.)

Adding, removing or modifying categories

[แก้ไข]

A sample entry is as follows (in this case, found in Module:category tree/topic cat/data/History):

labels["ancient history"] = {
	type = "related-to",
	description = "default",
	parents = {"history"},
}

This generates the description and categorization for all per-language categories of the form langcode:Ancient history (e.g. Category:en:Ancient history) as well as for the umbrella category Category:Ancient history (see above for the definition of per-language and umbrella categories).

The meaning of this snippet is as follows:

  • The label itself needs to use proper capitalization or lower case in the first letter of the label, even though the label as it appears in the category name is always capitalized, consistent with the principle that category names begin with a capital letter. In this case, the label is lowercase, and other labels that reference it need to use the same casing (as in the example below). By contrast, a label like Ancient Near East (as in the example below) is capitalized because the label refers to a specific region, and toponyms are capitalized in English.
  • the type field specifies the category type, as described above. This label is a "related-to" category.
  • The description field gives the description text that will appear when a user visits the category page. Certain special values are recognized, including "default", which generates a default label. The value of the default label depends on the label's name, the language of the category, and the label's type. In this case, it is equivalent to "{{{langname}}} terms related to [[ancient]] [[history]]" (where {{{langname}}} is replaced with the name of the language in question) and "terms related to [[ancient]] [[history]]"" for the umbrella category. See #Descriptions below for more information on specifying descriptions.
  • The parents field gives the labels of the parent categories. Here, the category specifies a single parent "history". This means that a category such as Category:en:Ancient history will have Category:en:History as its parent. An additional top-level list parent will automatically be added (in this case Category:en:List of related-to categories) as well as the umbrella parent Category:Ancient history.

Another example follows:

labels["places in Romance of the Three Kingdoms"] = {
	type = "name",
	displaytitle = "places in ''Romance of the Three Kingdoms''",
	description = "=places in ''{{w|Romance of the Three Kingdoms}}''",
	parents = {"Romance of the Three Kingdoms", "China"},
}

This is a subcategory of "Romance of the Three Kingdoms" (a 14th century Chinese historical novel) and accordingly specifies "Romance of the Three Kingdoms" as the parent, along with "China" (note the capitalization, in accordance with the principles laid out above). A description is given explicitly, preceded by = (which in this case prepends "names for specific" to the description). The displaytitle field is also set so that the name of the work is italicized.

Category label fields

[แก้ไข]

The following fields are recognized for the object describing a label:

type
The type of the label (แม่แบบ:kbd, แม่แบบ:kbd, แม่แบบ:kbd, แม่แบบ:kbd, แม่แบบ:kbd or แม่แบบ:kbd, as described above. Mandatory. It is possible to specify multiple comma-separated types, for "mixed" categories that can contain more than one type of term. For example, the label flags currently has type = "related-to,name,type" because it contains a mixture of terms related to flags (e.g. flagpole and grommet), terms for individual flags (e.g. Star-Spangled Banner) and terms for types of flags (e.g. prayer flag, flag of convenience). Mixed categories are strongly dispreferred and should be split into separate per-type categories.
description
A plain English description for the label. This should generally be no longer than one sentence. Place additional, longer explanatory text in the additional field described below, and put {{wikipedia}} boxes in the topright field described below so that they are correctly right-aligned with the description. Template invocations and special template-like references such as {{{langname}}} and {{{langcode}}} will be expanded appropriately; see #Template substitutions in field values below. Certain values are handled specially, including "default" (and variants such as "default with the", "default wikify" and "default no singularize") and phrases preceded by an = sign, as explained in more detail below.
parents
A table listing one or more parent labels of this label. This controls the parent categories that the category is contained within, as well as the chain of breadcrumbs appearing across the top of the page (see below).
  • An item in the table can be either a single string (the parent label), or a table containing (at least) the two elements name and sort. In the latter case, name specifies the parent label name, while the sort value specifies the sort key to use to sort it in that category. The default sort key is the category's label.
  • If a parent label begins with Category: it is interpreted as a raw category name, rather than as a label name. It can still have its own sort key as usual.
  • The first listed parent controls the category's parent breadcrumb in the chain of breadcrumbs at the top of the page. (The breadcrumb of the category itself is determined by the breadcrumb setting, as described below.)
breadcrumb
The text of the last breadcrumb that appears at the top of the category page.
  • By default, it is the same as the category label, with the first letter capitalized.
  • The value can be either a string, or a table containing two elements called name and nocap. In the latter case, name specifies the breadcrumb text, while nocap can be used to disable the automatic capitalization of the breadcrumb text that normally happens.
  • Note that the breadcrumbs collectively are the chain of links that serve as a navigation aid for the hierarchical organization of categories. For example, a category like Category:en:Ancient Near East will have a breadcrumb chain similar to "Fundamental » All languages » English » All topics » History » Ancient history » Ancient Near East", where each breadcrumb is a link to a category at the appropriate level. The last breadcrumb here is "Ancient Near East", and its text is controlled by this field.
displaytitle
Apply special formatting such as italics to the category page title, as with the {{DISPLAYTITLE:...}} magic word (see mw:Help:Magic words). The same formatting is also applied to breadcrumbs, descriptions and other mentions of the label in formatted text. The value of this is either a string (which should be the formatted label, e.g. "The Matrix", "people in Romance of the Three Kingdoms" or "Glee (TV series)") or a Lua function to generate the formatted category title. The Lua function is passed two parameters: the raw label (without any preceding language code) and the language object of the category's language (or nil for umbrella categories). It should return the appropriately formatted label. If the value of this field is a string, template invocations and special template-like references such as {{{langname}}} and {{{langcode}}} will be expanded appropriately; see below. See Module:category tree/topic cat/data/Culture for examples of using displaytitle.
topright
Introductory text to display right-aligned, before the edit and recent-entries boxes on the right side. This field should be used for {{wikipedia}} and other similar boxes. Template invocations and special template-like references such as {{{langname}}} and {{{langcode}}} are expanded appropriately, just as with description; see #Template substitutions in field values below. Compare the preceding field, which is similar to topright but used for left-aligned text placed above the description.
preceding
Introductory text to display directly before the text in the description field. The difference between the two is that description text will also be shown in the list of children categories shown on the parent category's page, while the preceding text will not. For this reason, use preceding instead of description for {{also}} hatnotes and similar text, and keep description relatively short. Template invocations and special template-like references such as {{{langname}}} and {{{langcode}}} are expanded appropriately, just as with description; see #Template substitutions in field values below. Compare the topright field, which is similar to preceding but is right-aligned, placed above the edit and recent-entries boxes.
additional
Additional text to display directly after the text in the the description field. The difference between the two is that description text will also be shown in the list of children categories shown on the parent category's page, while the additional text will not. For this reason, use additional instead of description for long explanatory notes, See also references and the like, and keep description relatively short. Template invocations and special template-like references such as {{{langname}}} and {{{langcode}}} are expanded appropriately, just as with description; see #Template substitutions in field values below.
wp
Display a box linking to a Wikipedia entry in the upper right corner. The value can either be true to link to an entry that is the same as the label; a string, to link to that entry; or a list of strings or true, to generate multiple boxes, one per list item. For example, if the label pesäpallo has wp = true, a box will be generated that links to Pesäpallo on Wikipedia, and if the label football (American) has wp = "American football", a box will be generated that links to American football on Wikipedia.
wpcat
Display a box linking to a Wikipedia category in the upper right corner. This is similar to wp except that the link is to a category (the generated entry or entries is/are prepended with Category:). For example, if the label animals has wpcat = true set, a box will be generated that links to Category:Animals on Wikipedia.
commonscat
Display a box linking to a Wikimedia Commons category in the upper right corner. This is similar to wpcat except that the link is to Wikimedia Commons instead of Wikipedia. For example, if the label racquet sports has commonscat = true set, a box will be generated that links to Category:Racquet sports on Wikimedia Commons.
topic
Text indicating the topic being handled by this category. This appears in the auto-generated "additional" message following the description, which indicates what type this category is (based on the type field) and what sorts of terms should go into it. This does not normally need to be specified, as it's derived directly from the label. But it is useful e.g. for the label แม่แบบ:kbd, which sets topic = "planets", because the auto-generated "additional" message contains the text " ... It should contain terms for types of {{{topic}}}, ...", and using the label directly will result in redundant text. Template invocations and special template-like references such as {{{langname}}} and {{{langcode}}} are expanded appropriately, just as with description; see #Template substitutions in field values below. The value of this field can be "default" or "default with the", which will be expanded appropriately based on the label.
umbrella
A table describing the umbrella category that collects all language-specific categories associated with this label. The umbrella category is named using the label, without any language prefix. For example, for the label แม่แบบ:kbd, the umbrella category is named Category:Ancient history, and is a parent category (in addition to any categories specified using parents) of Category:en:Ancient history, Category:fr:Ancient history and all other language-specific categories holding adjectives. This table contains the following fields:
description
A plain English description for the umbrella category. By default, it is derived from the description field of the label itself by removing language references (specifically, {{{langname}}} , {{{langcode}}}:, {{{langcode}}} and {{{langcat}}} ) and adding แม่แบบ:kbd before the result. Text is automatically added to the end indicating that this category is an umbrella category that only contains other categories, and does not contain pages describing terms.
breadcrumb
The last breadcrumb in the chain of breadcrumbs at the top of the category page; see above. By default, this is the category label.
topright
Like the topright field on regular category pages; see above.
preceding
Like the preceding field on regular category pages; see above.
additional
Like the additional field on regular category pages; see above.
topic
Like the topic field on regular category pages; see above.
umbrella_description
The same as the description subfield of the umbrella field.

Template substitutions in field values

[แก้ไข]

Template invocations can be inserted in the text of description, parents (both name and sort key), breadcrumb, toc_template and toc_template_full values, and will be expanded appropriately. In addition, the following special template-like invocations are recognized and replaced by the equivalent text:

{{PAGENAME}}
The name of the current page. (Note that two braces are used here instead of three, as with the other parameters described below.)
{{{langname}}}
The name of the language that the category belongs to. Not recognized in umbrella fields.
{{{langcode}}}
The code of the language that the category belongs to (e.g. en for English, de for German). Not recognized in umbrella fields.
{{{langcat}}}
The name of the language's main category, which adds "language" to the regular name. Not recognized in umbrella fields.
{{{langlink}}}
A link to the language's main category. Not recognized in umbrella fields.
{{{umbrella_msg}}}
The message normally at the end of the description for umbrella categories, indicating that the category contains no terms but only subcategories.
{{{topic}}}
The value of the topic field (or the umbrella.topic field for umbrella categories), if specified; else, the value of displaytitle (if specified) or the label, with "the" added if the description is "default with the" or a variant containing "with the" (such as "default with the wikify").

Descriptions

[แก้ไข]

The description field is of one of three types:

  1. An English sentence, ending in a period.
  2. A phrase preceded by = and not ending in a period.
  3. The value "default" or one of its variants, such as "default with the" or "default wikify".

If preceded by =, the description is generated from the specified phrase by prepending {{{LANGNAME}}} (which is replaced with the language name) followed by standard type-dependent text, and appending a period. The text prepended is currently as follows:

Type Text
related-to terms related to
set terms for types or instances of
name names of specific
type terms for types of
grouping categories concerning more specific variants of
toplevel N/A

For example, for the label biblical characters, the description is currently "=characters in the [[Bible]]", which expands to {{{LANGNAME}}} names of specific characters in the [[Bible]]., and in turn is expanded to e.g. French names of specific characters in the [[Bible]]. (if the category is Category:fr:Biblical characters).

Note that no standard text is provided for top-level categories, all of which include a custom description.

If "default" or one of its variants is used as the description, a default description is generated as if the description consisted of = prepended to the label, except that the word the might be added to the beginning of the label, and the words in the label might be wikilinked. Specifically:

  1. If the description is of the form "default with the" (or a form such as "default with the wikify", "default with the no singularize", etc.), the word the is prefixed to the label.
  2. If the label is of the form "default wikify" (or a related form), the label is linked to Wikipedia. If the label ends in an -s, the label is linked to a Wikipedia entry based on the singular form of the label (which converts -ies to -y; converts -xes, -ches or -shes, respectively, to -x, -ch or -sh; and otherwise just removes -s), unless the label is "default wikify no singularize" or a related form, in which case the label is linked unchanged.
  3. Otherwise, the code attempts to link the entire label or the individual words of the label to Wiktionay terms, as follows:
    1. If the label ends in -s and no singularize is not specified in the description, and the singular form of the label (generated according to the algorithm described just above) is a Wiktionary term, the label is linked to that term. Note that "is a Wiktionary term" simply means that a page of this name exists; the code does not currently check to see whether there is an English entry or whether the term is a lemma.
    2. Otherwise, if the label itself is a Wiktionary term, the label is linked to that term.
    3. Otherwise, the label is split into individual words, and each word is checked to see if a page named according to that word exists. If so, the individual words are linked to their corresponding Wiktionary entries; otherwise, the label is left unlinked. Note that the last word is handled specially if it ends in -s and no singularize is not found in the description, in that the code first attempts to link the word to its singular equivalent, falling back to the word itself if the singular equivalent doesn't name a Wiktionary term.

For example, a label video games will be linked as [[video game]]s because the page video game exists, but Arabic deities will be linked as [[Arabian]] [[deity|deities]] because neither Arabian deity nor Arabian deities exists as a page. The use of no singularize is needed with labels such as linguistics, comics and humanities, because their respective singular forms linguistic, comic and humanity exist as Wiktionary pages.

Finally, note that the components of a default-type description (wikify, with the and no singularize) can be given in any order if more than one of them needs to be specified.

Handlers

[แก้ไข]

It is also possible to have handlers that can handle arbitrarily-formed labels, e.g. political subdivisions of country for any country (categories such as Category:tg:Political subdivisions of the United Arab Emirates) or divisions of polity for any division and polity (e.g. Category:fr:Counties of South Korea or Category:pt:Municipalities of Tocantins, Brazil). Currently, handlers exist only in the toponym-handling code in Module:category tree/topic cat/data/Places and in Module:category tree/topic cat/data/Names. As example, the following is the handler for script letter names:

table.insert(handlers, function(label)
	local script = label:match("^(.*) letter names$")
	if script then
		local sc = require("Module:scripts").getByCanonicalName(script)
		if sc then
			local script_page
			local appendix = ("Appendix: %s script"):format(script)
			local appendix_title = mw.title.new(appendix)
			if appendix_title and appendix_title.exists then
				script_page = appendix
			else
				script_page = "w:" .. sc:getWikipediaArticle()
			end
			local link = ("[[%s|%s script]]"):format(script_page, script)
			return {
				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
	end
end)

The handler checks is passed a single argument (the label), checks if the passed-in label has a recognized form, and if so, returns an object that follows the same format as described above for directly-specified labels. In this case, the handler makes sure the given script name specifies an actual script, and constructs an appropriate link for the script, depending on whether an appendix page for the script exists (falling back to Wikipedia).

NOTE: The handler needs to be prepared to handle both umbrella categories and per-language categories. The label is passed in as it appears in the category; this means the handler may need to handle both uppercase-initial and lowercase-initial variants of the label. (For this handler, this isn't an issue because the script always appears uppercased.) One way to do that is to convert the label to lowercase-initial before further processing, using mw.getContentLanguage():lcfirst().

Note also that if a handler is specified, the module should return a table holding both the label and handler data; see the above modules.

Subpages

[แก้ไข]

local labels = {}

labels["วัฒนธรรม"] = {
	type = "related-to",
	description = "default",
	parents = {"สังคม"},
}
labels["culture"] = labels["วัฒนธรรม"]

labels["A Christmas Carol"] = {
	type = "related-to",
	displaytitle = "''A Christmas Carol''",
	description = "{{{langname}}} terms that are used in the context of the tale ''{{w|A Christmas Carol}}'', by {{w|Charles Dickens}}, such as the names of its characters or author.",
	parents = {"British fiction", "Charles Dickens"},
}

labels["A Song of Ice and Fire"] = {
	type = "related-to",
	displaytitle = "''A Song of Ice and Fire''",
	description = "{{{langname}}} terms used in context of the ''[[w:Song of Ice and Fire|Song of Ice and Fire]]'' novel series and its television adaptation ''[[w:Game of Thrones|Game of Thrones]]''.",
	parents = {"American fiction", "fantasy", "วรรณกรรม"},
}

labels["acting"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ"},
}

labels["alternate history"] = {
	type = "related-to",
	description = "default",
	parents = {"speculative fiction", "ประวัติศาสตร์"},
}

labels["American fiction"] = {
	type = "related-to",
	description = "=works of American fiction",
	parents = {"บันเทิงคดี", "สหรัฐอเมริกา"},
}

labels["แอนิเมชัน"] = {
	type = "related-to",
	description = "default",
	parents = {"สื่อมวลชน"},
}
labels["animation"] = labels["แอนิเมชัน"]

labels["Arabic fiction"] = {
	type = "related-to",
	description = "=works of [[fiction]] of [[Arabic]] origin",
	parents = {"บันเทิงคดี"},
}

labels["Arabian deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "Arabian mythology"},
}

labels["Arabian mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม"},
}

labels["Armenian mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "อาร์มีเนีย"},
}

labels["ศิลปะ"] = {
	type = "related-to",
	description = "default",
	parents = {"วัฒนธรรม"},
}
labels["art"] = labels["ศิลปะ"]

labels["Arthurian mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "สหราชอาณาจักร"},
}

labels["artistic works"] = {
	type = "name,type",
	description = "default",
	parents = {"ศิลปะ"},
}

labels["astrobiology"] = {
	type = "related-to",
	description = "default",
	parents = {"ดาราศาสตร์", "ชีววิทยา", "geology"},
}

labels["โหราศาสตร์"] = {
	type = "related-to",
	description = "default",
	parents = {"การทำนายดวงชะตา", "วิทยาศาสตร์เทียม"},
}
labels["astrology"] = labels["โหราศาสตร์"]

labels["Asturian mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "สเปน"},
}

labels["Avatar: The Last Airbender"] = {
	type = "related-to",
	displaytitle = "''Avatar: The Last Airbender''",
	description = "{{{langname}}} terms derived from and/or related to the animated television series ''[[w:Avatar: The Last Airbender|Avatar: The Last Airbender]]'' and its spin-off ''[[w:The Legend of Korra|The Legend of Korra]]''.",
	parents = {"American fiction", "แอนิเมชัน"},
}

labels["Australian Aboriginal mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "ออสเตรเลีย"},
}

labels["ballet"] = {
	type = "related-to",
	description = "default",
	parents = {"dance"},
}

labels["Barbie"] = {
	type = "related-to",
	description = "=the {{w|Barbie}} fashion doll produced by Mattel",
	parents = {"toys"},
}

labels["Batman"] = {
	type = "related-to",
	description = "=the fictional [[superhero]] [[Batman]]",
	parents = {"DC Comics", "fictional characters"},
}

labels["บรรณานุกรม"] = {
	type = "related-to",
	description = "default",
	parents = {"หนังสือ"},
}
labels["bibliography"] = labels["บรรณานุกรม"]

labels["bilibili"] = {
	type = "related-to",
	description = "=the video-sharing website {{w|bilibili}}",
	parents = {"สื่อสังคม", "เวิล์ดไวด์เว็บ"},
}

labels["blogging"] = {
	type = "related-to",
	description = "default",
	parents = {"สื่อสังคม"},
}

labels["blues music"] = {
	type = "related-to",
	description = "default",
	parents = {"musical genres"},
}

labels["body art"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ", "แฟชั่น"},
}

labels["Bollywood"] = {
	type = "related-to",
	description = "default",
	parents = {"อินเดีย", "ภาพยนตร์"},
}

labels["หนังสือ"] = {
	type = "related-to",
	description = "default",
	parents = {"สื่อมวลชน", "วรรณกรรม"},
}
labels["books"] = labels["หนังสือ"]

labels["books of the Poetic Edda"] = {
	type = "name",
	displaytitle = "books of the ''Poetic Edda''",
	description = "=[[book]]s of the ''[[Poetic Edda]]''",
	parents = {"หนังสือ"},
}

labels["Brazilian folklore"] = {
	type = "related-to",
	description = "default",
	parents = {"folklore", "บราซิล"},
}

labels["British fiction"] = {
	type = "related-to",
	description = "=works of [[fiction]] of [[British]] origin",
	parents = {"บันเทิงคดี"},
}

labels["Buffy the Vampire Slayer"] = {
	type = "related-to",
	displaytitle = "''Buffy the Vampire Slayer''",
	description = "=the television series ''{{w|Buffy the Vampire Slayer}}'' (1997–2003)",
	parents = {"American fiction", "โทรทัศน์"},
}

labels["Canadian fiction"] = {
	type = "related-to",
	description = "=works of [[fiction]] of [[Canada|Canadian]] origin",
	parents = {"แคนาดา", "บันเทิงคดี"},
}

labels["calligraphy"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ", "การเขียน"},
}

labels["cartomancy"] = {
	type = "related-to",
	description = "default",
	parents = {"divination"},
}

labels["castells"] = {
	type = "related-to",
	description = "=[[castell]]s, the Catalan tradition of human tower building",
	additional = "See {{w|castells}}.",
	parents = {"วัฒนธรรม", "กีฬา"},
}

labels["celestial inhabitants"] = {
	type = "set",
	description = "=inhabitants of known [[celestial body|celestial bodies]]",
	parents = {"fictional characters", "นิยายวิทยาศาสตร์", "demonyms"},
}

labels["Celtic mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม"},
}

labels["characters from folklore"] = {
	type = "related-to",
	description = "default",
	parents = {"fictional characters", "folklore"},
}

labels["cheerleading"] = {
	type = "related-to",
	description = "default",
	parents = {"dance", "gymnastics", "กีฬา"},
}

labels["Church of England"] = {
	type = "related-to",
	description = "default with the",
	parents = {"Anglicanism", "England"},
}

labels["Chinese mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "จีน"},
}

labels["การถ่ายภาพยนตร์"] = {
	type = "related-to",
	description = "default",
	parents = {"ภาพยนตร์"},
}
labels["cinematography"] = labels["การถ่ายภาพยนตร์"]

labels["circus"] = {
	type = "related-to",
	description = "default no singularize",
	parents = {"การบันเทิง", "โรงมหรสพ"},
}

labels["comedy"] = {
	type = "related-to",
	description = "default",
	parents = {"drama"},
}

labels["comics"] = {
	type = "related-to",
	description = "default no singularize",
	parents = {"วรรณกรรม"},
}

-- Confucianism: see Module:category tree/topic cat/data/Philosophy

labels["conlanging"] = {
	type = "related-to",
	description = "=[[conlanging]] (the making of [[constructed language]]s)",
	parents = {"ภาษา (หัวข้อ)", "วัฒนธรรม"},
}

labels["ทฤษฎีสมคบคิด"] = {
	type = "related-to,set",
	description = "=[[conspiracy theory|conspiracy theories]] and theorists",
	parents = {"วัฒนธรรม"},
}
labels["conspiracy theories"] = labels["ทฤษฎีสมคบคิด"]

labels["cosmetics"] = {
	type = "set",
	description = "default",
	parents = {"toiletries", "แฟชั่น"},
}

labels["คอสเพลย์"] = {
	type = "related-to",
	description = "default",
	parents = {"fandom"},
}
labels["cosplay"] = labels["คอสเพลย์"]

labels["dance"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ", "human activity"},
}

labels["dances"] = {
	type = "set",
	description = "default",
	parents = {"dance"},
}

labels["demoscene"] = {
	type = "related-to",
	description = "default",
	parents = {"วัฒนธรรม", "การคอมพิวเตอร์"},
}

labels["design"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ"},
}

labels["พจนานุกรม"] = {
	type = "type,name",
	description = "default",
	parents = {"reference works", "lexicography"},
}
labels["dictionaries"] = labels["พจนานุกรม"]

labels["Disney"] = {
	type = "related-to",
	description = "=the properties of {{w|The Walt Disney Company}}",
	additional = "This includes properties acquired jointly with or from other companies.",
	parents = {"American fiction", "comics", "ภาพยนตร์", "โทรทัศน์"},
}

labels["การทำนายดวงชะตา"] = {
	type = "related-to",
	description = "default",
	parents = {"occult"},
}
labels["divination"] = labels["การทำนายดวงชะตา"]

labels["Doctor Who"] = {
	type = "related-to",
	displaytitle = "''Doctor Who''",
	description = "=the ''{{w|Doctor Who}}'' franchise",
	parents = {"British fiction", "นิยายวิทยาศาสตร์", "โทรทัศน์"},
}

labels["มังกร"] = {
	type = "related-to,type",
	description = "default",
	parents = {"mythological creatures"},
}
labels["dragons"] = labels["มังกร"]

labels["drama"] = {
	type = "related-to",
	description = "default",
	parents = {"โรงมหรสพ"},
}

labels["Egyptian deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "Egyptian mythology"},
}

labels["Egyptian mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "Ancient Egypt"},
}

labels["การบันเทิง"] = {
	type = "related-to",
	description = "default",
	parents = {"วัฒนธรรม"},
}
labels["entertainment"] = labels["การบันเทิง"]

labels["erotic literature"] = {
	type = "related-to",
	description = "default",
	parents = {"บันเทิงคดี", "literary genres", "เพศ"},
}

labels["Etruscan mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม"},
}

labels["European folklore"] = {
	type = "related-to",
	description = "default",
	parents = {"folklore", "ยุโรป"},
}

labels["เทพนิยาย"] = {
	type = "related-to",
	description = "=[[fairy tale]]s",
	parents = {"บันเทิงคดี"},
}
labels["fairy tale"] = labels["เทพนิยาย"]

labels["fairy tale characters"] = {
	type = "name",
	description = "=[[fairy tale]] [[character]]s",
	parents = {"fictional characters", "เทพนิยาย"},
}

labels["ชื่อเทพนิยาย"] = {
	type = "name",
	description = "default",
	parents = {"เทพนิยาย"},
}
labels["fairy tales"] = labels["ชื่อเทพนิยาย"]

labels["fan fiction"] = {
	type = "related-to",
	description = "default",
	parents = {"บันเทิงคดี", "fandom", "วรรณกรรม"},
}

labels["fandom"] = {
	type = "related-to",
	description = "{{{langname}}} terms arising from [[fandom]] culture.",
	parents = {"วัฒนธรรม"},
}

labels["fantasy"] = {
	type = "related-to",
	description = "=the [[genre]] of [[fantasy]]",
	parents = {"บันเทิงคดี", "speculative fiction"},
}

labels["แฟชั่น"] = {
	type = "related-to",
	description = "default",
	parents = {"วัฒนธรรม", "เครื่องนุ่งห่ม"},
}
labels["fashion"] = labels["แฟชั่น"]

labels["faster-than-light travel"] = {
	type = "related-to",
	description = "default",
	parents = {"travel", "นิยายวิทยาศาสตร์", "ฟิสิกส์ดาราศาสตร์", "relativity"},
}

labels["บันเทิงคดี"] = {
	type = "related-to",
	description = "=specific works of [[fiction]]",
	parents = {"artistic works"},
}
labels["fiction"] = labels["บันเทิงคดี"]

labels["fictional abilities"] = {
	type = "related-to,type",
	description = "=fictional [[ability|abilities]] and [[superpower]]s",
	parents = {"บันเทิงคดี", "speculative fiction"},
}

labels["fictional characters"] = {
	type = "name,type",
	description = "default",
	parents = {"บันเทิงคดี"},
}

labels["fictional locations"] = {
	type = "name,type",
	description = "default",
	parents = {"บันเทิงคดี"},
}

labels["fictional planets"] = {
	type = "name",
	description = "default",
	parents = {"fictional locations"},
}

labels["fictional universes"] = {
	type = "name,type",
	description = "default",
	parents = {"fictional locations"},
}

labels["ภาพยนตร์"] = {
	type = "related-to",
	description = "default",
	parents = {"สื่อมวลชน", "การบันเทิง"},
}
labels["film"] = labels["ภาพยนตร์"]

labels["F/F ships (fandom)"] = {
	type = "name",
	description = "{{{langname}}} names used in [[fandom]] for specific {{l|en|ship|ships|id=fandomnoun}} between two female characters.",
	parents = {"homosexual ships (fandom)"},
}

labels["film genres"] = {
	type = "type,related-to",
	description = "default",
	parents = {"ภาพยนตร์", "genres"},
}

labels["อุตสาหกรรมภาพยนตร์"] = {
	type = "name",
	description = "default",
	parents = {"ภาพยนตร์"},
}
labels["film industries"] = labels["อุตสาหกรรมภาพยนตร์"]

labels["Finnic mythology"] = {
	type = "related-to",
	description = "=the [[mythology]] of the [[Finnic]] peoples",
	additional = "This includes (but is not limited to) [[Finnish]] and [[Estonian]] mythology.",
	parents = {"เทพปกรณัม", "ฟินแลนด์", "เอสโตเนีย"},
}

labels["flamenco"] = {
	type = "related-to",
	description = "default",
	parents = {"dance"},
}

labels["folklore"] = {
	type = "related-to",
	description = "default",
	parents = {"วัฒนธรรม"},
}

labels["furry fandom"] = {
	type = "related-to",
	description = "default",
	parents = {"fandom"},
}

labels["Futurama"] = {
	type = "related-to",
	displaytitle = "''Futurama''",
	description = "{{{langname}}} terms derived from and/or related to the animated television series ''{{w|Futurama}}''.",
	parents = {"American fiction", "แอนิเมชัน", "นิยายวิทยาศาสตร์"},
}

labels["genres"] = {
	type = "type,related-to",
	description = "=[[genre]]s and genre classifications",
	parents = {"การบันเทิง"},
}

labels["Glee (TV series)"] = {
	type = "related-to",
	displaytitle = "''Glee'' (TV series)",
	description = "=the television series ''[[w:Glee (TV series)|Glee]]'' (2009–2015)",
	parents = {"American fiction", "โทรทัศน์"},
}

labels["graphic design"] = {
	type = "related-to",
	description = "default",
	parents = {"design"},
}

labels["Greek deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "Greek mythology"},
}

labels["Greek mythology"] = {
	type = "related-to",
	displaytitle = "''Glee'' (TV series)",
	description = "=the television series ''[[w:Glee (TV series)|Glee]]'' (2009–2015)",
	parents = {"เทพปกรณัม", "Ancient Greece"},
}

labels["Gulliver's Travels"] = {
	type = "related-to",
	displaytitle = "''Gulliver's Travels''",
	description = "=''[[w:Gulliver's Travels|Gulliver’s Travels]]''",
	parents = {"วรรณกรรม"},
}

labels["Harry Potter"] = {
	type = "related-to",
	displaytitle = "''Harry Potter''",
	description = "{{{langname}}} terms used in context of the ''{{w|Harry Potter}}'' franchise.",
	parents = {"British fiction", "fantasy", "วรรณกรรม", "fictional characters"},
}

labels["Hawaiian mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "Hawaii, USA"},
}

labels["heterosexual ships (fandom)"] = {
	type = "name",
	description = "{{{langname}}} names used in [[fandom]] for specific {{l|en|ship|ships|id=fandomnoun}} between characters of different genders.",
	parents = {"ships (fandom) by relationship type"},
}

labels["Hindu deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "Hindu mythology"},
}

labels["Hindu mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "ศาสนาฮินดู"},
}

labels["homosexual ships (fandom)"] = {
	type = "name",
	description = "{{{langname}}} names used in [[fandom]] for specific {{l|en|ship|ships|id=fandomnoun}} between characters of the same sex.",
	parents = {"แอลจีบีที", "ships (fandom) by relationship type"},
}

labels["Homestuck"] = {
	type = "related-to",
	displaytitle ="''Homestuck''",
	description = "=the ''{{w|Homestuck}}'' multimedia fiction series",
	parents = {"American fiction", "comics"},
}

labels["Hopi culture"] = {
	type = "related-to",
	description = "default",
	parents = {"United States"},
}

labels["horror"] = {
	type = "related-to",
	description = "=the [[horror]] [[genre]]",
	parents = {"วรรณกรรม", "speculative fiction"},
}

labels["horse given names"] = {
	type = "name",
	description = "{{{langname}}} given names used for [[horse]]s.",
	parents = {"horses"},
}

-- อยู่ภายใต้วัฒนธรรม ควรเป็นมนุษยธรรม มากกว่ามนุษยศาสตร์
labels["มนุษยธรรม"] = {
	type = "related-to",
	description = "default no singularize",
	parents = {"วัฒนธรรม"},
}
labels["humanities"] = labels["มนุษยธรรม"]

labels["incestuous ships (fandom)"] = {
	type = "name",
	description = "{{{langname}}} names used in [[fandom]] for specific {{l|en|ship|ships|id=fandomnoun}} involving fictional incestuous relationships.",
	parents = {"incest", "ships (fandom) by relationship type"},
}


labels["idol fandom"] = {
	type = "related-to",
	description = "default",
	parents = {"fandom"},
}

labels["Instagram"] = {
	type = "related-to",
	description = "=the photo sharing and social networking service [[Instagram]]",
	parents = {"photography", "สื่อสังคม", "เวิล์ดไวด์เว็บ"},
}

labels["Iranian mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "อิหร่าน"},
}

labels["Irish mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"Celtic mythology", "ไอร์แลนด์"},
}

labels["James Bond"] = {
	type = "related-to",
	displaytitle = "''James Bond''",
	description = "=the ''[[James Bond]]'' franchise",
	parents = {"British fiction", "ภาพยนตร์"},
}

labels["Japanese deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "Japanese mythology"},
}

labels["Japanese fiction"] = {
	type = "related-to",
	description = "=works of [[fiction]], including [[anime]]s, [[manga]]s, [[novel]]s, [[series]] and [[video game]]s, whose origin is of [[Japan]]",
	parents = {"บันเทิงคดี", "ญี่ปุ่น"},
}

labels["Japanese mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "ญี่ปุ่น"},
}

labels["jazz"] = {
	type = "related-to",
	description = "default",
	parents = {"musical genres"},
}

labels["job titles in Romance of the Three Kingdoms"] = {
	type = "type",
	displaytitle = "job titles in ''Romance of the Three Kingdoms''",
	description = "=job titles in ''{{w|Romance of the Three Kingdoms}}''",
	parents = {"สามก๊ก", "titles"},
}

labels["journalism"] = {
	type = "related-to",
	description = "default",
	parents = {"การเขียน"},
}

labels["Kachinas"] = {
	type = "name",
	description = "default",
	parents = {"Hopi culture"},
}

labels["Komi mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "Komi Republic"},
}

labels["Korean fiction"] = {
	type = "related-to",
	description = "=works of [[fiction]], including [[anime]]s, [[manhwa]]s, [[novel]]s, [[series]] and [[video game]]s, whose origin is of [[Korea]]",
	parents = {"บันเทิงคดี", "เกาหลี"},
}

labels["literary genres"] = {
	type = "type",
	description = "{{{langname}}} terms for [[literary]] [[genre]]s.",
	parents = {"บันเทิงคดี", "วรรณกรรม", "genres"},
}

labels["วรรณกรรม"] = {
	type = "related-to",
	description = "default",
	parents = {"วัฒนธรรม", "การบันเทิง", "การเขียน"},
}
labels["literature"] = labels["วรรณกรรม"]

labels["Lost (TV series)"] = {
	type = "related-to",
	displaytitle = "''Lost'' (TV series)",
	description = "=the television series ''[[w:Lost (2004 TV series)|Lost]]'' (2004–2010)",
	parents = {"American fiction", "นิยายวิทยาศาสตร์", "โทรทัศน์"},
}

labels["Lovecraftian horror"] = {
	type = "related-to",
	description = "=the [[literature|literary]] works of {{w|H. P. Lovecraft}}",
	parents = {"horror", "วรรณกรรม", "บันเทิงคดี"},
}

labels["lutherie"] = {
	type = "related-to",
	description = "default",
	parents = {"ดนตรี", "crafts"},
}

labels["magic"] = {
	type = "related-to",
	description = "default",
	parents = {"entertainment"},
}

labels["magic words"] = {
	type = "set",
	description = "{{{langname}}} magic words; terms that serve the purpose of effectively or apparently triggering a [[magical]] or [[illusionist]] event.",
	parents = {"บันเทิงคดี", "plot devices"},
}

labels["manga genres"] = {
	type = "type",
	description = "{{{langname}}} terms for [[manga]] [[genre]]s.",
	parents = {"literary genres"},
}

labels["การแต่งงาน"] = {
	type = "related-to",
	description = "default",
	parents = {"วัฒนธรรม", "ครอบครัว"},
}
labels["marriage"] = labels["การแต่งงาน"]

labels["สื่อมวลชน"] = {
	type = "related-to",
	description = "default",
	parents = {"วัฒนธรรม", "สื่อ"},
}
labels["mass media"] = labels["สื่อมวลชน"]

labels["Mastodon"] = {
	type = "related-to",
	description = "=the open-source decentralised social network and microblogging platform [[w:Mastodon (social network)|Mastodon]]",
	parents = {"สื่อสังคม", "เวิลด์ไวด์เว็บ"},
}

labels["Meitei deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "Meitei mythology"},
}

labels["Meitei mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"mythology"},
}

labels["merpeople"] = {
	type = "related-to",
	description = "default",
	parents = {"mythological creatures"},
}

labels["Mesopotamian deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "ตะวันออกใกล้โบราณ", "Mesopotamian mythology"},
}

labels["Mesopotamian mythology"] = {
	type = "related-to",
	description = "=the [[mythology]] of ancient [[Mesopotamia]]",
	parents = {"เทพปกรณัม", "ตะวันออกใกล้โบราณ"},
}

labels["M/M ships (fandom)"] = {
	type = "name",
	description = "{{{langname}}} names used in [[fandom]] for specific {{l|en|ship|ships|id=fandomnoun}} between two male characters.",
	parents = {"homosexual ships (fandom)"},
}

labels["modern art"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ"},
}

labels["Mongolian tribes"] = {
	type = "name",
	description = "{{{langname}}} names for Mongolian tribes.",
	parents = {"ethnonyms", "มองโกเลีย"},
}

labels["moustaches"] = {
	type = "type",
	description = "default",
	parents = {"หน้า", "แฟชั่น", "ผมและขน"},
}

labels["ดนตรี"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ", "sound"},
}
labels["music"] = labels["ดนตรี"]

labels["musical genres"] = {
	type = "type",
	description = "default",
	parents = {"ดนตรี", "genres"},
}

labels["musical voices and registers"] = {
	type = "type",
	description = "default",
	parents = {"ดนตรี", "singing"},
}

labels["My Hero Academia"] = {
	type = "related-to",
	displaytitle ="''My Hero Academia''",
	description = "=the ''{{w|My Hero Academia}}'' series",
	parents = {"Japanese fiction", "แอนิเมชัน", "comics"},
}

labels["My Little Pony"] = {
	type = "related-to",
	displaytitle = "''My Little Pony''",
	description = "=the ''{{w|My Little Pony}}'' franchise (which includes toys and animated series) and its fandom",
	parents = {"American fiction", "แอนิเมชัน", "ของเล่น"},
}

labels["mythological creatures"] = {
	type = "type",
	description = "default",
	parents = {"เทพปกรณัม", "fantasy"},
}

labels["mythological figures"] = {
	type = "name",
	description = "default",
	parents = {"เทพปกรณัม"},
}

labels["mythological locations"] = {
	type = "name",
	description = "default",
	parents = {"เทพปกรณัม"},
}

labels["mythological plants"] = {
	type = "type,name",
	description = "default",
	parents = {"เทพปกรณัม", "พืช"},
}

labels["เทพปกรณัม"] = {
	type = "related-to",
	description = "default",
	parents = {"วัฒนธรรม"},
}
labels["mythology"] = labels["เทพปกรณัม"]

labels["narratology"] = {
	type = "related-to",
	description = "default",
	parents = {"วรรณกรรม", "drama"},
}

labels["national anthems"] = {
	type = "name",
	description = "default",
	parents = {"artistic works", "ดนตรี"},
}

labels["newspapers"] = {
	type = "name",
	description = "default",
	parents = {"periodicals"},
}

labels["Niconico"] = {
	type = "related-to",
	description = "=the video-sharing website {{w|Niconico}}",
	parents = {"สื่อสังคม", "เวิล์ดไวด์เว็บ"},
}

labels["Norse deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "Norse mythology"},
}

labels["Norse mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม"},
}

labels["omegaverse"] = {
	type = "related-to",
	description = "=the [[omegaverse]] genre",
	parents = {"erotic literature", "fan fiction", "speculative fiction"},
}

labels["Once Upon a Time"] = {
	type = "related-to",
	displaytitle = "''Once Upon a Time''",
	description = "=the television series ''[[w:Once Upon a Time (TV series)|Once Upon a Time]]'' (2011–2018)",
	parents = {"American fiction", "Disney", "โทรทัศน์"},
}

labels["opera"] = {
	type = "related-to",
	description = "default",
	parents = {"โรงมหรสพ", "musical genres"},
}

labels["painting"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ"},
}

labels["palmistry"] = {
	type = "related-to",
	description = "default",
	parents = {"การทำนายดวงชะตา"},
}

labels["parties"] = {
	type = "type,related-to",
	description = "default",
	parents = {"วัฒนธรรม", "การบันเทิง"},
}

labels["people in Romance of the Three Kingdoms"] = {
	type = "name",
	displaytitle = "people in ''Romance of the Three Kingdoms''",
	description = "=people in ''{{w|Romance of the Three Kingdoms}}''",
	parents = {"สามก๊ก"},
}

labels["perfumes"] = {
	type = "type",
	description = "default",
	parents = {"แฟชั่น"},
}

labels["periodicals"] = {
	type = "type,related-to",
	description = "default",
	parents = {"สื่อมวลชน", "วรรณกรรม"},
}

labels["personifications"] = {
	type = "name",
	description = "default",
	parents = {"narratology"},
}

labels["places in Romance of the Three Kingdoms"] = {
	type = "name",
	displaytitle = "places in ''Romance of the Three Kingdoms''",
	description = "=places in ''{{w|Romance of the Three Kingdoms}}''",
	parents = {"สามก๊ก", "จีน"},
}

labels["plot devices"] = {
	type = "type",
	description = "default",
	parents = {"narratology", "บันเทิงคดี"},
}

labels["poetry"] = {
	type = "related-to",
	description = "default",
	parents = {"วรรณกรรม", "ศิลปะ"},
}

labels["polyamorous ships (fandom)"] = {
	type = "name",
	description = "{{{langname}}} names used in [[fandom]] for specific {{l|en|ship|ships|id=fandomnoun}} between three or more characters.",
	parents = {"ships (fandom) by relationship type"},
}

labels["Private Eye"] = {
	type = "related-to",
	displaytitle = "''Private Eye''",
	description = "=the ''{{w|Private Eye}}'' franchise",
	parents = {"British fiction"},
}

labels["Reddit"] = {
	type = "related-to",
	description = "=the social news aggregation and discussion website {{w|Reddit}}",
	parents = {"สื่อสังคม", "เวิล์ดไวด์เว็บ"},
}

labels["reference works"] = {
	type = "type",
	description = "default",
	parents = {"หนังสือ"},
}

labels["Roman deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "Roman mythology"},
}

labels["Roman mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม", "Ancient Rome"},
}

labels["romance fiction"] = {
	type = "related-to",
	description = "default",
	parents = {"literary genres", "love"},
}

labels["สามก๊ก"] = {
	type = "related-to",
	displaytitle = "''Romance of the Three Kingdoms''",
	description = "=''{{w|Romance of the Three Kingdoms}}''",
	parents = {"บันเทิงคดี", "วรรณกรรม"},
}
labels["Romance of the Three Kingdoms"] = labels["สามก๊ก"]

labels["RPF ships (fandom)"] = {
	type = "name",
	description = "{{{langname}}} names used in [[fandom]] for specific {{l|en|ship|ships|id=fandomnoun}} involving real people in a fictional relationship.",
	additional = "For actual relationships between real people, see [[:Category:Couple nicknames]].",
	parents = {"ships (fandom) by relationship type"},
}

labels["นิยายวิทยาศาสตร์"] = {
	type = "related-to",
	description = "default",
	parents = {"บันเทิงคดี", "speculative fiction"},
}
labels["science fiction"] = labels["นิยายวิทยาศาสตร์"]

labels["SCP Foundation"] = {
	type = "related-to",
	description = "English terms related to the SCP Wiki collaborative writing website and its setting of the {{w|SCP Foundation}}.",
	parents = {"fantasy", "บันเทิงคดี", "horror", "science fiction"},
}

labels["sculpture"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ"},
}

labels["Shahnameh"] = {
	type = "related-to",
	displaytitle = "''Shahnameh''",
	description = "=''Shahnameh''",
	parents = {"บันเทิงคดี", "poetry", "วรรณกรรม"},
}

labels["Shahnameh characters"] = {
	type = "name",
	description = "=characters in the [[Shahnameh]]",
	parents = {"Shahnameh"},
}

labels["Sherlock Holmes"] = {
	type = "related-to",
	description = "=the [[Sherlock Holmes]] stories by {{w|Arthur Conan Doyle}} and adaptations of them",
	parents = {"British fiction", "วรรณกรรม"},
}

labels["Sherlock (TV series)"] = {
	type = "related-to",
	displaytitle = "''Sherlock'' (TV series)",
	description = "=the television series ''[[w:Sherlock (TV series)|Sherlock]]'' (2010–2017)",
	parents = {"Sherlock Holmes", "โทรทัศน์"},
}

labels["shipping (fandom)"] = {
	type = "related-to",
	description = "={{l|en|ship|shipping|id=fandomverb}} (i.e., in [[fandom]], supporting a fictional romantic relationship between two characters)",
	parents = {"fandom", "romance fiction"},
}

labels["ships (fandom)"] = {
	type = "grouping",
	description = "=names used in [[fandom]] for specific {{l|en|ship|ships|id=fandomnoun}} i.e., a fictional relationship between two fictional characters or real people)",
	parents = {"shipping (fandom)"},
}

labels["ships (fandom) by relationship type"] = {
	type = "grouping",
	description = "={{l|en|ship|ship|id=fandomnoun}} names organized by the type of relationship (e.g, [[heterosexual]], [[homosexual]], etc.)",
	parents = {"ships (fandom)"},
}

labels["shippers (fandom)"] = {
	type = "type",
	description = "=[[shipper]]s (i.e., people who support a romantic or sexual relationship between characters or real people)",
	parents = {"shipping (fandom)"},
}

labels["singing"] = {
	type = "related-to",
	description = "default",
	parents = {"ดนตรี", "การพูด"},
}

labels["Slavic deities"] = {
	type = "name",
	description = "default",
	parents = {"gods", "Slavic mythology"},
}

labels["Slavic mythology"] = {
	type = "related-to",
	description = "=the [[mythology]] of the [[Slav]]s",
	parents = {"เทพปกรณัม"},
}

labels["Smallville (TV series)"] = {
	type = "related-to",
	displaytitle = "''Smallville'' (TV series)",
	description = "=the television series ''{{w|Smallville}}'' (2001–2011)",
	parents = {"American fiction", "Superman", "โทรทัศน์"},
}

labels["สื่อสังคม"] = {
	type = "related-to",
	wikidata = 202833,
	description = "default",
	parents = {"สื่อมวลชน", "อินเทอร์เน็ต"},
}
labels["social media"] = labels["สื่อสังคม"]

labels["South Korean idol fandom"] = {
	type = "related-to",
	wikidata = 39086123,
	description = "=[[South Korea|South Korean]] [[idol]] [[fandom]]",
	parents = {"idol fandom", "เกาหลีใต้"},
}

labels["South Park"] = {
	type = "related-to",
	wikidata = 16538,
	displaytitle = "''South Park''",
	description = "{{{langname}}} terms derived from and/or related to the animated television series ''{{w|South Park}}''.",
	parents = {"American fiction", "แอนิเมชัน"},
}

labels["Star Trek"] = {
	type = "related-to",
	wikidata = 1092,
	displaytitle = "''Star Trek''",
	description = "=the ''{{w|Star Trek}}'' franchise",
	parents = {"American fiction", "ภาพยนตร์", "นิยายวิทยาศาสตร์", "โทรทัศน์"},
}

labels["Star Wars"] = {
	type = "related-to",
	wikidata = 462,
	displaytitle = "''Star Wars''",
	description = "=the ''{{w|Star Wars}}'' franchise",
	parents = {"American fiction", "ภาพยนตร์", "นิยายวิทยาศาสตร์", "Disney"},
}

labels["Steven Universe"] = {
	type = "related-to",
	wikidata = 7615342,
	displaytitle = "''Steven Universe''",
	description = "=the animated television series ''{{w|Steven Universe}}''",
	parents = {"American fiction", "แอนิเมชัน"},
}

labels["stock characters"] = {
	type = "type",
	wikidata = 636497,
	description = "default",
	parents = {"fictional characters"},
}

labels["speculative fiction"] = {
	type = "related-to",
	wikidata = 9326077,
	description = "default",
	parents = {"บันเทิงคดี", "genres"},
}

labels["spider fighting"] = {
	type = "related-to",
	wikidata = 7577058,
	description = "={{w|spider fighting}}",
	parents = {"spiders", "human activity"},
}

labels["superheroes"] = {
	type = "name",
	wikidata = 188784,
	description = "=[[superhero]]es",
	parents = {"fictional characters"},
}

labels["Superman"] = {
	type = "related-to",
	wikidata = 79015,
	description = "=the fictional [[superhero]] [[Superman]]",
	parents = {"DC Comics", "fictional characters"},
}

labels["Supernatural (TV series)"] = {
	type = "related-to",
	wikidata = 130585,
	displaytitle = "''Supernatural'' (TV series)",
	description = "=the television series ''[[w:Supernatural (American TV series)|Supernatural]]'' (2005–2020)",
	parents = {"American fiction", "โทรทัศน์"},
}

labels["Tamil deities"] = {
	type = "name",
	description = "default",
	additional = "See [[w:Dravidian folk religion|Dravidian religion]] or [[w:Religion in ancient Tamilakam|Tamil region]] for more.",
	parents = {"gods", "Hindu deities"},
}

labels["โทรทัศน์"] = {
	description = "default",
	parents = {"สื่อมวลชน", "broadcasting"},
}
labels["television"] = labels["โทรทัศน์"]

labels["The Handmaid's Tale"] = {
	type = "related-to",
	displaytitle = "''The Handmaid's Tale''",
	description = "=the 1985 novel ''{{w|The Handmaid's Tale}}'' by {{w|Margaret Atwood}} and its [[w:The Handmaid's Tale (TV series)|television adaptation]] (2017–)",
	parents = {"Canadian fiction", "นิยายวิทยาศาสตร์", "วรรณกรรม"},
}

labels["The Hunger Games"] = {
	type = "related-to",
	displaytitle = "''The Hunger Games''",
	description = "=''{{w|The Hunger Games}}'' novel series by {{w|Suzanne Collins}} and its film adaptations",
	parents = {"American fiction", "นิยายวิทยาศาสตร์", "วรรณกรรม"},
}

labels["The Matrix"] = {
	type = "related-to",
	displaytitle = "''The Matrix''",
	description = "=''{{w|The Matrix}}''",
	parents = {"American fiction", "นิยายวิทยาศาสตร์"},
}

labels["The Simpsons"] = {
	type = "related-to",
	displaytitle = "''The Simpsons''",
	description = "{{{langname}}} terms derived from and/or related to the animated television series ''{{w|The Simpsons}}''.",
	parents = {"American fiction", "แอนิเมชัน", "Disney"},
}

labels["The Walking Dead"] = {
	type = "related-to",
	displaytitle = "''The Walking Dead''",
	description = "=the television series ''[[w:The Walking Dead (TV series)|The Walking Dead]]'' (2010–2022) and the comic series from which it was adapted",
	parents = {"American fiction", "โทรทัศน์"},
}

labels["The Wizard of Oz"] = {
	type = "related-to",
	displaytitle = "''The Wizard of Oz''",
	description = "{{{langname}}} terms and phrases which have entered the vernacular as a result of the cultural impact of ''{{w|The Wonderful Wizard of Oz}}'' and ''[[w:The Wizard of Oz (1939 film)|The Wizard of Oz]]''.",
	parents = {"American fiction", "วรรณกรรม"},
}

labels["The X-Files"] = {
	type = "related-to",
	displaytitle = "''The X-Files''",
	description = "=the ''{{w|The X-Files}}'' franchise",
	parents = {"American fiction", "นิยายวิทยาศาสตร์", "โทรทัศน์"},
}

labels["โรงมหรสพ"] = {
	type = "related-to",
	description = "default",
	parents = {"ศิลปะ", "การบันเทิง"},
}
labels["theater"] = labels["โรงมหรสพ"]

labels["TikTok"] = {
	type = "related-to",
	description = "=the video-sharing and social-networking service {{w|TikTok}}",
	parents = {"สื่อสังคม", "เวิล์ดไวด์เว็บ"},
}

labels["Tupi mythology"] = {
	type = "related-to",
	description = "default",
	parents = {"เทพปกรณัม"},
}

labels["Twilight (novel series)"] = {
	type = "related-to",
	displaytitle = "''Twilight'' (novel series)",
	description = "=the ''[[w:Twilight (series)|Twilight]]'' franchise",
	parents = {"American fiction", "fantasy", "วรรณกรรม"},
}

labels["Twitter"] = {
	type = "related-to",
	description = "=the social networking and microblogging service {{w|Twitter}}",
	parents = {"สื่อสังคม", "เวิล์ดไวด์เว็บ"},
}

labels["Tumblr"] = {
	type = "related-to",
	description = "=the microblogging and social networking service {{w|Tumblr}}",
	parents = {"สื่อสังคม", "เวิล์ดไวด์เว็บ"},
}

labels["Virtual YouTuber"] = {
	type = "related-to",
	description = "=[[virtual YouTuber]]s ([[VTuber]]s)",
	parents = {"YouTube", "การบันเทิง"},
}

labels["web design"] = {
	type = "related-to",
	description = "default",
	parents = {"design", "เวิล์ดไวด์เว็บ"},
}

labels["worldbuilding"] = {
	type = "related-to",
	description = "default",
	parents = {"narratology", "speculative fiction"},
}

labels["Xena: Warrior Princess"] = {
	type = "related-to",
	displaytitle = "''Xena: Warrior Princess''",
	description = "=the television series ''{{w|Xena: Warrior Princess}}'' (1995–2001)",
	parents = {"American fiction", "โทรทัศน์"},
}

labels["YouTube"] = {
	type = "related-to",
	description = "=the video-sharing website {{w|YouTube}}",
	parents = {"สื่อสังคม", "เวิล์ดไวด์เว็บ", "กูเกิล"},
}

labels["DC Comics"] = {
	type = "related-to",
	description = "={{w|DC Comics}}",
	parents = {"American fiction", "comics"},
}

labels["Marvel Comics"] = {
	type = "related-to",
	description = "={{w|Marvel Comics}}",
	parents = {"American fiction", "comics"},
}

return labels