第305行: |
第305行: |
| | | |
| ==用车== | | ==用车== |
− | {{线路用车表格头}}
| + | <dt2-showtable table="bustable" where="(route1 = ('B2') or route2 = ('B2')) and status = ('营运')" order-by="depot"> |
− | <dt2-showtable table="bustable" | + | <template>{{#ifeq: {{#var: depot}}||{{#vardefine: depot1|1}}{{#vardefine: num|0}}|{{#ifeq: {{#var: depot}}|{{{depot}}}|{{#vardefine: depot1|{{#expr: {{#var: depot1}}+1}}}}|{{#vardefine: num|{{#expr: {{#var: num}}+1}}}}{{#vardefine: depotlen|{{#var: depot1}}}}}}}}{{#vardefine: depot|{{{depot}}}}}</template></dt2-showtable> |
− | where="route1 = ('B2') and depot = ('{{海虹}}')"> | + | <dt2-showtable table="bustable" class="wikitable" where="(route1 = ('B2') or route2 = ('B2')) and status = ('营运')" order-by="depot"> |
− | <head> | + | <head>{{线路配车表格头}}</head><template> |
− | {{线路配车表格头|1|{{海虹}}}} | + | {{线路配车|number={{{number}}}|depot={{{depot}}}|model={{{model}}}|batch={{{batch}}}|faci={{{faci}}}|color={{{color}}}|attr={{{attr}}}}}</template></dt2-showtable> |
− | </head>
| |
− | <template>
| |
− | {{线路用车|number={{{number}}}|model={{{model}}}|batch={{{batch}}}|color={{{color}}}|faci={{{faci}}}|attr={{{attr}}}}} | |
− | </template> | |
− | </dt2-showtable> | |
− | <dt2-showtable table="bustable" | |
− | where="route1 = ('B2') and depot = ('{{湖心路口}}')"> | |
− | <head> | |
− | {{线路配车表格头|2|{{湖心路口}}}} | |
− | </head> | |
− | <template> | |
− | {{线路用车|number={{{number}}}|model={{{model}}}|batch={{{batch}}}|color={{{color}}}|faci={{{faci}}}|attr={{{attr}}}}} | |
− | </template> | |
− | </dt2-showtable> | |
− | |}
| |
| | | |
| ==图库== | | ==图库== |