Difference between revisions of "Template:Tab-DAR"
m |
|||
Line 7: | Line 7: | ||
<div>{{{note|}}}</div> | <div>{{{note|}}}</div> | ||
+ | {{#arraydefine:DAR areas|{{{DAR areas|}}}|{{{altsep|,}}}}}{{#ifeq:{{#arraysize:DAR areas}}|0||<h2>Communities</h2>|}} | ||
+ | {{#arrayprint:DAR areas||$1|<nowiki/> | ||
+ | * [[$1]]}} | ||
+ | |||
<h2>Points of interest</h2> | <h2>Points of interest</h2> | ||
{{#ask: [[City.-DAR area::{{PAGENAME}}#{{#replace:{{#var:shownum}}{{{letter|}}}|/|-}}]] OR [[In county.-DAR area::{{PAGENAME}}#{{#replace:{{#var:shownum}}{{{letter|}}}|/|-}}]] | {{#ask: [[City.-DAR area::{{PAGENAME}}#{{#replace:{{#var:shownum}}{{{letter|}}}|/|-}}]] OR [[In county.-DAR area::{{PAGENAME}}#{{#replace:{{#var:shownum}}{{{letter|}}}|/|-}}]] |
Revision as of 16:42, 17 January 2020
Another way to input DAR services in a tab format for smaller systems.
Full list:
{{tab-DAR |provider= |prefix= (remove entire line if not needed) |num= (remove entire line if not needed) |alpha= (remove entire line if not needed) |letter= (remove entire line if not needed) |fullname= |type= |pcategory= |to= |link= |servicespan= |note= |DAR areas= |DAR county= |condition= (e.g. [[city name::!Lubbock]] to indicate exception) }}
DAR areas are to be separated by comma.
Minimal list:
{{tab-DAR |num= (remove entire line if not needed) |letter= (remove entire line if not needed) |to= |link= |servicespan= |note= |DAR areas= }}
Set common provider for all routes on this page through
{{#vardefine:1provider|$1}}