IndiaRailInfo at the India Rail Info
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.
The required parameter is the ID number. The template then uses the article title as the anchor text:
* ((IndiaRailInfo | ID )) * ((IndiaRailInfo | id= ID ))
To have the link text be other than the article name, use second parameter:
* ((IndiaRailInfo | ID | Name )) * ((IndiaRailInfo | id= ID | name= Name ))
This is necessary when adding an India Rail Info link to an article about a railway station.
https://indiarailinfo.com/arrivals/787/
)787
"), omitting the alphabets and characters in the link.ID
" in the template code with the number
* ((IndiaRailInfo|787))
resulting in:ID
" with the number and "Name
" with "Tiruchirapalli Junction
"
* ((IndiaRailInfo|787|Tiruchirapalli Junction))
results in:
TemplateData for IndiaRailInfo
This template is used to generate an external link to a web page for a railway station in the Indian Rail Info.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The IndiaRailInfo ID for the target page. | Number | required |
Name | name 2 | The name that you want to have displayed. Defaults to the article title. | String | optional |
Section | section | The subsection of the url for the IndiaRailInfo page. Defaults to nothing. | String | optional |