Template:IndiaRailInfo/doc

This template is used to generate an external link to a web page for a railway station in the India Rail Info. It should only be used in the "external links" section of an article.

Usage
The required parameter is the ID number. The template then uses the article title as the anchor text: To have the link text be other than the article name, use second parameter:

This is necessary when adding an India Rail Info link to an article about a railway station.

Detailed instructions

 * 1) Copy and paste one of the options above into the article
 * 2) Go to Indiarailinfo.com and search for the railway station you want in either "From" or "To" search bar (say, Tiruchirapalli Junction railway station, for example. Hover the cursor over the name of station for a auto dropdown list. Click "All Arrivals" and you will reach  )
 * 3) Copy  the numerals (here, " "), omitting the alphabets and characters in the link.
 * 4) Replace " " in the template code with the number
 * 5) For the first option above, you'll then have
 * resulting in:
 * Note that the link text is the same as the title of the page the template is used on; outside the page "Tiruchirappalli Junction", use the second option:
 * 1) Replace " " with the number and " " with " "
 * results in:
 * results in:

TemplateData
{	"description": "This template is used to generate an external link to a web page for a railway station in the Indian Rail Info.", "params": { "id": { "label": "ID", "aliases": [ "1" ], "description": "The IndiaRailInfo ID for the target page.", "type": "number", "required": true },		"name": { "label": "Name", "aliases": ["2"], "description": "The name that you want to have displayed. Defaults to the article title.", "type": "string", "required": false },       "section": { "label": "Section", "description": "The subsection of the url for the IndiaRailInfo page. Defaults to nothing.", "type": "string", "required": false }	} }