Module:User:Benwing2/category tree/topic cat/data/History
Appearance
- This module sandbox 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["history"] = {
type = "topic",
description = "default",
parents = {"all topics"},
}
labels["Akkad"] = {
type = "topic",
description = "default",
parents = {"Ancient Near East"},
}
labels["American Civil War"] = {
type = "topic",
description = "=the [[American Civil War]]",
parents = {"historical events", "history of the United States", "war", "slavery"},
}
labels["Ancient Africa"] = {
type = "topic",
description = "default",
parents = {"ancient history", "history of Africa"},
}
labels["Ancient Asia"] = {
type = "topic",
description = "default",
parents = {"ancient history", "history of Asia"},
}
labels["Ancient Egypt"] = {
type = "topic",
description = "=[[ancient]] [[Egypt]]",
parents = {"Ancient Africa", "Ancient Near East", "history of Egypt"},
}
labels["ancient history"] = {
type = "topic",
description = "default",
parents = {"history"},
}
labels["Ancient Europe"] = {
type = "topic",
description = "default",
parents = {"ancient history", "history of Europe"},
}
labels["Ancient Greece"] = {
type = "topic",
description = "default",
parents = {"Ancient Near East", "Ancient Europe", "history of Greece"},
}
labels["Ancient Near East"] = {
type = "topic",
description = "default with the",
parents = {"ancient history", "Ancient Asia"},
}
labels["Ancient Rome"] = {
type = "topic",
description = "default",
parents = {"Ancient Europe", "Ancient Africa", "ancient history", "Ancient Near East", "history of Italy"},
}
labels["Assyria"] = {
type = "topic",
description = "default",
parents = {"Ancient Near East"},
}
labels["Babylonia"] = {
type = "topic",
description = "default",
parents = {"Ancient Near East"},
}
labels["Byzantine Empire"] = {
type = "topic",
description = "default with the",
parents = {"Ancient Europe", "Ancient Near East", "history of Asia", "history of Europe", "history of Greece", "history of Turkey"},
}
labels["Chinese Civil War"] = {
type = "topic",
description = "default with the wikify",
parents = {"historical events", "history of China", "war"},
}
labels["Chinese dynasties"] = {
type = "name",
description = "default wikify no singularize",
parents = {"dynasties", "history of China"},
}
labels["Chinese era names"] = {
type = "name",
description = "default wikify",
parents = {"historical periods", "history of China"},
}
labels["Cold War"] = {
type = "topic",
description = "default with the",
parents = {"historical events", "Soviet Union", "history of the United States", "history of Europe", "nuclear warfare"},
}
labels["Cultural Revolution"] = {
type = "topic",
description = "default with the",
parents = {"historical events", "history of China"},
}
labels["dynasties"] = {
type = "set",
description = "default",
parents = {"historical periods"},
}
labels["Etruria"] = {
type = "topic",
description = "default",
parents = {"Ancient Europe", "history of Italy"},
}
labels["genealogy"] = {
type = "topic",
description = "default",
parents = {"history", "genetics"},
}
labels["heraldic charges"] = {
type = "set",
description = "default",
parents = {"heraldry"},
}
labels["heraldic tinctures"] = {
type = "set",
description = "default",
parents = {"heraldry", "colors"},
}
labels["heraldry"] = {
type = "topic",
description = "default",
parents = {"history"},
}
labels["historical events"] = {
type = "name",
description = "default",
parents = {"history"},
}
labels["historical periods"] = {
type = "name",
description = "default",
additional = "Terms may be added to this category by adding the label {{temp|lb|{{{langcode}}}|historical period}}.",
parents = {{name = "history", sort = "periods"}, "timekeeping"},
}
labels["historiography"] = {
type = "topic",
description = "default",
parents = {"history"},
}
for _, country_parent in ipairs {
{"Africa"},
{"Algeria", "history of Africa"},
{"Asia"},
{"China", "history of Asia"},
{"Egypt", {"history of Africa", "history of Asia"}},
{"Europe"},
{"France", "history of Europe"},
{"Germany", "history of Germany"},
{"Greece", {"history of Europe", "history of Asia"}},
{"Hong Kong", "history of China"},
{"Hungary", "history of Europe"},
{"India", "history of Asia"},
{"Italy", "history of Europe"},
{"Japan", "history of Asia"},
{"Jordan", "history of Asia"},
{"Poland", "history of Europe"},
{"Spain", "history of Europe"},
{"the Netherlands", "history of Europe", "Netherlands"},
{"the United Kingdom", "history of Europe", "United Kingdom"},
{"the United States", nil, "United States"},
{"Tunisia", "history of Africa"},
{"Turkey", {"history of Asia", "history of Europe"}},
{"Vietnam", "history of Asia"},
} do
local country, parent, country_parent_form = unpack(country_parent)
if not parent then
parent = {"history"}
elseif type(parent) ~= "table" then
parent = {parent}
end
table.insert(parent, country_parent_form or country)
labels["history of " .. country] = {
type = "topic",
description = "default with the wikify",
parents = parent,
}
end
labels["Mughal Empire"] = {
type = "topic",
description = "default with the",
parents = {"history of India"},
}
labels["Ottoman Empire"] = {
type = "topic",
description = "default with the",
parents = {"Near East", "history of Africa", "history of Asia", "history of Europe", "history of Turkey"},
}
labels["Phoenicia"] = {
type = "topic",
description = "default",
parents = {"Ancient Near East"},
}
labels["Second Sino-Japanese War"] = {
type = "topic",
description = "default with the wikify",
parents = {"history of China", "History of Japan", "World War II"},
}
labels["Sumer"] = {
type = "topic",
description = "default",
parents = {"Ancient Near East"},
}
labels["Vietnamese dynasties"] = {
type = "name",
description = "default wikify no singularize",
parents = {"dynasties", "history of Vietnam"},
}
labels["World War I"] = {
type = "topic",
description = "default",
parents = {"historical events", "history of Europe", "war"},
}
labels["World War II"] = {
type = "topic",
description = "default",
parents = {"historical events", "history of Europe", "war"},
}
return labels