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

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(4 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
=== Usage ===
 
=== Usage ===
  
This template expands a name to link to the appropriate [[Mass Rapid Transit]] station article, without displaying "MRT Station".  
+
This template expands a name to link to the appropriate [[Mass Rapid Transit]] station article, without displaying "MRT station".  
  
The optional second parameter (any character) will change the word "Station" to lowercase (the default is capitalized).
+
The template can be abbreviated as {{tl|mrt}} or {{tl|mrts}} (for '''MRT s'''tation). It correctly handles articles named ''Xxx MRT '''s'''tation'' and ''Xxx MRT '''S'''tation'' without any additional parameters.
 
 
The template can be abbreviated as {{tl|mrt}} or {{tl|mrts}} (for '''MRT S'''tation), or {{tl|mrtl}} as a short form to omit the second parameter.
 
  
 
For example:  
 
For example:  
  
<code><nowiki>{{MRT Station|Taft Avenue}}</nowiki></code> expands to <code>&#91;&#91;[[Taft Avenue MRT Station]]|Taft Avenue]]</code>, and
+
<code><nowiki>{{MRT Station|Kampung Selamat}}</nowiki></code> expands to <code>&#91;&#91;[[Kampung Selamat MRT Station]]|Kampung Selamat]]</code>.
 
 
both <code><nowiki>{{MRT Station|Ximen|x}}</nowiki></code> and <code><nowiki>{{mrtl|Ximen}}</nowiki></code> expand to <code>&#91;&#91;[[Ximen MRT station]]|Ximen]]</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".
+
Most MRT station articles follow the link form of terminating with "MRT Station" or "MRT station".
  
 
=== See also ===
 
=== See also ===
Line 24: 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