Template:OSM Location map/doc

G

Gonnym

Guest
cleanup

Line 995:Line 995:
[td]
← Previous revision
[/td]
[td]
Revision as of 15:13, 1 September 2025
[/td]
[td]|-[/td]
[td]|-[/td]
[td]| <code>label-color</code>[/td]
[td]| <code>label-color</code>[/td]
[td]| Sets the text colour for the label. The standard colour labels (red, black, grey, white, blue, green etc...) all work as described, but can be rather strident on the OSM map. Each of the colors below have three standard shades - soft, hard and dark. Default=dark grey. (Actually defaults to #222211, slightly darker than 'dark grey', so it is prominent when someone just puts a single pog and label. A comma-separated number after the color will set the opacity (%). eg dark-blue,40 will give 40% opacity.[/td]
[td]| Sets the text colour for the label. The standard colour labels (red, black, grey, white, blue, green etc...) all work as described, but can be rather strident on the OSM map. Each of the colors below have three standard shades - soft, hard and dark. Default=dark grey. (Actually defaults to #222211, slightly darker than 'dark grey', so it is prominent when someone just puts a single pog and label. A comma-separated number after the color will set the opacity (%). eg dark-blue,40 will give 40% opacity. See [[Template:OSM Location map#Text color]] for colors and usages.[/td]
[td][/td] [td]Under normal usage, the following label color scheme should be followed:-[/td] [td]* {{font color|#{{OSM Location map/color|soft grey}} |soft grey}}: Settlements = soft grey (Subject of the map can be hard grey and larger label-size). Map areas with darker or busier backgrounds may need to move a shade darker to hard grey and dark gray respectively.[/td] [td]*{{font color|#{{OSM Location map/color|soft blue}}|soft blue}}: Rivers, lakes, sea areas etc = soft blue (Works well on top of OSM blue areas)[/td] [td]*{{font color|#{{OSM Location map/color|soft green}}|soft green}}: Parkland, national/regional parks, gardens, forests etc = soft green works well on top of OSM green areas. (hard green may be desirable in forests or for the subject of the map)[/td] [td]*{{font color|#{{OSM Location map/color|hard red}} |hard red}}: Use with care = dark red goes nicely with a red pog but can look like a redlink, and since text can now include live links, this and other 'link-indicative' colours are best avoided)[/td] [td]*{{font color|#{{OSM Location map/color|dark grey}} |dark grey}}: Individual sites = dark grey (no need to specify if the site has a single label to accompany a red pog)[/td] [td]*{{font color|#{{OSM Location map/color|dark brown}} |dark brown}}: Information panel = dark brown (works nicely on a 'pale brown' panel, for example)[/td] [td][/td] [td]{{See|Template:OSM_Location_map/doc#Full_table_of_color_options}}[/td] [td]It is also possible to specify any HTML Hex color using the six-figure hex-code, eg #AAAAAA, but sticking to defaults maintains consistency between pages. If no color is specified the text will have a default of 'dark grey'. (nb: Any value other than one of the named colors above or a hex code will return as 'dark grey')[/td]
[td]It is also possible to specify any HTML Hex color using the six-figure hex-code, eg #AAAAAA, but sticking to defaults maintains consistency between pages. If no color is specified the text will have a default of 'dark grey'. (nb: Any value other than one of the named colors above or a hex code will return as 'dark grey')[/td]
[td]|-[/td]
[td]|-[/td]

Continue reading...
 


Join 𝕋𝕄𝕋 on Telegram
Channel PREVIEW:
Back
Top