Template:State Street/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

{{State Street |c=Car |ex=Exit |se=Service Area |Ju=Junction |ln=Lane |sp=Speed |d=Detours |tm=TMC |rl=Relation |sos=SOS}}

You can use some of the above status icons by defining the vars you want to use.

If you always want the full range of icons, with the unspecified ones expressed as white ones, you can use {{State Street White}} instead of this template.

If you always want to select the white ones with an empty parameter while omitting the unwanted ones with absent paramter, you can use {{State Street Omit}} instead of this template.

If you want single icons in white, you can use NA as a parameter. See the examples below.

Examples

What you want
What you type
{{State Street|c=|ex=|se=|ju=|ln=|sp=|d=|tm=|rl=|sos=}}
Road (2/4)Exits (1/4)Service areas (3/4)Junctions (1/4)Lanes (2/4)Speed limits (1/4)Detours (1/4)Traffic Message Channel (0/4)Relation (0/4) {{State Street|c=2|ex=1|se=3|ju=1|ln=2|sp=1|d=1|tm=0|rl=0}}
Road (2/4)Junctions (1/4)Lanes (2/4)Speed limits (1/4)Detours (2/4)Relation (0/4) {{State Street|c=2|ju=1|ln=2|sp=1|d=2|rl=0}}
Road (4/4)Speed limits (2/4)Detours (3/4) {{State Street|c=4|sp=2|d=3|rl=}}
Road (X/4)Exits (X/4)Service areas (X/4)Junctions (X/4)Lanes (X/4)Speed limits (X/4)Detours (X/4)Traffic Message Channel (X/4)Relation (X/4)Emergency phone (X/4) {{State Street|c=X|ex=X|se=X|ju=X|ln=X|sp=X|d=X|tm=X|rl=X|sos=X}}
RoadExits (X/4)Service areas (X/4)Junctions (X/4)Lanes (X/4)Speed limits (X/4)Detours (X/4)Traffic Message Channel (X/4)RelationEmergency phone {{State Street|c=NA|ex=X|se=X|ju=X|ln=X|sp=X|d=X|tm=X|rl=NA|sos=NA}}

See also

and all other thingsedit from Category:Map status.