第84行: |
第84行: |
| ==线路停靠站点== | | ==线路停靠站点== |
| {{测试}} | | {{测试}} |
− | <dt2-showtable table="stoptable" where="route=('K5')" order-by="route"><template>{{#varexists: downno||{{#vardefine: mainstop|{{{stop}}}}}}}{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B||{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T||{{#ifeq: {{{downno}}}|A||{{#vardefine: downno|{{#expr:{{#var: downno}}+1}}}}}}}}}}{{#ifeq: {{{downno}}}|01|{{#vardefine: secstop|{{{stop}}}}}}}</template></dt2-showtable>{{#vardefine: downno1|0}} | + | <dt2-showtable table="stoptable" where="route=('K5')" order-by="route"><template>{{站点计数|stop={{{stop}}}|upno={{{upno}}}|downno={{{downno}}}}}</template></dt2-showtable>{{#vardefine: downno1|0}}<dt2-showtable table="stoptable" where="route = ('K5')" order-by="route"> |
− | <dt2-showtable table="stoptable" where="route = ('K5')" order-by="route"> | + | <head>{{站点表格头|末站={{#var: secstop}}|首站={{#var: mainstop}}}}</head><template>{{站点展示|stop={{{stop}}}|road={{{road}}}|upno={{{upno}}}|downno={{{downno}}}|upattr={{{upattr}}}|downattr={{{downattr}}}}}</template></dt2-showtable> |
− | <head>{{站点表格头|末站={{#var: secstop}}|首站={{#var: mainstop}}}}</head><template>{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B|<!-|{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T|<!-|}}}}{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B|-|{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T|-|}}}}|- | |
− | {{#ifeq: {{{upattr}}}|临时增停|{{上行序号|途经=临时停靠}}|{{#ifeq: {{#var: downno1}}|0|{{上行序号}}<br>起点站|{{#ifeq: {{{downno}}}|01|{{上行序号}}<br>终点站|{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|A|{{上行序号|途经=0}}|{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B||{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T||{{上行序号}}}}}}}}}}}}}}{{#if: {{{upattr}}}|{{#ifeq: {{{upattr}}}|临时增停||{{#ifeq: {{{upattr}}}|临时取消|{{取消停靠}}|{{免费换乘|目的地={{{upattr}}}}}}}}}|}}
| |
− | |align=center|{{#ifeq: {{{upattr}}}|临时取消|{{#ifeq: {{{downattr}}}|临时取消|<s>|}}|}}{{站名展示|stop={{{stop}}}}}
| |
− | |align=center|{{#ifeq: {{{upattr}}}|临时取消|{{#ifeq: {{{downattr}}}|临时取消|<s>|}}|}}{{路名展示|road={{{road}}}}}
| |
− | {{#ifeq: {{{downattr}}}|临时增停|{{下行序号|途经=临时停靠}}|{{#ifeq: {{{downno}}}|01|{{下行序号}}<br>起点站|{{#ifeq: {{#var: downno1}}|0|{{下行序号|下行最大值={{#var: downno}}}}<br>终点站|{{#ifeq: {{#sub: {{#sub: {{{downno}}}|-2}}|-1}}|A|{{下行序号|途经=0}}|{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B||{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T||{{下行序号}}}}}}}}}}}}}}{{#if: {{{downattr}}}|{{#ifeq: {{{downattr}}}|临时增停||{{#ifeq: {{{downattr}}}|临时取消|{{取消停靠}}|{{免费换乘|目的地={{{downattr}}}}}}}}}|}}{{#vardefine: downno1|{{#expr: {{#var: downno1}}+1}}}}{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B|-->|{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T|-->|}}}}{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B||{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T||<!-}}}}{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B||{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T||-}}}}|-
| |
− | |colspan="4" align="center" |{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B|{{桥}}|{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T|{{隧道}}|}}}}——'''{{{stop}}}'''——{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B|{{桥}}|{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T|{{隧道}}|}}}}{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|B||{{#ifeq: {{#sub: {{{upno}}}|-1|1}}|T||-->}}}}
| |
− | </template></dt2-showtable> | |
| | | |
| ==用车== | | ==用车== |