Difference between revisions of "Template:Clan"

From All About Ayrshire
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--
 
  
Start the table
+
<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|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}} }}'''<!--
 +
 +
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  | police | 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> }} <!--
  
 
--></td></tr><!--
 
--></td></tr><!--
Line 55: 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>}}<!--
Line 73: Line 75:
 
{{{clanmoto}}}  
 
{{{clanmoto}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
 +
  
 
--></table><!--
 
--></table><!--

Latest revision as of 07:26, 17 October 2020

Clan
{{{image}}}