<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIRI_Train%2Fdoc</id>
	<title>Template:IRI Train/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIRI_Train%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:IRI_Train/doc&amp;action=history"/>
	<updated>2026-04-16T10:05:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:IRI_Train/doc&amp;diff=18977&amp;oldid=prev</id>
		<title>Wikipedia&gt;Balablitz: wikify</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:IRI_Train/doc&amp;diff=18977&amp;oldid=prev"/>
		<updated>2021-04-08T10:08:41Z</updated>

		<summary type="html">&lt;p&gt;wikify&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template is used to generate an external link to a web page for any type of train service (Express or slow passenger service) in the India Rail Info. It should only be used in the &amp;quot;external links&amp;quot; section of an article.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
{{See also|Wikipedia:External links}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;required&amp;#039;&amp;#039;&amp;#039; parameter is the ID number. The template then uses the article title as the [[anchor text]]:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* {{IRI Train | ID }}&lt;br /&gt;
* {{IRI Train | id= ID }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To have the link text be other than the article name, use second parameter:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* {{IRI Train | ID | Name }}&lt;br /&gt;
* {{IRI Train | id= ID | name= Name }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is necessary when adding an India Rail Info link to an article about any type of train service (Express or slow passenger service).&lt;br /&gt;
&lt;br /&gt;
==Detailed instructions==&lt;br /&gt;
# Copy and paste one of the options above into the article&lt;br /&gt;
# Go to [https://indiarailinfo.com/ Indiarailinfo.com] and search for the railway station you want in &amp;quot;&amp;#039;&amp;#039;train&amp;#039;&amp;#039;&amp;quot; search bar (say, [[Tamil Nadu Express]], for example. Hover the cursor over the name of the train from the auto dropdown list. Click the first one and then click &amp;quot;&amp;#039;&amp;#039;Go&amp;#039;&amp;#039;&amp;quot; and you will reach &amp;lt;code&amp;gt;https://indiarailinfo.com/train/1611/&amp;lt;/code&amp;gt;)&lt;br /&gt;
# Copy {{em|only}} the numerals (here, &amp;quot;&amp;lt;code&amp;gt;1611&amp;lt;/code&amp;gt;&amp;quot;), omitting the alphabets and characters in the link.&lt;br /&gt;
# Replace &amp;quot;&amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt;&amp;quot; in the template code with the number&lt;br /&gt;
## For the first option above, you&amp;#039;ll then have&lt;br /&gt;
##: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;* {{IRI Train|1611}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; resulting in:&lt;br /&gt;
##* {{IRI Train|1611}}&lt;br /&gt;
##: Note that the link text is the same as the title of the page the template is used on; outside the page &amp;quot;[[Tamil Nadu Express]]&amp;quot;, use the second option:&lt;br /&gt;
## Replace &amp;quot;&amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt;&amp;quot; with the number &amp;#039;&amp;#039;and&amp;#039;&amp;#039; &amp;quot;&amp;lt;code&amp;gt;Name&amp;lt;/code&amp;gt;&amp;quot; with &amp;quot;&amp;lt;code&amp;gt;Tamil Nadu Express&amp;lt;/code&amp;gt;&amp;quot;&lt;br /&gt;
##: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;* {{IRI Train | 1611|Tamil Nadu Express }}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; results in:&lt;br /&gt;
##:* {{IRI Train | 1611|Tamil Nadu Express }}&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;This template is used to generate an external link to a web page for any type of train service (Express or slow passenger service) in the Indian Rail Info.&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;id&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;ID&amp;quot;,&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [ &amp;quot;1&amp;quot; ],&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The IRI Train ID for the target page.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;name&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Name&amp;quot;,&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&amp;quot;2&amp;quot;],&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Name that you want to have displayed. Defaults to article title.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: false&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!--Categories below this line, please; interwikis at Wikidata--&amp;gt;&lt;br /&gt;
[[Category:External link templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Balablitz</name></author>
	</entry>
</feed>