{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Foydalanish == Ushbu andoza OSM Location map bilan foydalanish uchun standartlashtirilgan rang/ranglar palitrasini taqdim etadi. Quyidagi rang identifikatorlari (har qanday tashqi pretsedentga rioya qilmasdan) OSM xaritalarida mavjud xarita ranglari bilan bir qatorda yaxshi mos tushadigan pastel soyalardan foydalangan holda matn yorliqlari va shakl ranglari uchun izchil va simpatik ranglar sxemasini ta'minlash uchun ishlatilishi mumkin:

Shablonni to‘g‘ridan-to‘g‘ri chaqirish orqali foydalanish (odatda boshqa andozadan tashqari) bitta nomsiz parametrni talab qiladi, uning rangi quyidagi ro‘yxatda bo‘lishi kerak, masalan, <pre>{{OSM Location map/color|soft grey}}</pre> bu tegishli hex qiymatini yaratadi. U standart HTML rang tavsifi yoki hex kodi kabi boshqa har qanday matnni oʻzgarmagan holda qaytaradi.

=== OSM Location mapsni ishlab chiqishda ranglar sxemasidan foydalanish===

The descriptions can be used within the {{tl|}} template wherever a color can be specified (The template itself is not needed). For example: Ta'riflar {{tl|OSM Location map}} andozasida rang koʻrsatilishi mumkin boʻlgan joyda ishlatilishi mumkin (andozaning oʻzi kerak emas). Masalan:

<pre> |label-color1 = soft grey |shape-color1 = hard red |label-color8 = black </pre>

Xarita yorlig'i ranglarini ko'pincha individual xarita ehtiyojlarini qondirish uchun moslashtirish kerak, lekin ko'pchilik xarita yorliqlari uchun "yumshoq" ranglarga yopishib olsak, o'chirilgan xarita ko'rinishi saqlanib qoladi. "Qattiq" ranglar faqat xaritaning alohida mavzusi bo'lgan xususiyatni ko'rsatish uchun ishlatilishi kerak. ("Qorong'i" variant fon kuchliroq ranglarga o'tishni talab qiladigan joy uchun).

Oddiy foydalanishda quyidagi yorliq rang sxemasiga amal qilish kerak:- {| class="wikitable" style="width: 70%; text-align: left;" |- |{{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) |- |{{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) |- | {{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) |- | {{font color|#{{OSM Location map/color|hard red}} |hard red}} |Individual sites = hard red - especially if no other labels are applied and the site is indicated by a red pog |}

===To'liq variantlar jadvali===

{| class="wikitable" style="width: 70%; text-align: left;" |- ! colspan="3" style="background-color:lightblue" | Colors recommended for OSM Maps. These have a more pastel shade than the standard colors, so blend well the map backgrounds |- | {{font color|#{{OSM Location map/color|soft red}}|soft red #{{OSM Location map/color|soft red}}}} | {{font color|#{{OSM Location map/color|hard red}} |hard red #{{OSM Location map/color|hard red}}}} | {{font color|#{{OSM Location map/color|dark red}} |dark red #{{OSM Location map/color|dark red}}}} |- | {{font color|#{{OSM Location map/color|soft green}} |soft green #{{OSM Location map/color|soft green}}}} | {{font color|#{{OSM Location map/color|hard green}} |hard green #{{OSM Location map/color|hard green}}}} | {{font color|#{{OSM Location map/color|dark green}} |dark green #{{OSM Location map/color|dark green}}}} |- | {{font color|#{{OSM Location map/color|soft blue}} |soft blue #{{OSM Location map/color|soft blue}}}} | {{font color|#{{OSM Location map/color|hard blue}} |hard blue #{{OSM Location map/color|hard blue}}}} | {{font color|#{{OSM Location map/color|dark blue}} |dark blue #{{OSM Location map/color|hard blue}}}} |- | {{font color|#{{OSM Location map/color|soft grey}} |soft grey #{{OSM Location map/color|soft grey}}}} | {{font color|#{{OSM Location map/color|hard grey}} |hard grey #{{OSM Location map/color|hard grey}}}} | {{font color|#{{OSM Location map/color|dark grey}} |dark grey #{{OSM Location map/color|dark grey}}}} |- | {{font color|#{{OSM Location map/color|soft brown}}|soft brown #{{OSM Location map/color|soft brown}}}} | {{font color|#{{OSM Location map/color|hard brown}}|hard brown #{{OSM Location map/color|hard brown}}}} | {{font color|#{{OSM Location map/color|dark brown}}|dark brown #{{OSM Location map/color|dark brown}}}} |- ! colspan="3" style="background-color:lightblue" |Standard html colors. These tend to look rather harsh on the OSM maps but are retained for compatibility |- | {{font color|#{{OSM Location map/color|White}}|White #{{OSM Location map/color|White}}}} | {{font color|#{{OSM Location map/color|Silver}}|Silver #{{OSM Location map/color|Silver}}}} | {{font color|#{{OSM Location map/color|Gray}}|Gray #{{OSM Location map/color|Gray}}}} |- | {{font color|#{{OSM Location map/color|Red}}|Red #{{OSM Location map/color|Red}}}} | {{font color|#{{OSM Location map/color|Maroon}}|Maroon #{{OSM Location map/color|Maroon}}}} | {{font color|#{{OSM Location map/color|Yellow}}|Yellow #{{OSM Location map/color|Yellow}}}} |- | {{font color|#{{OSM Location map/color|Olive}}|Olive #{{OSM Location map/color|Olive}}}} | {{font color|#{{OSM Location map/color|Lime}}|Lime #{{OSM Location map/color|Lime}}}} | {{font color|#{{OSM Location map/color|Green}}|Green #{{OSM Location map/color|Green}}}} |- | {{font color|#{{OSM Location map/color|Aqua}}|Aqua #{{OSM Location map/color|Aqua}}}} | {{font color|#{{OSM Location map/color|Teal}}|Teal #{{OSM Location map/color|Teal}}}} | {{font color|#{{OSM Location map/color|Blue}}|Blue #{{OSM Location map/color|Blue}}}} |- | {{font color|#{{OSM Location map/color|Navy}}|Navy #{{OSM Location map/color|Navy}}}} | {{font color|#{{OSM Location map/color|Fuchsia}}|Fuchsia #{{OSM Location map/color|Fuchsia}}}} | {{font color|#{{OSM Location map/color|Purple}}|Purple #{{OSM Location map/color|Purple}}}} |- | {{font color|#{{OSM Location map/color|Black}}|Black #{{OSM Location map/color|Black}}}} |}

{{font color|{{OSM Location map/color|#AAAAAA}} | 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}}

{{font color|#{{OSM Location map/color|}} |If no color is specified the text will have a default of 'hard red'}}

{{font color|#{{OSM Location map/color|nonsense}} |Colors other than the named ones above can only be specified by using hex codes. Any other color names return as 'hard red'}} #{{OSM Location map/color|nonsense}}

<includeonly>{{Sandbox other||

}}</includeonly>