Difference between revisions of "Template:Police"

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...")
 
 
(4 intermediate revisions by the same user not shown)
Line 28: Line 28:
 
--><table style="margin:6px;clear:right;" class="toc colour" align="right" width="267"><!--
 
--><table style="margin:6px;clear:right;" class="toc colour" align="right" width="267"><!--
  
Name--><tr><td style="background:{{Get bg colour|{{{type|non primary}}} }}; border:1px solid #000000; color:{{Get road text colour|{{{type|non primary}}} }}; font-size:14pt; padding:4px; font-weight: bold;" align=center colspan="2">'''{{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}} }}'''<!--
+
Name--><tr><td style="background:{{Get bg colour|{{{type|police}}} }}; border:1px solid #000000; color:{{Get road text colour|{{{type|police}}} }}; font-size:14pt; padding:4px; font-weight: bold;" align=center colspan="2">'''{{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}} }}'''<!--
  
 
Check to see if type is valid
 
Check to see if type is valid
Line 34: Line 34:
  
 
--></td></tr><!--
 
--></td></tr><!--
 
+
--><td><td align=center>{{{image}}}</td><!--
  
 
Related Pages: Police Stations (automatically generated)
 
Related Pages: Police Stations (automatically generated)
Line 73: Line 73:
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 +
Formed
 +
-->{{#if: {{{formed|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Formed'''</td></tr><tr><td colspan="2" align="center">
 +
{{{formed}}}
 +
</td></tr>}}<!--
 +
 +
Dissolved
 +
-->{{#if: {{{disolved|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Disolved'''</td></tr><tr><td colspan="2" align="center">
 +
{{{disolved}}}
 +
</td></tr>}}<!--
 +
 +
Successor
 +
-->{{#if: {{{successor|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Successor'''</td></tr><tr><td colspan="2" align="center">
 +
{{{successor}}}
 +
</td></tr>}}<!--
 +
 +
preceding
 +
-->{{#if: {{{preceding|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Preceding'''</td></tr><tr><td colspan="2" align="center">
 +
{{{preceding}}}
 +
</td></tr>}}<!--
  
 
--></table><!--
 
--></table><!--
  
 
{{Navbox}}
 
{{Navbox}}

Latest revision as of 19:44, 25 October 2015

Documentation: Police

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.


Police
{{{image}}}