Template:NBCS/testcases

From Minecart Rapid Transit Wiki
Jump to navigation Jump to search

' is a universal template intended to replace older NBCS templates such as .

Parameters

All are optional.

2 (or second unnamed parameter)
The link text, if left blank the value from |1= will be used
3 (or third unnamed parameter)
If given will provide a link {{{3}}} to be used in place of the .
4 (or fourth unnamed parameter)
If given, would change the suffix of the link to "(New Bakersville City Subway <fourth parameter>)", to link to subway cars and other places as well


alt
If given, will provide an alternate value to link to, aside from [first parameter] (New Bakersville City Subway service)
bold
If given, will put boldface on the link text
service
If given, will append the text "train" or "service" after the service link.

Examples

The NBCS template substitutes subway service information to make updating these easier. The table below describes the current substitutions.

Usage Resulting text Expansion
{{NBCS|AA}} AA [[NBCS#AA|AA]]
and the other lettered services: BB, CC, DD, EE, FF, GG, HH, J, JJ, KK, LL, MJ, MM, NX, QB, QJ, QT, RR, TT, Z
{{NBCS|A|<A>}} <A> [[NBCS#A|<A>]]
{{NBCS|D|<D>}} <D> [[NBCS#D|<D>]]
{{NBCS|4|<4>}} <4> [[NBCS#4|<4>]]
{{NBCS|5|<5>}} <5> [[NBCS#5|<5>]]
{{NBCS| |S|alt=Rockaway Park Shuttle|service=train}} S train [[Rockaway Park Shuttle|S]] train
{{NBCS|default value}} default value [[default value (New Bakersville City Subway service)|default value]]