Module:Navigation by Wikidata/special rules
Lua
Documentation for this module may be created at Module:Navigation by Wikidata/special rules/doc
Code
-- =============================================================================
-- Special rules for category names
-- =============================================================================
-- -----------------------------------------------------------------------------
-- List of special rules by Wikidata item id:
-- * if "the" is true, a "the" can be prepended to the name
-- * if "lowercase" is true, the first letter is lowercased
-- -----------------------------------------------------------------------------
return {
-- Countries
Q27 = {the = true}, -- Republic of Ireland
Q30 = {the = true}, -- United States
Q55 = {the = true}, -- Netherlands
Q145 = {the = true}, -- United Kingdom
Q213 = {the = true}, -- Czech Republic
Q237 = {the = true}, -- Vatican City
Q685 = {the = true}, -- Solomon Islands
Q702 = {the = true}, -- Federated States of Micronesia
Q709 = {the = true}, -- Marshall Islands
-- Q778 = {the = true}, -- Bahamas
Q778 = {lowercase = true}, -- This is now "The Bahamas"
Q786 = {the = true}, -- Dominican Republic
Q826 = {the = true}, -- Maldives
Q878 = {the = true}, -- United Arab Emirates
Q928 = {the = true}, -- Philippines
Q929 = {the = true}, -- Central African Republic
Q970 = {the = true}, -- Comoros
Q971 = {the = true}, -- Republic of the Congo
Q974 = {the = true}, -- Democratic Republic of the Congo
Q1005 = {the = true}, -- Gambia
Q1042 = {the = true}, -- Seychelles
Q4628 = {the = true}, -- Faroe Islands
Q5785 = {the = true}, -- Cayman Islands
Q9648 = {the = true}, -- Falkland Islands
Q9676 = {the = true}, -- Isle of Man
Q11703 = {the = true}, -- United States Virgin Islands
Q16644 = {the = true}, -- Northern Mariana Islands
Q16645 = {the = true}, -- United States Minor Outlying Islands
Q18221 = {the = true}, -- Turks and Caicos Islands
Q25305 = {the = true}, -- British Virgin Islands
Q26988 = {the = true}, -- Cook Islands
Q36004 = {the = true}, -- Cocos (Keeling) Islands
Q40362 = {the = true}, -- Sahrawi Arab Democratic Republic
Q46395 = {the = true}, -- British Overseas Territories
Q129003 = {the = true}, -- French Southern and Antarctic Lands
Q190571 = {the = true}, -- Scattered Islands in the Indian Ocean
Q219060 = {the = true}, -- Palestinian territories
Q244165 = {the = true}, -- Republic of Artsakh
Q537749 = {the = true}, -- Florida Keys
Q5317255 = {the = true}, -- Dutch Caribbean
-- Autonomous communities of Spain
Q5765 = {the = true}, -- Balearic Islands
Q3995 = {the = true}, -- Basque Country
Q5813 = {the = true}, -- Canary Islands
Q5756 = {the = true}, -- Community of Madrid
Q5772 = {the = true}, -- Region of Murcia
Q5720 = {the = true}, -- Valencian Community
-- Cantons of Switzerland
Q12079 = {the = true, lowercase = true}, -- Appenzell Ausserrhoden
Q12094 = {the = true, lowercase = true}, -- Appenzell Innerrhoden
Q11972 = {the = true, lowercase = true}, -- Aargau
Q12146 = {the = true, lowercase = true}, -- Basel-Landschaft
Q12172 = {the = true, lowercase = true}, -- Basel-Stadt
Q11911 = {the = true, lowercase = true}, -- Bern
Q12640 = {the = true, lowercase = true}, -- Fribourg
Q11917 = {the = true, lowercase = true}, -- Geneva
Q11922 = {the = true, lowercase = true}, -- Glarus
Q11925 = {the = true, lowercase = true}, -- Graubünden
Q12755 = {the = true, lowercase = true}, -- Jura
Q12121 = {the = true, lowercase = true}, -- Lucerne
Q12738 = {the = true, lowercase = true}, -- Neuchâtel
Q12592 = {the = true, lowercase = true}, -- Nidwalden
Q12573 = {the = true, lowercase = true}, -- Obwalden
Q12746 = {the = true, lowercase = true}, -- St. Gallen
Q12697 = {the = true, lowercase = true}, -- Schaffhausen
Q12433 = {the = true, lowercase = true}, -- Schwyz
Q11929 = {the = true, lowercase = true}, -- Solothurn
Q12724 = {the = true, lowercase = true}, -- Ticino
Q12713 = {the = true, lowercase = true}, -- Thurgau
Q12404 = {the = true, lowercase = true}, -- Uri
Q834 = {the = true, lowercase = true}, -- Valais
Q12771 = {the = true, lowercase = true}, -- Vaud
Q11933 = {the = true, lowercase = true}, -- Zug
Q11943 = {the = true, lowercase = true}, -- Zürich
-- Federal subjects of Russia
Q5971 = {the = true}, -- Altai Republic
Q15966495 = {the = true}, -- Republic of Crimea
Q1914 = {the = true}, -- Republic of Karelia
Q6605 = {the = true}, -- Sakha Republic
-- Autonomous republics of Ukraine
Q756294 = {the = true}, -- Autonomous Republic of Crimea
-- Seasons
Q1311 = {lowercase = true}, -- Winter
Q1312 = {lowercase = true}, -- Spring
Q1313 = {lowercase = true}, -- Summer
Q1314 = {lowercase = true}, -- Autumn
}