Difference between revisions of "Template:Morebus-for-city"
m |
|||
Line 1: | Line 1: | ||
− | <onlyinclude>{{#arraydefine:morebus|{{#ask: [[Place::{{PAGENAME}}]] [[rtype::!intercity bus]] [[rtype::!airporter | + | <onlyinclude>{{#arraydefine:morebus|{{#ask: [[Place::{{PAGENAME}}]] [[rtype::!intercity bus]] [[rtype::!airporter]] | mainlabel=-|?provider=|link=none|limit=200|sep=;|sort=provider}}|;|unique}} |
{{#ifexpr: {{#arraysize:morebus}}>0 |<h2>Bus</h2>|}} | {{#ifexpr: {{#arraysize:morebus}}>0 |<h2>Bus</h2>|}} | ||
{{#arrayprint:morebus||$1|{{#vardefine:varid |{{#expr:{{#var:varid}}+1}}}}<h3>$1</h3> | {{#arrayprint:morebus||$1|{{#vardefine:varid |{{#expr:{{#var:varid}}+1}}}}<h3>$1</h3> | ||
− | {{#ask: {{{show|[[Place::{{PAGENAME}}]]}}} | + | {{#ask: {{{show|[[Place::{{PAGENAME}}]]}}} [[Provider::$1]] |
| format=template| link=none| template=listlines4a| ?rvalue=| ?to=| sort=provider,{{#if:{{{prefix 1st|}}}|rpref,rnum|rnum,rpref}},rlet | | format=template| link=none| template=listlines4a| ?rvalue=| ?to=| sort=provider,{{#if:{{{prefix 1st|}}}|rpref,rnum|rnum,rpref}},rlet | ||
}}}}</onlyinclude> | }}}}</onlyinclude> |
Revision as of 03:55, 15 July 2021