Difference between revisions of "Template:Laird"

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...")
 
Line 78: Line 78:
  
 
Death Place
 
Death Place
-->{{#if: {{{death_place|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Death Place''</td></tr><tr><td colspan="2" align="center">{{{death_place}}}  
+
-->{{#if: {{{death_place|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Death Place'''</td></tr><tr><td colspan="2" align="center">{{{death_place}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
Nationality
 
Nationality
-->{{#if: {{{nationality|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Nationality''</td></tr><tr><td colspan="2" align="center">{{{nationality}}}  
+
-->{{#if: {{{nationality|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Nationality'''</td></tr><tr><td colspan="2" align="center">{{{nationality}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
Predecessor
 
Predecessor
-->{{#if: {{{predecessor|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Predecessor''</td></tr><tr><td colspan="2" align="center">{{{predecessor}}}  
+
-->{{#if: {{{predecessor|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Predecessor'''</td></tr><tr><td colspan="2" align="center">{{{predecessor}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
Successor
 
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}}}  
+
-->{{#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>}}<!--
 
</td></tr>}}<!--
  
 
Spouse
 
Spouse
-->{{#if: {{{spouse|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Spouse''</td></tr><tr><td colspan="2" align="center">{{{spouse}}}  
+
-->{{#if: {{{spouse|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Spouse'''</td></tr><tr><td colspan="2" align="center">{{{spouse}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
Children
 
Children
-->{{#if: {{{children|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Children''</td></tr><tr><td colspan="2" align="center">{{{children}}}  
+
-->{{#if: {{{children|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Children'''</td></tr><tr><td colspan="2" align="center">{{{children}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
Mother
 
Mother
-->{{#if: {{{mother|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Mother''</td></tr><tr><td colspan="2" align="center">{{{mother}}}  
+
-->{{#if: {{{mother|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Mother'''</td></tr><tr><td colspan="2" align="center">{{{mother}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  
 
Father
 
Father
-->{{#if: {{{father|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Father''</td></tr><tr><td colspan="2" align="center">{{{father}}}  
+
-->{{#if: {{{father|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Father'''</td></tr><tr><td colspan="2" align="center">{{{father}}}  
 
</td></tr>}}<!--
 
</td></tr>}}<!--
  

Revision as of 13:43, 27 December 2020

Documentation: Laird

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.


Laird