第53行: |
第53行: |
| | | |
| ==用车== | | ==用车== |
− | {{线路用车表格头}}
| + | <dt2-showtable table="bustable" where="(route1 = ('穿梭巴士1号线') or route2 = ('穿梭巴士1号线')) 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 = ('穿梭巴士1号线') and depot = ('{{富山}}')"> | + | <dt2-showtable table="bustable" class="wikitable" where="(route1 = ('穿梭巴士1号线') or route2 = ('穿梭巴士1号线')) 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> | |
− | |}
| |
| | | |
| ==图库== | | ==图库== |