第36行:
第36行:
<dt2-showtable table="routetable"><template>{{#ifeq:{{#rpos:{{{route}}}|勤学}}|-1||{{#vardefine: vianum|{{#expr: {{#var:vianum}}+1}}}}}}</template></dt2-showtable>
<dt2-showtable table="routetable"><template>{{#ifeq:{{#rpos:{{{route}}}|勤学}}|-1||{{#vardefine: vianum|{{#expr: {{#var:vianum}}+1}}}}}}</template></dt2-showtable>
*截至{{LOCALYEAR}}年{{LOCALMONTH1}}月{{LOCALDAY}}日,珠海市内共有{{#var:vianum}}条勤学公交线路,具体线路如下:
*截至{{LOCALYEAR}}年{{LOCALMONTH1}}月{{LOCALDAY}}日,珠海市内共有{{#var:vianum}}条勤学公交线路,具体线路如下:
−
<dt2-showtable table="routetable" order-by="orderrule"><head>{{所属线路表格头}}</head><template>{{#ifeq:{{#rpos:{{{route}}}|勤学}}|-1|<!-|}}{{#ifeq:{{#rpos:{{{route}}}|勤学}}|-1|-|}}|-
+
<dt2-showtable table="routetable" order-by="orderrule"><head>{{所属线路表格头}}</head><template>{{#ifeq:{{#rpos:{{{route}}}|勤学}}|-1|<!-|}}{{#ifeq:{{#rpos:{{{route}}}|勤学}}|-1|-|}}{{线路|路线号={{{route}}}}}{{#ifeq:{{#rpos:{{{route}}}|勤学}}|-1|-->|}}
−
{{路线号|路线号={{{route}}}}}
−
|{{#ifexist:{{{mainstop}}}|[[{{{mainstop}}}]]|{{{mainstop}}}}} {{#ifeq:{{{secstop}}}|||↔ {{#ifexist:{{{secstop}}}|[[{{{secstop}}}]]|{{{secstop}}}}}}}{{#ifeq:{{{circularstop}}}|||↺ {{#ifexist:{{{circularstop}}}|[[{{{circularstop}}}]]|{{{circularstop}}}}}}}{{#ifeq:{{{laststop}}}|||→ {{#ifexist:{{{laststop}}}|[[{{{laststop}}}]]|{{{laststop}}}}}}}{{#ifeq:{{#rpos:{{{route}}}|勤学}}|-1|-->|}}
</template></dt2-showtable>
</template></dt2-showtable>