Difference between revisions of "Template:LevelCrossing"

From All About Ayrshire
Jump to: navigation, search
Line 1: Line 1:
<noinclude>{{High use}}
+
<noinclude>
<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.
 
 
 
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]]
 
[[Category:Infoboxes]]
Line 66: Line 51:
  
 
-->
 
-->
 +
 +
<templatedata>
 +
{
 +
"description": "",
 +
"params": {
 +
"type": {
 +
"description": "This should be set as:\ntrain",
 +
"type": "string",
 +
"required": true
 +
},
 +
"location": {
 +
"description": "The location it is located, this is the local town, village or suburb of city",
 +
"type": "string",
 +
"required": true
 +
},
 +
"country": {
 +
"description": "The Country it is located in",
 +
"type": "string",
 +
"required": true
 +
},
 +
"county": {
 +
"description": "The name of the County",
 +
"type": "string",
 +
"required": true
 +
},
 +
"name1": {
 +
"description": "The name of the street the crossing is located",
 +
"type": "string",
 +
"required": true
 +
},
 +
"crossingtype": {
 +
"description": "This is the type of crossing.\n\nAutomatic Barriers\nManually Controlled Gates\nManually Controlled Barriers\nAutomatic Half Barrier\nAutomatic Open Crossing\nOpen Crossing\nOther Types",
 +
"type": "string",
 +
"required": true
 +
}
 +
}
 +
}
 +
</templatedata>

Revision as of 23:44, 7 October 2015


LevelCrossing

<templatedata> { "description": "", "params": { "type": { "description": "This should be set as:\ntrain", "type": "string", "required": true }, "location": { "description": "The location it is located, this is the local town, village or suburb of city", "type": "string", "required": true }, "country": { "description": "The Country it is located in", "type": "string", "required": true }, "county": { "description": "The name of the County", "type": "string", "required": true }, "name1": { "description": "The name of the street the crossing is located", "type": "string", "required": true }, "crossingtype": { "description": "This is the type of crossing.\n\nAutomatic Barriers\nManually Controlled Gates\nManually Controlled Barriers\nAutomatic Half Barrier\nAutomatic Open Crossing\nOpen Crossing\nOther Types", "type": "string", "required": true } } } </templatedata>