Difference between revisions of "Template:MRT station-layout template doc"

From blackwiki
Jump to navigation Jump to search
imported>ZKang123
imported>ZKang123
Line 36: Line 36:
 
| {{para|code2}} || Alternate line name for the next stop || ''optional''
 
| {{para|code2}} || Alternate line name for the next stop || ''optional''
 
|-
 
|-
| {{para|color}} || Line color from {{tl|MRT color}} || ''optional''
+
| {{para|color}} || Line color from {{tl|SMRT color}} || ''optional''
 
|-
 
|-
| {{para|color-gradient1}} ''and''<br/> {{para|color-gradient2}} || Line colors (for a gradient) from {{tl|MRT color}} || ''optional''
+
| {{para|color-gradient1}} ''and''<br/> {{para|color-gradient2}} || Line colors (for a gradient) from {{tl|SMRT color}} || ''optional''
 
|-
 
|-
 
| {{para|dir}} ''or''<br/> {{para|deg}} || Adds a North arrow. Acceptable inputs for {{para|dir}} are the cardinal and ordinal directions (N, NE, E, etc.)  Acceptable inputs for {{para|deg}} are in 15° steps: 000, 015, 030, 045 … 345 || ''optional''
 
| {{para|dir}} ''or''<br/> {{para|deg}} || Adds a North arrow. Acceptable inputs for {{para|dir}} are the cardinal and ordinal directions (N, NE, E, etc.)  Acceptable inputs for {{para|deg}} are in 15° steps: 000, 015, 030, 045 … 345 || ''optional''

Revision as of 03:04, 23 August 2020

Template:SMRT-routemap

Parameter Description Required
unnamed parameter 1 Previous stop (at top of diagram). Note: must be formatted as |1= if |l1= is included. yes
unnamed parameter 2 Next stop (at bottom of diagram). Note: must be formatted as |2= if |l2= is included. yes
|l1= Alternate text for previous stop (defaults to the value for parameter 1) optional
|l2= Alternate text for next stop (defaults to the value for parameter 2) optional
|3r= If included, creates a three-row platform (signifying a 450–480 foot-long platform) instead of four rows (for a 510+ foot-long platform) optional
|closed-left= or
|closed-right= or
|closed=
If included, shows that the corresponding platform is closed optional
|code= The full line name yes
|code2= Alternate line name for the next stop optional
|color= Line color from {{SMRT color}} optional
|color-gradient1= and
|color-gradient2=
Line colors (for a gradient) from {{SMRT color}} optional
|dir= or
|deg=
Adds a North arrow. Acceptable inputs for |dir= are the cardinal and ordinal directions (N, NE, E, etc.) Acceptable inputs for |deg= are in 15° steps: 000, 015, 030, 045 … 345 optional
|inline= Makes the map inline (i.e. omits the title and surrounding box) optional
|unused= If included, omits the direction arrows for the center track optional
|textcolor= Color of the header text optional

Examples

Note that these examples are meant to show different variations and do not accurately represent specific stations.

{{MRT {{{1}}}-tracked {{{2}}} station
|1 = Woodlands
|2 = Sembawang
|color = North South
|inline = y
|closed = y
|deg = 045
}}

{{MRT {{{1}}}-tracked {{{2}}} station

1 = Woodlands 2 = Sembawang color = North South inline = y closed = y deg = 045

}}

{{MRT {{{1}}}-tracked {{{2}}} station
|1 = Sixth Avenue
|2 = Botanic Gardens
|color = DT
|deg = 345
}}

{{MRT {{{1}}}-tracked {{{2}}} station

1 = Sixth Avenue 2 = Botanic Gardens color = DT deg = 345

}}

{{MRT {{{1}}}-tracked {{{2}}} station
|dir = N
|1 = Dhoby Ghaut
|2 = Esplanade
|3r = yes
|color = Circle
|textcolor = black
}}

{{MRT {{{1}}}-tracked {{{2}}} station

dir = N 1 = Dhoby Ghaut 2 = Esplanade 3r = yes color = Circle textcolor = black = y

}}

See also