Přeskočit na obsah

Modul:Marker utilities/Groups

Z Wikicest

Dokumentaci tohoto modulu lze vytvořit na stránce Modul:Marker utilities/Groups/Dokumentace

--[[
	Returning an array with group properties.
	Please use only quotation marks instead of apostrophs for JSON export.
	Please do not specify empty strings: let the parameter undefined.

	Dependencies:
	- MediaWiki:ListingInfo.js, makiIcons array
--]]
-- kopie z německých wikicest (https://de.wikivoyage.org/w/index.php?title=Modul:Marker_utilities/Groups&oldid=1627371)
-- copy from dewikivoyage (https://de.wikivoyage.org/w/index.php?title=Modul:Marker_utilities/Groups&oldid=1627371)

return {
	-- administration
	moduleInterface = {
		suite  = "Marker utilities",
		sub    = "groups",
		serial = "2024-07-08",
		item   = 65445315
	},

	-- Default mapframe/maplink show parameter
	-- also to set in MediaWiki:MapTools.js: defaultShow
	showAll = "maska,trasa,aktivity,jiné,doprava,pití,výhled,sídlo," ..
		"chyba,oblast,zdraví,nakupování,jídlo,příroda,náboženství,pamětihodnost,ubytování," ..
		"akvamarín,kosmos,zlatá,limetková,oranžová,švestková,červená,stříbrná,fialová",

	groups = {
		["error"]   = { color = "#FF00FF", is = "system", label = "chyba", alias = "magenta" },
		mask        = { color = "#FF00FF", is = "system", label = "maska" },
		track       = { color = "#FF00FF", is = "system", label = "trasa" },

		area        = { color = "#800000", label = "oblast", default = "region", alias = "maroon" },
		buy         = { color = "#008080", label = "nakupování", default = "shop", alias = "teal" },
		["do"]      = { color = "#808080", label = "aktivity", default = "sports", alias = "grey", withEvents = "1" },
		drink       = { color = "#2F4F4F", label = "pití", default = "bar", alias = "darkslategray" },
		eat         = { color = "#D2691E", label = "jídlo", default = "restaurant", alias = "chocolate" },
		go          = { color = "#A52A2A", label = "doprava", default = "station", alias = "brown" },
		health      = { color = "#DC143C", label = "zdraví", default = "hospital", alias = "crimson" },
		nature      = { color = "#228B22", label = "příroda", default = "landscape", alias = "forestgreen" },
		other       = { color = "#808000", label = "jiné", default = "office", alias = "olive" },
		populated   = { color = "#0000FF", label = "sídlo", default = "town", alias = "blue" },
		religion    = { color = "#DAA520", label = "náboženství", default = "church", alias = "goldenrod" },
		see         = { color = "#4682B4", label = "pamětihodnost", default = "monument", alias = "steelblue" },
		sleep       = { color = "#000080", label = "ubytování", default = "hotel", alias = "navy" },
		view        = { color = "#4169E1", label = "výhled", default = "viewpoint", alias = "royalblue" },

		-- please do not use colors already used for additional groups listed above

		cosmos      = { color = "#FFCFCF", is = "color", label = "kosmos" }, -- instead of former type target, FFCCCC
		gold        = { color = "#FFD700", is = "color", label = "zlatá" },
		lime        = { color = "#BFFF00", is = "color", label = "limetková" },
		mediumaquamarine = { color = "#66CDAA", is = "color", label = "akvamarín" },
		orange      = { color = "#FFA500", is = "color", label = "oranžová" },
		plum        = { color = "#DDA0DD", is = "color", label = "švestková" },
		purple      = { color = "#800080", is = "color", label = "fialová" },
		red         = { color = "#FF0000", is = "color", label = "červená" },
		silver      = { color = "#C0C0C0", is = "color", label = "stříbrná" }
	}
}