Services Search: Difference between revisions
m that should stop the search-alls |
m I prefer this wording |
||
Line 6: | Line 6: | ||
{{#ifeq: {{#request:reply}}|yes | {{#ifeq: {{#request:reply}}|yes | ||
|__NOINDEX__{{#vardefine:refuse|{{#if:{{#request:lpg}}{{#request:electriccar}}{{#request:changing}}{{#request:meetingroom}}{{#request:playarea}}||{{#request:road}}{{#request:brands}}{{#request:operator}}{{#request:aroad}}{{#request:access}}{{#request:rating}}}}}} | |__NOINDEX__{{#vardefine:refuse|{{#if:{{#request:lpg}}{{#request:electriccar}}{{#request:changing}}{{#request:meetingroom}}{{#request:playarea}}||{{#request:road}}{{#request:brands}}{{#request:operator}}{{#request:aroad}}{{#request:access}}{{#request:rating}}}}}} | ||
{{#ifeq:{{#var:refuse}}|AnyAnyAnyAnyAnyAny|''' | {{#ifeq:{{#var:refuse}}|AnyAnyAnyAnyAnyAny|'''Search found too many results to display.''' You should select at least one criteria to search by. At the very least, tick 'hide A-road services' so that you don't get hundreds of results. | ||
{{Search|Services_Search|country={{#if: {{#request:country}} | {{#request:country}} | UK}}}}|{{#dpl:debug=0|count=60| | {{Search|Services_Search|country={{#if: {{#request:country}} | {{#request:country}} | UK}}}}|{{#dpl:debug=0|count=60| | ||
{{#if: {{#request:aroad}} | {{#ifeq: {{#request:aroad}} | Any | format=<br />\n<span class="center"><table class="sortable default" style="text-align:left"><tr><th>Name<br /><span>''(tap for detail)''</span></th><th>Road</th>{{#ifeq: {{#request:operator}} | Any | <th>Operator</th> | {{#if: {{#request:operator}} || <th>{{#ifeq:{{#request:country}}|IE|Owner <span>(operator)</span>|Operator}}</th> }}}}{{#ifeq: {{#request:rating}} | 5 stars only || {{#ifeq: {{#request:rating}} | 1 star only || <th style="width:80px">Rating</th>}}}}{{#if: {{#request:telephone}} | <th>Telephone number</th>}}{{#if: {{#request:postcode}} | <th>Postcode</th>}}{{#if: {{#request:signposted}} || <th>Signposted from the road?</th> }}{{#ifeq:{{#request:road}}|Any||<th><span>sort by distance</span></th>}}{{#if: {{#request:fuel}} | <th>Fuel Provider</th>}}</tr>\n,<tr><td style="padding:0.5em 1.5em">[[%PAGE%]],</td></tr>,</table> | table=class="aroadsearch" }} | format=<br />\n<span class="center"><table class="sortable default" style="text-align:left"><tr><th>Name<br /><span>''(tap for detail)''</span></th><th>Road</th>{{#ifeq: {{#request:operator}} | Any | <th>Operator</th> | {{#if: {{#request:operator}} || <th>{{#ifeq:{{#request:country}}|IE|Owner <span>(operator)</span>|Operator}}</th> }}}}{{#ifeq: {{#request:rating}} | 5 stars only || {{#ifeq: {{#request:rating}} | 1 star only || <th style="width:80px">Rating</th>}}}}{{#if: {{#request:telephone}} | <th>Telephone number</th>}}{{#if: {{#request:postcode}} | <th>Postcode</th>}}{{#if: {{#request:signposted}} || <th>Signposted from the road?</th> }}{{#ifeq:{{#request:road}}|Any||<th><span>sort by distance</span></th>}}{{#if: {{#request:fuel}} | <th>Fuel Provider</th>}}</tr>\n,<tr><td style="padding:0.5em 1.5em">[[%PAGE%]],</td></tr>,</table> | format=<br />\n<span class="center"><table class="sortable default" style="text-align:left"><tr><th>Name<br /><span>''(tap for detail)''</span></th><th>Road</th>{{#ifeq: {{#request:operator}} | Any | <th>Operator</th> | {{#if: {{#request:operator}} || <th>{{#ifeq:{{#request:country}}|IE|Owner <span>(operator)</span>|Operator}}</th> }}}}{{#ifeq: {{#request:rating}} | 5 stars only || {{#ifeq: {{#request:rating}} | 1 star only || <th style="width:80px">Rating</th>}}}}{{#if: {{#request:telephone}} | <th>Telephone number</th>}}{{#if: {{#request:postcode}} | <th>Postcode</th>}}{{#if: {{#request:signposted}} || <th>Signposted from the road?</th> }}{{#ifeq:{{#request:road}}|Any||<th><span>sort by distance</span></th>}}{{#if: {{#request:fuel}} | <th>Fuel Provider</th>}}</tr>\n,<tr><td style="padding:0.5em 1.5em">[[%PAGE%]],</td></tr>,</table> | {{#if: {{#request:aroad}} | {{#ifeq: {{#request:aroad}} | Any | format=<br />\n<span class="center"><table class="sortable default" style="text-align:left"><tr><th>Name<br /><span>''(tap for detail)''</span></th><th>Road</th>{{#ifeq: {{#request:operator}} | Any | <th>Operator</th> | {{#if: {{#request:operator}} || <th>{{#ifeq:{{#request:country}}|IE|Owner <span>(operator)</span>|Operator}}</th> }}}}{{#ifeq: {{#request:rating}} | 5 stars only || {{#ifeq: {{#request:rating}} | 1 star only || <th style="width:80px">Rating</th>}}}}{{#if: {{#request:telephone}} | <th>Telephone number</th>}}{{#if: {{#request:postcode}} | <th>Postcode</th>}}{{#if: {{#request:signposted}} || <th>Signposted from the road?</th> }}{{#ifeq:{{#request:road}}|Any||<th><span>sort by distance</span></th>}}{{#if: {{#request:fuel}} | <th>Fuel Provider</th>}}</tr>\n,<tr><td style="padding:0.5em 1.5em">[[%PAGE%]],</td></tr>,</table> | table=class="aroadsearch" }} | format=<br />\n<span class="center"><table class="sortable default" style="text-align:left"><tr><th>Name<br /><span>''(tap for detail)''</span></th><th>Road</th>{{#ifeq: {{#request:operator}} | Any | <th>Operator</th> | {{#if: {{#request:operator}} || <th>{{#ifeq:{{#request:country}}|IE|Owner <span>(operator)</span>|Operator}}</th> }}}}{{#ifeq: {{#request:rating}} | 5 stars only || {{#ifeq: {{#request:rating}} | 1 star only || <th style="width:80px">Rating</th>}}}}{{#if: {{#request:telephone}} | <th>Telephone number</th>}}{{#if: {{#request:postcode}} | <th>Postcode</th>}}{{#if: {{#request:signposted}} || <th>Signposted from the road?</th> }}{{#ifeq:{{#request:road}}|Any||<th><span>sort by distance</span></th>}}{{#if: {{#request:fuel}} | <th>Fuel Provider</th>}}</tr>\n,<tr><td style="padding:0.5em 1.5em">[[%PAGE%]],</td></tr>,</table> | format=<br />\n<span class="center"><table class="sortable default" style="text-align:left"><tr><th>Name<br /><span>''(tap for detail)''</span></th><th>Road</th>{{#ifeq: {{#request:operator}} | Any | <th>Operator</th> | {{#if: {{#request:operator}} || <th>{{#ifeq:{{#request:country}}|IE|Owner <span>(operator)</span>|Operator}}</th> }}}}{{#ifeq: {{#request:rating}} | 5 stars only || {{#ifeq: {{#request:rating}} | 1 star only || <th style="width:80px">Rating</th>}}}}{{#if: {{#request:telephone}} | <th>Telephone number</th>}}{{#if: {{#request:postcode}} | <th>Postcode</th>}}{{#if: {{#request:signposted}} || <th>Signposted from the road?</th> }}{{#ifeq:{{#request:road}}|Any||<th><span>sort by distance</span></th>}}{{#if: {{#request:fuel}} | <th>Fuel Provider</th>}}</tr>\n,<tr><td style="padding:0.5em 1.5em">[[%PAGE%]],</td></tr>,</table> |
Revision as of 21:06, 21 July 2019

The form below allows you to search all the motorway services included in our database; whether you're looking for a service station which meets your precise criteria or just one that is near you. You will then be able to tap each of the results for more precise details.
It's best to start by using just one of the drop-down boxes - you can use another if you get too many results.
How do I find motorway services near me?
At the moment we aren't able to record your location, but instead you can use the form above to specify what type of services you're looking for.