Template:State Street CA

From OpenStreetMap Wiki
Jump to navigation Jump to search
[Edit] [Purge] Template-info.svg Template documentation

Usage

{{State Street CA|c=Car |ex=Exit |se=Service Area |Ju=Junction |ln=Lane |sp=Speed |d=Detours |tm=TMC |he=MaxHeight |wi=MaxWidth |we=Maxweight |hz=Hazmat |rl=Relation}}

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 parameter, 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 CA|c=|ex=|se=|ju=|ln=|sp=|d=|tm=|he=|wi=|we=|hz=|rl=}}
Exits (0/4)Service areas (1/4)Junctions (2/4)Lanes (3/4)Speed limits (4/4)Detours (X/4)Traffic Message Channel (X/4)Relation (0/4)Draft (4/4)Lock (3/4)Bridge (2/4)Hazmat (1/4) {{State Street CA|c=|ex=0|se=1|ju=2|ln=3|sp=4|d=X|tm=X|he=4|wi=3|we=2|hz=1|rl=0}}
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 CA|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 CA|c=2|ju=1|ln=2|sp=1|d=2|rl=0}}
Road (4/4)Speed limits (2/4)Detours (3/4) {{State Street CA|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) {{State Street CA|c=X|ex=X|se=X|ju=X|ln=X|sp=X|d=X|tm=X|rl=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)Relation {{State Street CA|c=NA|ex=X|se=X|ju=X|ln=X|sp=X|d=X|tm=X|rl=NA}}

See also

and all other thingsedit from Category:Map status.