Difference between revisions of "Template:Clan"

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...")
 
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{High use}}
 
<div style="border: 2px solid black; background-color:wheat; margin:4px;padding:4px;">
 
'''<big>Documentation: {{BASEPAGENAME}}</big>'''
 
  
The Routebox is the big template down the right hand side of every single roads page on the Wiki.
+
<table style="margin:6px;clear:right;" class="toc colour" align="right" width="267"><!--
 
 
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.
 
<div style="border: 1px dashed black; background-color:white; margin:2px;padding:4px;font-family:Courier,system;">
 
<nowiki>{{Routebox | <lots> }}</nowiki>
 
</div>
 
'''<lots>''' - There are literally hundreds of different options available.  See the [[Help:Routeboxes]] page for details of how to use this template.<br/>
 
</div>
 
 
 
[[Category:Infoboxes]]
 
 
 
 
 
</noinclude><!-- The following lines define the colours associated with the different types of road.
 
 
 
When adding new types, ensure that the type is also added to the block of code below the number section.
 
 
 
<!--
 
 
 
Start the table
 
--><table style="margin:6px;clear:right;" class="toc colour" align="right" width="267"><!--
 
  
 
Name--><tr><td style="background:{{Get bg colour|{{{type|train}}} }}; border:1px solid #000000; color:{{Get road text colour|{{{type|train}}} }}; 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|train}}} }}; border:1px solid #000000; color:{{Get road text colour|{{{type|train}}} }}; font-size:14pt; padding:4px; font-weight: bold;" align=center colspan="2">'''{{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}} }}'''<!--
Line 47: Line 21:
 
   |resultsfooter=</td></tr>
 
   |resultsfooter=</td></tr>
 
}}<!--
 
}}<!--
 +
  
 
Location
 
Location
 
-->{{#if: {{{location|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Location'''</td></tr><tr><td colspan="2" align="center">
 
-->{{#if: {{{location|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Location'''</td></tr><tr><td colspan="2" align="center">
 
{{{location}}}  
 
{{{location}}}  
 +
</td></tr>}}<!--
 +
 +
Country
 +
-->{{#if: {{{country|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Country'''</td></tr><tr><td colspan="2" align="center">
 +
{{{country}}}
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
Crest
 
Crest
-->{{#if: {{{country|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Crest'''</td></tr><tr><td colspan="2" align="center">{{{country}}}  
+
-->{{#if: {{{crest|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Crest'''</td></tr><tr><td colspan="2" align="center">{{{crest}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
War Cry
 
War Cry
-->{{#if: {{{county|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''War Cry'''</td></tr><tr><td colspan="2" align="center">{{{county}}}  
+
-->{{#if: {{{warcry|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''War Cry'''</td></tr><tr><td colspan="2" align="center">{{{warcry}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
Line 67: Line 47:
  
 
Chief
 
Chief
-->{{#if: {{{disolved|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Chief'''</td></tr><tr><td colspan="2" align="center">
+
-->{{#if: {{{chief|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Chief'''</td></tr><tr><td colspan="2" align="center">
{{{disolved}}}  
+
{{{chief}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
Line 77: Line 57:
  
 
Preceding
 
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">
+
-->{{#if: {{{preceding|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Preceding Chief'''</td></tr><tr><td colspan="2" align="center">
 
{{{preceding}}}  
 
{{{preceding}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
Region
 
Region
-->{{#if: {{{preceding|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Region'''</td></tr><tr><td colspan="2" align="center">
+
-->{{#if: {{{region|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Region'''</td></tr><tr><td colspan="2" align="center">
{{{preceding}}}  
+
{{{region}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
Plant Badge
 
Plant Badge
-->{{#if: {{{preceding|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Plant Badge'''</td></tr><tr><td colspan="2" align="center">
+
-->{{#if: {{{plantbadge|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Plant Badge'''</td></tr><tr><td colspan="2" align="center">
{{{preceding}}}  
+
{{{plantbadge}}}
 +
</td></tr>}}<!--
 +
 
 +
Clan Moto
 +
-->{{#if: {{{clanmoto|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Clan Moto'''</td></tr><tr><td colspan="2" align="center">
 +
{{{clanmoto}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
 +
  
 
--></table><!--
 
--></table><!--

Latest revision as of 07:26, 17 October 2020

Clan
{{{image}}}