Modul:Wikidata2/POITypes

Aus Wikivoyage
Zur Navigation springen Zur Suche springen
Template-info.png Dokumentation für das Modul Wikidata2/POITypes[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]

Verwendung

Das Modul enthält die POI-Typen für das Modul Wikidata2. Benutzt wird des von der Funktion wd.getPOITypes(). Sie liefert zum übergebenen Objekt den passenden Typen zurück, sofern in der Tabelle in diesem Modul definiert ist. Ist nichts hinterlegt wird der Standardwert ausgegeben (derzeit: sight). Die Typen werden unter anderem von Vorlagen {{Poi}} und {{VCard}} benutzt um die Markierungen in den dynamischen Karten einzufärben.
Hinweise
return {

	-- see also: Modul:VCard/Types

	-- Standard
	["default"]		= "sight",

	-- go: journey and mobility

	['Q719456']     = 'go',         -- station
	['Q334166']     = 'go',         -- mode of transport
	['Q740752']     = 'go',         -- transport company

	['Q44782']      = 'port',
	['Q1248784']    = 'airport',    -- Flughafen
	['Q62447']      = 'airport',    -- Flugplatz
	['Q55488']      = 'train',      -- Bahnhof
	['Q55678']      = 'train',      -- Haltepunkt
	['Q25653']      = 'ferry',      -- Fähre
	['Q44377']      = 'tunnel',     -- Tunnel
	['Q494829']     = 'bus',        -- Busbahnhof

	-- see, sights

	["Q839954"]     = "archaeological site",	-- archäologische Stätte, allgemein
	['Q12280']      = 'bridge',     -- Brücke
	['Q41176']      = 'building',   -- Gebäude
	['Q811979']     = 'building',   -- Bauwerk
	['Q1497364']    = 'building',   -- Gebäudekomplex
	['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
	['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
	['Q570116']     = 'see',        -- Sehenswürdigkeit
	['Q174782']     = 'square',     -- Platz
	['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
	['Q173387']     = 'tomb',
	['Q381885']     = 'tomb',       -- Grabkammer
	['Q6023295']    = 'tomb',       -- burial or funerary monument or structure
	['Q12518']      = 'tower',
	['Q43483']      = 'well',
	['Q43501']      = 'zoo',

	-- do, culture

	['Q153562']     = 'opera house',
	['Q24354']      = 'theater',
	['Q1060829']    = 'concert hall',
	['Q1329623']    = 'arts centre',
	['Q18674739']   = 'event venue', -- Veranstaltungsort
	['Q27150222']   = 'fair',

	-- do, recreation

	-- do, sports and fitness

	-- buy, shopping

	['Q11315']      = 'mall',
	['Q37654']      = 'market',

	-- eat: Küche

	['Q27038993']   = 'eat',        -- food establishment
	['Q27077054']   = 'eat',        -- catering company

	['Q131734']     = 'brewery',
	['Q736427']     = 'food',
	['Q2095']       = 'food',
	['Q11707']      = 'restaurant',

	-- drink: Ausgehen

	['Q5307737']    = 'drink',      -- drinking establishment

	['Q187456']     = 'bar',
	['Q30022']      = 'cafe',

	-- sleep: Unterkunft

	['Q5056668']    = 'sleep',      -- lodging

	['Q1065252']    = 'boarding house',
	['Q2460422']    = 'guest house',
	['Q654772']     = 'hostel',
	["Q27686"]      = "hotel",
	['Q63099748']   = 'hotel',
	
	-- other, health
	
	['Q16917']      = 'hospital',

	-- other, teaching & learning

	['Q7075']       = 'library',
	['Q3918']       = 'university',

	-- other, administration and uncategorized

	['Q182060']     = 'office',
	['Q43229']      = 'organisation',
	['Q1587716']    = 'tourist information',
	['Q18411786']   = 'tourist information',

	-- settlements

	['Q515']        = 'city',
	['Q532']        = 'village',
	['Q486972']     = 'settlement',
	['Q253019']     = 'quarter',
	['Q2983893']    = 'quarter',
	['Q82794']      = 'region',

	-- view

}