Módulo:Marker utilities/Groups/doc
Esta es la página de documentación de Módulo:Marker utilities/Groups
Uso
editarVersion check
editarMeaning of the sub-keys
editarcolor
: hexadecimal color value including # sign,alias
: alias for keys likemask
,do
,see
, etc. for internationalization,is
: type of data set:system
only for internal use,color
represents a color instead of a logical key name. Don’t change this sub-key.label
: group name for the vCard/listing editor and the Kartographer-map layers tool. If label is missingalias
or the key values are used,withEvents
: marks groups where events belong to
Don’t change the names of the keys like mask
, do
, see
, etc.
Enter the map, label or alias name to the showAll
parameter in this and Mapshape utilities/i18n modules, namely the value of the first sub-key used in that succession.
Group overview
editarWhite numbers
editarBlack numbers
editar1 religion 1 cosmos 1 gold 1 lime 1 mediumaquamarine 1 orange 1 plum 1 silver
In Module:Marker utilities, the background color value for the type error
(magenta, #FF00FF) serves as the relative luminance threshold (0.2848) which is greater than the value of about 0.211 as proposed by Github user Makizushi. But the color estimation at the Wikimedia’s map server seems to be different from that of Makizushi.
References
editar- Relative luminance, Web Content Accessibility Guidelines (WCAG) 2.0, W3.org. The minimum contrast ratio ( (L-lighter + 0.05) / (L-darker + 0.05) ) should be at least 4.5:1
- Makizushi’s code for markers. It seems that the relative luminance threshold of about 0.211 differs from that of Kartotherian’s definition. The pushpin’s text color is estimated at the Wikimedia’s map server and not by Makizushi’s script.
- Kartotherian