第132行: |
第132行: |
| | | |
| ==牌簿== | | ==牌簿== |
− | <dt2-showtable table="bustable" class="wikitable sortable" | + | <dt2-showtable table="tbustable" class="wikitable sortable" |
| where="model in ('GTQ6186BEVBT20')"> | | where="model in ('GTQ6186BEVBT20')"> |
| <head> | | <head> |
第139行: |
第139行: |
| !width=15%|所属分公司及调度站 | | !width=15%|所属分公司及调度站 |
| !width=10%|状态 | | !width=10%|状态 |
− | !width=15%|所属线路 | + | !width=15%|本周运行线路 |
| + | !width=15%|下周运行线路 |
| </head> | | </head> |
| <template> | | <template> |
− | {{车型牌簿 | + | |- |
− | |number={{{number}}} | + | |粤C·{{{number}}}{{#ifeq:{{{faci|null}}}|null|<!-|}}{{#ifeq:{{{faci|null}}}|null|-|}}{{{faci}}}{{#ifeq:{{{faci|null}}}|null|-->|}} |
− | |depot={{{depot}}} | + | {{#ifeq:{{{depot|null}}}|null|<!-|}}{{#ifeq:{{{depot|null}}}|null|-|}}|{{{depot}}}{{#ifeq:{{{depot|null}}}|null|-->|}} |
− | |status={{{status}}} | + | |style="color:{{#ifeq:{{#sub:{{{status}}}|0|2}}|营运|black|{{#ifeq:{{#sub:{{{status}}}|0|2}}|停备|orange|{{#ifeq:{{#sub:{{{status}}}|0|2}}|退役|red|}}}}}}"|{{#ifeq:{{#sub:{{{status}}}|0|2}}|营运|{{{status}}}|'''{{{status}}}}} |
− | |route1={{{route1}}} | + | {{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1|<!-|}}{{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1|-|}} |
− | |route2={{{route2}}} | + | |{{#if: {{{route2}}}|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|线|{{{route2}}}|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|动|'''{{{route2}}}'''|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|交|{{{route2}}}|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|训|'''{{{route2}}}'''|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|勤|'''{{{route2}}}'''|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|车|'''{{{route2}}}'''|{{{route2}}}路}}}}}}}}}}}}|}} |
− | |faci={{{faci}}} | + | {{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1|-->|}}{{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1||<!-}}{{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1||-}} |
− | }} | + | |{{#if: {{{route1}}}|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|线|{{{route1}}}|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|动|'''{{{route1}}}'''|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|交|{{{route1}}}|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|训|'''{{{route1}}}'''|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|勤|'''{{{route1}}}'''|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|车|'''{{{route1}}}'''|{{{route1}}}路}}}}}}}}}}}}|}}{{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1||-->}} |
| + | {{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1||<!-|}}{{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1||-|}} |
| + | |{{#if: {{{route2}}}|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|线|{{{route2}}}|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|动|'''{{{route2}}}'''|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|交|{{{route2}}}|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|训|'''{{{route2}}}'''|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|勤|'''{{{route2}}}'''|{{#ifeq:{{#sub:{{{route2}}}|-1|0}}|车|'''{{{route2}}}'''|{{{route2}}}路}}}}}}}}}}}}|}} |
| + | {{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1||-->|}}{{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1|<!-}}{{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1|-}} |
| + | |{{#if: {{{route1}}}|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|线|{{{route1}}}|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|动|'''{{{route1}}}'''|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|交|{{{route1}}}|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|训|'''{{{route1}}}'''|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|勤|'''{{{route1}}}'''|{{#ifeq:{{#sub:{{{route1}}}|-1|0}}|车|'''{{{route1}}}'''|{{{route1}}}路}}}}}}}}}}}}|}}{{#ifeq: {{#expr: {{CURRENTWEEK}} mod 2}}|1|-->}} |
| </template> | | </template> |
| </dt2-showtable> | | </dt2-showtable> |