Difference between revisions of "Template:Bangkok Rapid Transit stations/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mr.BuriramCN
(Created page with '{{Documentation subpage}} {{Bangkok Rapid Transit stations |Sukhumvit=yes |Silom=yes |Blue=yes |Airport=yes }} === Usage === Insert <nowiki>{{Bangkok Rapid Trans...')
 
imported>Mr.BuriramCN
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
 +
=== Usage ===
 +
This template selectively displays the stations of various Bangkok Rapid Transit lines in a navbox. To select which lines are displayed, use the parameters. Give each parameter a value to make that line display, and leave the parameter unset to make the line stay hidden. For example,
 +
 +
<pre>
 +
{{Bangkok Rapid Transit stations
 +
|Sukhumvit=
 +
|Silom=yes
 +
|Blue=yes
 +
|Airport=
 +
}}</pre>
 +
 
{{Bangkok Rapid Transit stations
 
{{Bangkok Rapid Transit stations
|Sukhumvit=yes
+
|Sukhumvit=
 
|Silom=yes
 
|Silom=yes
 
|Blue=yes
 
|Blue=yes
|Airport=yes
+
|Airport=
 
}}
 
}}
=== Usage ===
+
 
Insert <nowiki>{{Bangkok Rapid Transit stations | line#=yes}}</nowiki> Replace "#" with the line number.
+
==Blank declaration==
 +
 
 +
You can copy and paste this blank template for use, inserting a value for each of the lines that's to be displayed and either deleting or leaving unset the lines that aren't to be displayed.
 +
 
 +
<pre>
 +
{{Bangkok Rapid Transit stations
 +
|Sukhumvit=
 +
|Silom=
 +
|Blue=ye
 +
|Airport=
 +
}}</pre>
  
 
=== See also ===
 
=== See also ===

Revision as of 00:48, 14 October 2013

Usage

This template selectively displays the stations of various Bangkok Rapid Transit lines in a navbox. To select which lines are displayed, use the parameters. Give each parameter a value to make that line display, and leave the parameter unset to make the line stay hidden. For example,

{{Bangkok Rapid Transit stations
|Sukhumvit=
|Silom=yes
|Blue=yes
|Airport=
}}

Blank declaration

You can copy and paste this blank template for use, inserting a value for each of the lines that's to be displayed and either deleting or leaving unset the lines that aren't to be displayed.

{{Bangkok Rapid Transit stations
|Sukhumvit=
|Silom=
|Blue=ye
|Airport=
}}

See also