Difference between revisions of "Template:LevelCrossing"
Line 37: | Line 37: | ||
} | } | ||
</templatedata> | </templatedata> | ||
− | + | <b>Example:</b> | |
+ | <pre> | ||
+ | {{LevelCrossing | ||
+ | | name = Ardrossan Level Crossing | ||
+ | | type = train | ||
+ | | country = Scotland | ||
+ | | county = North Ayrshire | ||
+ | | location = Ardrossan | ||
+ | | name1 = Princes Street | ||
+ | | crossingtype = Automatic Barriers | ||
+ | }} | ||
+ | </pre> | ||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
Revision as of 23:55, 7 October 2015
<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> Example:
{{LevelCrossing | name = Ardrossan Level Crossing | type = train | country = Scotland | county = North Ayrshire | location = Ardrossan | name1 = Princes Street | crossingtype = Automatic Barriers }}
LevelCrossing |