Difference between revisions of "Template:MRT station/doc"

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
(updated)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
For example:  
 
For example:  
  
<code><nowiki>{{MRT Station|Taft Avenue}}</nowiki></code> expands to <code>&#91;&#91;[[Taft Avenue MRT Station]]|Taft Avenue]]</code>.
+
<code><nowiki>{{MRT Station|Kampung Selamat}}</nowiki></code> expands to <code>&#91;&#91;[[Kampung Selamat MRT Station]]|Kampung Selamat]]</code>.
  
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 {{MRT Station|Quezon Avenue}} is located on [[Quezon Avenue]].
+
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 {{MRT Station|Kwasa Damansara}} is located on [[Kwasa Damansara]].
  
 
Most MRT station articles follow the link form of terminating with "MRT Station" or "MRT station".
 
Most MRT station articles follow the link form of terminating with "MRT Station" or "MRT station".
Line 20: Line 20:
 
{{Stnlnk/doc/other}}
 
{{Stnlnk/doc/other}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
 
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
[[Category:Rail transport templates|{{PAGENAME}}]]
 
[[Category:Rail transport templates|{{PAGENAME}}]]
}}
+
 
</includeonly>
+
}}</includeonly>

Latest revision as of 01:39, 26 April 2020

Usage

This template expands a name to link to the appropriate Mass Rapid Transit station article, without displaying "MRT station".

The template can be abbreviated as {{mrt}} or {{mrts}} (for MRT station). It correctly handles articles named Xxx MRT station and Xxx MRT Station without any additional parameters.

For example:

{{MRT Station|Kampung Selamat}} expands to [[Kampung Selamat MRT Station|Kampung Selamat]].

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 Kwasa Damansara is located on Kwasa Damansara.

Most MRT station articles follow the link form of terminating with "MRT Station" or "MRT station".

See also

Template:Stnlnk/doc/other