Difference between revisions of "Template:Routebox"

From All About Ayrshire
Jump to: navigation, search
(Created page with "<noinclude>{{High use}} <div style="border: 2px solid black; background-color:wheat; margin:4px;padding:4px;"> '''<big>Documentation: {{BASEPAGENAME}}</big>''' The Routebox i...")
 
Line 43: Line 43:
  
 
--> {{#ifexist: {{#var:theimagename}} | | {{#if: {{{sabremap|}}} |<tr><td colspan="2" align="center" width="250px">
 
--> {{#ifexist: {{#var:theimagename}} | | {{#if: {{{sabremap|}}} |<tr><td colspan="2" align="center" width="250px">
{{{sabremap}}} [[Category:Pages with SABRE Maps routeboxes]]
+
{{{googlemap}}} [[Category:Pages with Maps routeboxes]]
 
</td></tr> | [[Category:Needs Map]] }} }}<!--
 
</td></tr> | [[Category:Needs Map]] }} }}<!--
  

Revision as of 19:50, 7 October 2015

Documentation: Routebox

The Routebox is the big template down the right hand side of every single roads page on the Wiki.

Do not edit this template unnecessarily as it is included in about 6,000 pages. This causes issues regarding the Job Queue, after an update it takes 6,000 page views to clear the job queue. If edited twice, that number doubles to 12,000 (etc..) Smaller updates to other templates then need to wait for the job queue to clear before they take full effect, which can cause problems for other editors.

Test all edits on Template:Routebox Sandbox first (the sandbox template is included in A449 Sandbox)

To use this template, copy the code below, replacing anything within <tags> as appropriate.

{{Routebox | <lots> }}

<lots> - There are literally hundreds of different options available. See the Help:Routeboxes page for details of how to use this template.


Routebox
From:-{{{from}}}
To:-{{{to}}}