Template:State Transport Omit

From OpenStreetMap Wiki
Jump to navigation Jump to search

{{State Transport Omit| tr=Transport | tn=Train | s=S-Bahn | u=U-Bahn | st=Steamtrain | tm=Tram | bu=Bus | sh=Ship | ha=Haltestelle | r=Routing | h=Stops| re or rl=Relation }}

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

The order of the shown icons is fixed, everything else is possible.

In contrast to {{State Transport}}, empty parameters are not omitted, but displayed in white.

What you want
(width="110")
What you type
 
Transport Stop Relation  {{State Transport Omit|tr=|ha=|re=}}
Transport Train S-Bahn U-Bahn Steam Train Tram Bus Ship Stop Relation  {{State Transport Omit|tr=|tn=|s=|u=|st=|tm=|bu=|sh=|ha=|re=}}
Bus (3/4) Stop (2/4) Relation (1/4)  {{State Transport Omit|bu=3|ha=2|re=1}}
Train (1/4) Bus (2/4) Stop Relation (X/4)  {{State Transport Omit|tn=1|bu=2|ha=|re=X}}
Train S-Bahn Stop Relation  {{State Transport Omit|tn=|s=NA|ha=NA|re=NA}}
Train S-Bahn Stop Relation Routing (2/4) Stops (3/4)  {{State Transport Omit|tn=|s=NA|ha=NA|re=NA|r=2|h=3}}

See also

and all other thingsedit from Category:Map status.