TemplateData for Colour key
TemplateData for Colour key
Displaying a colour key
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Colour | 1 | Colour code of the area
| String | optional |
| Description | 2 | Explanation of the meaning of the colour | String | optional |
| Colour name | 3 | Name of the colour if not standard | String | optional |
{{Colour key|Colour code|Description}}
{{Colour key|Colour code|Description|Colour name}}
The colour code is forwarded to the CSS property border-left-color. Standard (named) web colours, such as red, should preferably be used to aid clarity. It is also permitted, however, to use any other valid CSS code, e.g. #FF0000, #F00 or rgb(100%, 0%, 0%).
The optional parameter, "colour name" is shown as a tooltip as well as in printed and pdf views and is intended inter alia for colour blind users.
| Entry | Result |
|---|---|
{{Colour key|black|Africa}}
|
|
{{Colour key}} |
|
{{Colour key|red}} |
|
{{Colour key|red|Example}} |
|
{{Colour key|red|Example|Red areas}} |
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.