Template:Navbox junctions

From All About Ayrshire
Jump to: navigation, search

Documentation: Navbox junctions

This template was used for an abandoned attempt to improve the Navbox functionality. Its original documentation has been left intact in case others wish to re-attempt the improvement.

Documentation: Navbox junctions

This template is used by Template:Navbox in order to allow it to show junctions nearby to the page the Navbox is used on. As such, this template does not work on its own, and is only functional when combined with the Navbox, which uses this template automatically whenever it is needed. It requires the "junctions" parameter to be passed from the Navbox in order to function, and is required because #if and #dpl don't play nicely together if you're trying to build a wikitable.

Do not edit this template unnecessarily as it is included (via Template:Navbox in many pages. This causes issues regarding the Job Queue, after an update it takes many page views to clear the job queue. If edited twice, that number doubles (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:Navbox junctions sandbox first.

|- ! style="width:100px;background-color:whitesmoke;font-size:8pt;color:#0E72A4;border:none;" |[[{{{junctions}}}]]

| style="background-color:whitesmoke;font-size:8pt;color:#0E72A4;border:none;" |GOGO Roundabout

Hunterston Roundabout

|-