साँचा:Stnlnk/doc

मुक्त ज्ञानकोश विकिपीडिया से

Usage[संपादित करें]

This template expands a name (first parameter) to link to the appropriate railway station article, without displaying "railway station".

Optionally a second parameter can be supplied to distinguish between identically named stations in different locations. (With respect to the UK, this is typically the county level administrative division.)

A third parameter can be used to change the displayed station name.

The template can be abbreviated as {{rws}} (for railway station).

For example:

{{stnlnk|Wolverhampton}} expands to [[Wolverhampton रेलवे स्टेशन|Wolverhampton]].

{{stnlnk|Bramley|Hampshire}} expands to [[Bramley रेलवे स्टेशन (Hampshire)|Bramley]].

{{stnlnk|Ashford International||Ashford Intl}} expands to [[Ashford International रेलवे स्टेशन|Ashford Intl]].

Note:

This template will correctly handle all the standard forms of station name disambiguation:

  • Xxx रेलवे स्टेशन (Location)
  • Xxx (Location) रेलवे स्टेशन
  • Xxx रेलवे स्टेशन, Location
  • Xxx स्टेशन (Location)
  • Xxx (System station)
  • Xxx (System)

Discretion should be used on whether to name the place itself or the station that serves it. In railway articles it is generally preferred to use the station unless specifically talking about the place, for example that Peterborough serves the city of Peterborough.

Almost all British stations follow the link form of terminating with "रेलवे स्टेशन".

See also[संपादित करें]

A number of other templates provide the same function for specific systems:

TemplateData[संपादित करें]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Stnlnk

Typing aid for railway stations articles

साँचे के पैरामीटर्स

इस साँचे के लिए पैरामीटरों के इनलाइन प्रारूपण को प्राथमिकता दी जाती है।

पैरामीटरविवरणप्रकारस्थिति
Station name1

The title of the railway station article, without "railway station"

उदाहरण
Wolverhampton
स्ट्रिंगआवश्यक
Station location2

Distinguishes between identically named stations in different locations

स्ट्रिंगसुझावित
Link label3

Change the displayed link text from station name

स्ट्रिंगसुझावित

उदाहरण[संपादित करें]

{{stnlnk|नई दिल्ली}} expands to नई दिल्ली.

{{stnlnk|दिल्ली जंक्शन||पुरानी दिल्ली}} expands to पुरानी दिल्ली.

{{stnlnk|सफ़दरजंग|दिल्ली}} expands to सफ़दरजंग.