# வார்ப்புரு:S-line/doc

## Making it work

### TemplateData

<templatedata>
{
"description": "S-line is a specialised succession box template that links railway station articles",
"params": {
"system": {
"label": "system",
"description": "The system to which the line belongs",
"type": "string",
"required": true
},
"line": {
"label": "line",
"description": "The name of the line",
"type": "string",
"required": true
},
"previous": {
"label": "previous",
"description": "The name of the previous station, should correspond to a specific template name",
"type": "string",
"required": true
},
"next": {
"label": "next",
"description": "The name of the next station, should correspond to a specific template name",
"type": "string",
"required": true
},
"type": {
"label": "type",
"description": "The -hand line branch",
"type": "string",
"required": false
},
"type2": {
"label": "type2",
"description": "The -hand line branch",
"type": "string",
"required": false
},
"note": {
"label": "note",
"description": "Information about the -hand line branch",
"type": "string",
"required": false
},
"notemid": {
"label": "notemid",
"description": "Information about the station itself",
"type": "string",
"required": false
},
"note2": {
"label": "note2",
"description": "Information about the -hand line branch",
"type": "string",
"required": false
},
"oneway1": {
"label": "oneway1",
"description": "Indicates that trains do not operate towards the Previous station",
"type": "string",
"required": false
},
"oneway2": {
"label": "oneway2",
"description": "Indicates that trains do not operate towards the Next station",
"type": "string",
"required": false
},
"through1": {
"label": "through1",
"description": "Allows, instead of a previous station, service passing to another line on the system.",
"type": "string",
"required": false
},
"through2": {
"label": "through2",
"description": "Allows, instead of a next station, service passing to another line on the system.",
"type": "string",
"required": false
},
"state1": {
"label": "state1",
"description": "Allows the passing of an additional station parameter. Useful for disambiguation.",
"type": "string",
"required": false
},
"state2": {
"label": "state2",
"description": "Allows the passing of an additional station parameter. Useful for disambiguation.",
"type": "string",
"required": false
},
"branch": {
"label": "branch",
"description": "Can be used to describe a subset of a line.",
"type": "string",
"required": false
},
"transfer": {
"label": "transfer",
"description": "Used to show lines available by direct transfer at an adjoining station. ",
"type": "string",
"required": false
},
"round1": {
"label": "round1",
"description": "If set displays 'Reverses direction' in cell",
"type": "string",
"required": false
},
"round2": {
"label": "round2",
"description": "If set displays 'Reverses direction' in cell",
"type": "string",
"required": false
},
"circular": {
"label": "circular",
"description": "If set hides 'toward' of both sides",
"type": "string",
"required": false
},
"circular1": {
"label": "circular1",
"description": "If set hides 'toward' of cell only",
"type": "string",
"required": false
},
"circular2": {
"label": "circular2",
"description": "If set hides 'toward' of cell only",
"type": "string",
"required": false
},
"rows1": {
"label": "rows1",
"description": "Number of rows for hand column",
"type": "string",
"required": false
},
"rowsmid": {
"label": "rowsmid",
"description": "Number of rows for hand column",
"type": "string",
"required": false
},
"rows2": {
"label": "rows2",
"description": "Number of rows for hand column",
"type": "string",
"required": false
},
"hide1": {
"label": "hide1",
"description": "Hides the previous station, used when a previous row has 'rows1' set",
"type": "string",
"required": false
},
"hidemid": {
"label": "hidemid",
"description": "Hides this station, used when a previous row has 'rowsmid' set",
"type": "string",
"required": false
},
"hide2": {
"label": "hide2",
"description": "Hides the next station, used when a previous row has 'rows2' set",
"type": "string",
"required": false
}
}
}
</templatedata>  
=