Difference between revisions of "Template:Roundabout"

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...")
 
 
(One intermediate revision by the same user not shown)
Line 31: Line 31:
  
 
Check to see if type is valid
 
Check to see if type is valid
-->{{#switch: {{{type|non primary}}} | primary | non primary  | motorway  | defunct  | unbuilt motorway | former motorway  | future motorway  | future primary  | unbuilt primary  | future non primary | unbuilt non primary | historical | roman | tourist | euroroute | e road | ncn | cycle route | eurovelo = | #default = <br/><span style="font-size:8pt"><span style="color:red;">'''Error:'''</span> Invalid type specified</span><includeonly>[[Category:Pages with errors]]</includeonly> }} <!--
+
-->{{#switch: {{{type|non primary}}} | primary | non primary  | motorway  | defunct  | unbuilt motorway | former motorway  | future motorway  | future primary  | unbuilt primary  | future non primary | unbuilt non primary | historical | roman | tourist | euroroute | e road | ncn | cycle route | private | eurovelo = | #default = <br/><span style="font-size:8pt"><span style="color:red;">'''Error:'''</span> Invalid type specified</span><includeonly>[[Category:Pages with errors]]</includeonly> }} <!--
  
 
--></td></tr><!--
 
--></td></tr><!--
Line 69: Line 69:
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
Official Opening
+
Mintained By
-->{{#if: {{{official_open|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Official Opening'''</td></tr><tr><td colspan="2" align="center">{{{official_open}}}  
+
-->{{#if: {{{maintained_by|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Maintained By'''</td></tr><tr><td colspan="2" align="center">{{{maintained_by}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  

Latest revision as of 15:52, 10 October 2015

Documentation: Roundabout

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.


Roundabout