Módulo:Marker utilities/wdTypes

De Wikiviajes, la guía libre de viajes
Ir a la navegación Ir a la búsqueda
Icono de documentación de módulo Documentación del módulo[ver] [editar] [historial] [purgar]

Uso

This modules collects some common types used in qualifiers. Its used in Módulo:Marker utilities to save processing time by avoiding frequent Wikidata accesses.
Esta documentación está transcluida desde Módulo:Marker utilities/wdTypes/doc.
Los editores pueden experimentar en la zona de pruebas (crear) y en los casos de prueba (crear) del módulo.
Por favor, añade las categorías en la subpágina de documentación. Subpáginas de este módulo.

-- Convert frequently used Wikidata ids into marker types to reduce computing time

return {
	-- Standard
	default		= "sight",

	-- go: journey and mobility

	Q1248784    = "airport",    -- Flughafen
	Q62447      = "airport",    -- Flugplatz
	Q494829     = "bus",        -- Bus, Busbahnhof
	Q25653      = "ferry",      -- Fähre
	Q1478783    = "ferry",      -- Fährhafen
	Q719456     = "go",         -- station
	Q334166     = "go",         -- mode of transport
	Q740752     = "go",         -- transport company
	Q44782      = "port",       -- Hafen
	Q283202     = "port",
	Q55488      = "train",      -- Bahnhof
	Q55678      = "train",      -- Haltepunkt
	Q44377      = "tunnel",     -- Tunnel

	-- see, sights

	Q839954     = "archaeological site",	-- archäologische Stätte, allgemein
	Q14908      = "boat lift",
	Q167346     = "botanical garden",
	Q12280      = "bridge",     -- Brücke
	Q41176      = "building",   -- Gebäude
	Q811979     = "building",   -- Bauwerk
	Q1497364    = "building",   -- Gebäudekomplex
	Q18247357   = "building",   -- Bauwerkgruppe
	Q23413      = "castle",     -- Burg
	Q35509      = "cave",
	Q39614      = "cemetery",   -- Friedhof
	Q751876     = "château",    -- Schloss
	Q16970      = "church",     -- Kirche
	Q16748868   = "city wall",
	Q12323      = "embankment dam",
	Q1244922    = "embankment dam",
	Q4421       = "forest",
	Q47692      = "garden",     -- Garten
	Q1107656    = "garden",
	Q53060      = "gate",       -- Tor
	Q23442      = "island",
	Q23397      = "lake",
	Q39715      = "lighthouse", -- Leuchtturm
	Q105731     = "lock",       -- Schleuse
	Q44613      = "monastery",  -- Kloster
	Q32815      = "mosque",     -- Moschee
	Q33506      = "museum",     -- Museum
	Q473972     = "nature reserve",
	Q759421     = "nature reserve",
	Q62832      = "observatory",
	Q16560      = "palace",     -- Palast
	Q22698      = "park",       -- Park
	Q728904     = "park",       -- Naturpark
	Q159719     = "power",      -- Kraftwerk
	Q34442      = "road",       -- Straße
	Q83620      = "road",       -- Verkehrsweg
	Q194188     = "spaceport",
	Q570116     = "see",        -- Sehenswürdigkeit
	Q174782     = "square",     -- Platz
	Q179700     = "statue",
	Q543654     = "town hall",
	Q44539      = "temple",		-- Tempel, allgemein
	Q427287     = "temple",		-- Wat in Thailand, Kambodscha, Myanmar und Laos
	Q842402     = "temple",		-- Hindutempel
	Q13466456   = "temple",		-- Millionenjahrhaus
	Q927825     = "temple",		-- Totentempel
	Q974127     = "temple",     -- Stadtpfeiler in Thailand
	Q58621988   = "temple",     -- Tempelbezirk
	Q173387     = "tomb",
	Q381885     = "tomb",       -- Grabkammer
	Q6023295    = "tomb",       -- burial or funerary monument or structure
	Q12518      = "tower",
	Q43483      = "well",
	Q43501      = "zoo",

	-- do, culture

	Q1329623    = "arts centre",
	Q1060829    = "concert hall",
	Q102307360  = "bicycle route",
	Q18674739   = "event venue", -- Veranstaltungsort
	Q27150222   = "fair",
	Q153562     = "opera house",
	Q24354      = "theater",

	-- do, recreation

	-- do, sports and fitness

	-- buy, shopping

	Q11315      = "mall",
	Q37654      = "market",

	-- eat: Küche

	Q131734     = "brewery",
	Q27038993   = "eat",        -- food establishment
	Q27077054   = "eat",        -- catering company
	Q736427     = "food",
	Q2095       = "food",
	Q11707      = "restaurant",

	-- drink: Ausgehen

	Q187456     = "bar",
	Q30022      = "cafe",
	Q5307737    = "drink",      -- drinking establishment

	-- sleep: Unterkunft

	Q1065252    = "boarding house",
	Q2460422    = "guest house",
	Q654772     = "hostel",
	Q27686      = "hotel",
	Q63099748   = "hotel",
	Q5056668    = "sleep",      -- lodging
	
	-- other, health
	
	Q16917      = "hospital",

	-- other, teaching & learning

	Q7075       = "library",
	Q3918       = "university",

	-- other, administration and uncategorized

	Q3917681    = "embassy",
	Q182060     = "office",
	Q43229      = "organisation",
	Q1587716    = "tourist information",
	Q18411786   = "tourist information",

	-- settlements

	Q515        = "city",
	Q253019     = "quarter",
	Q2983893    = "quarter",
	Q82794      = "region",
	Q486972     = "settlement",
	Q532        = "village",

	-- view


	-- areas

	Q10864048   = "adm1st",
	Q13220204   = "adm2nd",
	Q13221722   = "adm3rd",
}