Vorlage:Buslinie: Unterschied zwischen den Versionen
Aus TUEpedia
Dktue (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Dktue (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 13: | Zeile 13: | ||
}} | }} | ||
<table class="busline"> | <table class="busline"> | ||
<tr><td colspan="2" class="headline">Buslinie <div class="bus-ref" style="background-color: {{#external_value:colour}}">{{#external_value:ref}}</div></td></tr> | <tr><td colspan="2" class="headline"><div class="bus-ref-label">Buslinie</div><div class="bus-ref" style="background-color: {{#external_value:colour}}">{{#external_value:ref}}</div></td></tr> | ||
<tr><td colspan="2">{{#external_value:from}} → {{#external_value:to}}</td></tr> | <tr><td colspan="2">{{#external_value:from}} → {{#external_value:to}}</td></tr> | ||
<!--{{#external_value:name}}--> | <!--{{#external_value:name}}--> | ||
Zeile 28: | Zeile 28: | ||
<htmltag tagname="style"> | <htmltag tagname="style"> | ||
<nowiki> | <nowiki> | ||
.busline .bus-ref-label { | |||
font-weight: 500; | |||
margin-right: 16px; | |||
} | |||
.busline .bus-ref { | .busline .bus-ref { | ||
color: white; | color: white; | ||
font-weight: 900; | font-weight: 900; | ||
text-align: center; | text-align: center; | ||
width: 32px; | width: 32px; | ||
height: 32px; | height: 32px; | ||
} | |||
.busline .bus-ref-label, .busline .bus-ref-label { | |||
display: inline-block; | |||
font-size: 18px; | font-size: 18px; | ||
padding: 4px 0; | padding: 4px 0; |
Version vom 18. Oktober 2018, 08:08 Uhr
{{Buslinie|id}}
wobei id die ID der OpenStreetMap-Relation für die Busroute ist.