Jump to content

Template:Cite NYC bus: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m top: support hyphenated parameter names
Use modern string functions
Line 13: Line 13:
|q=http://web.mta.info/busco/schedules/q
|q=http://web.mta.info/busco/schedules/q
|b=http://web.mta.info/busco/schedules/b
|b=http://web.mta.info/busco/schedules/b
|bx=http://web.mta.info/busco/schedules/bx}}}}{{#ifeq:{{str letter/trim|{{lc:{{{1}}}}}}}|bxm|{{str right|{{{1}}}|{{str letter|{{{1}}}}}}}|{{padleft:{{str right|{{{1}}}|{{str letter|{{{1}}}}}}}|3}}}}cur.pdf}}}|title={{{display|{{{1}}}}}} bus schedule|date={{{effective|{{{date|}}}}}}|author=MTA Regional Bus Operations|author-link=MTA Regional Bus Operations|access-date={{{access-date|{{{accessdate|}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
|bx=http://web.mta.info/busco/schedules/bx}}}}{{#ifeq:{{str letter/trim|{{lc:{{{1}}}}}}}|bxm|{{#invoke:string|replace|{{{1}}}|^%a*||plain=0}}|{{padleft:{{#invoke:string|replace|{{{1}}}|^%a*||plain=0}}|3}}}}cur.pdf}}}|title={{{display|{{{1}}}}}} bus schedule|date={{{effective|{{{date|}}}}}}|author=MTA Regional Bus Operations|author-link=MTA Regional Bus Operations|access-date={{{access-date|{{{accessdate|}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 20:51, 14 June 2021