Changes between Initial Version and Version 1 of Styles/ColourTag


Ignore:
Timestamp:
2017-11-20T19:12:45+01:00 (8 years ago)
Author:
Klumbumbus
Comment:

new style

Legend:

Unmodified
Added
Removed
Modified
  • Styles/ColourTag

    v1 v1  
     1[[TranslatedPages]]
     2
     3= colour tag =
     4[[PageOutline(2-9)]]
     5
     6== Description ==
     7
     8The mappaint style "colour tag" displays ways in the colour of their colour tag. Supprted formats are 6 digit RGB hexadecimal (#112233), 3 digit RGB hexadecimal (#123) and CSS color names (green).
     9
     10For ideas/questions/bugs/suggestions or similar please write a message to [osmwww:user/Klumbumbus Klumbumbus].
     11
     12Feel free to translate this wiki page into more languages. Already translated languages see top right.
     13
     14== Code ==
     15{{{
     16#!style type="mapcss"
     17meta {
     18    title: "colour tag";
     19    version: "[[revision]]_[[date]]";
     20    description: "Displays ways in the colour of their colour tag. Supprted formats are 6 digit RGB hexadecimal (#112233), 3 digit RGB hexadecimal (#123) and CSS color names (green).";
     21   /* icon: "colourtag.svg"; */
     22    author: "Klumbumbus";
     23    link: "http://josm.openstreetmap.de/wiki/Styles/ColourTag";
     24    /* min-josm-version: "????"; not sure*/
     25}
     26
     27meta[lang=de] {
     28    title: "Farb-Merkmal";
     29    description: "Zeigt Linien in der Farbe ihres colour-Merkmals an. Unterstützte Formate sind RGB-hexadezimal mit 6 Zeichen (#112233), RGB-hexadezimal mit 3 Zeichen (#123) und CSS Farbnamen (green).";
     30    link: "http://josm.openstreetmap.de/wiki/De:Styles/ColourTag";
     31}
     32
     33
     34way[colour] {
     35    width: 3;
     36    color: tag(colour);
     37}
     38}}}