Modul:MarkerBase/Groups

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

Liefert ein Array mit den Eigenschaften der {{Marker}}/{{vCard}}-Gruppen wie Farbe, Übersetzung und die angepasste Übersetzung ohne Umlaute für die Darstellung auf Kartographer-Karten.

Verwendung in anderen Modulen

Dieses Modul ist notwendig für die Ausführung folgender Module. Bei Anpassungen sollte die Funktionstüchtigkeit der folgenden Module geprüft werden. Benutze dazu auch diese Tracking-Kategorie um Fehler zu finden, die sich dann auf Artikel auswirken:

Hinweise
-- returning an array with group properties
-- please use only quotation marks instead of apostrophs for JSON export

return {
	["error"]   = { color = "#FF00FF", is = "system", label = "Fehler" },
	mask        = { color = "#FF00FF", is = "system", label = "Maske" },
	track       = { color = "#FF00FF", is = "system", label = "Track" },

	area        = { color = "#800000", label = "Gebiet", default = "region" },
	buy         = { color = "#008080", label = "Kaufen", default = "shop" },
	["do"]      = { color = "#808080", label = "Aktivität", map = "Aktivitaet", default = "sports" },
	drink       = { color = "#000000", label = "Ausgehen", default = "bar" },
	eat         = { color = "#D2691E", label = "Küche", map = "Kueche", default = "restaurant" },
	go          = { color = "#A52A2A", label = "Anreise", default = "station" },
	other       = { color = "#228B22", label = "Anderes", default = "office" },
	populated   = { color = "#0000FF", label = "Besiedelt", default = "town" },
	see         = { color = "#4682B4", label = "Sehenswürdigkeit", map = "Sehenswert", default = "monument" },
	sleep       = { color = "#000080", label = "Unterkunft", default = "hotel" },
	view        = { color = "#4169E1", label = "Aussicht", default = "viewpoint" },

	black       = { color = "#000000", is = "color", alias = "drink", label = "schwarz" },
	blue        = { color = "#0000FF", is = "color", alias = "populated", label = "blau" },
	brown       = { color = "#A52A2A", is = "color", alias = "go", label = "brown" },
	chocolate   = { color = "#D2691E", is = "color", alias = "eat", label = "schokoladenbraun", map = "schokobraun" },
	forestgreen = { color = "#228B22", is = "color", alias = "other", label = "waldgrün", map = "waldgruen" },
	fuchsia     = { color = "#FF00FF", is = "color", alias = "error", label = "purpurrot" },
	gray        = { color = "#808080", is = "color", alias = "do", label = "grau" },
	grey        = { color = "#808080", is = "color", alias = "do", label = "grau" },
	maroon      = { color = "#800000", is = "color", alias = "area", label = "kastanienbraun" },
	navy        = { color = "#000080", is = "color", alias = "sleep", label = "marineblau" },
	royalblue   = { color = "#4169E1", is = "color", alias = "view", label = "königsblau", map = "koenigsblau" },
	steelblue   = { color = "#4682B4", is = "color", alias = "see", label = "stahlblau" },
	teal        = { color = "#008080", is = "color", alias = "buy", label = "blaugrün", map = "blaugruen" },

	cosmos      = { color = "#FFCFCF", is = "color", label = "cosmos" }, -- instead of former type target, FFCCCC
	gold        = { color = "#FFD700", is = "color", label = "gold" },
	lime        = { color = "#BFFF00", is = "color", label = "hellgrün", map = "hellgruen" },
	magenta     = { color = "#FF00FF", is = "color", label = "magentarot" },
	mediumaquamarine = { color = "#66CDAA", is = "color", label = "aquamarinblau" },
	orange      = { color = "#FFA500", is = "color", label = "orange" },
	plum        = { color = "#DDA0DD", is = "color", label = "pflaumenblau" },
	purple      = { color = "#800080", is = "color", label = "violett" },
	red         = { color = "#FF0000", is = "color", label = "rot" },
	silver      = { color = "#C0C0C0", is = "color", label = "silber" }
}