Difference between revisions of "Template:BSsplit/testcases"
Jump to navigation
Jump to search
imported>Jc86035 |
imported>Jc86035 m |
||
| Line 96: | Line 96: | ||
| 1 = | | 1 = | ||
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | <code><nowiki>{{BSto | + | <code><nowiki>{{BSto|Line Name|to Destination}}</nowiki></code>! !dCONTr\ABZrf\d~~{{BSto|Line Name|to Destination}} |
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | <code><nowiki>{{BSto | + | <code><nowiki>{{BSto|Other Route|to Somewhere Else|align=right}}</nowiki></code>! !d\ABZlf\dCONTl~~{{BSto|Other Route|to Somewhere Else|align=right}} |
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | <code><nowiki>{{BSto | + | <code><nowiki>{{BSto|Station|for Nearby Town|Railway station|it=off}}</nowiki></code>! !HST~~{{BSto|Station|for Nearby Town|Railway station|it=off}} |
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | <code><nowiki>{{BSto | + | <code><nowiki>{{BSto|Continuing line|to Terminus|it=all}}</nowiki></code>! !CONTf~~{{BSto|Continuing line|to Terminus|it=all}} |
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | Station~~<code><nowiki>{{BSsplit | + | Station~~<code><nowiki>{{BSsplit|opened 1900|closed 1969}}</nowiki></code>~~ ! !eBHF~~{{BSsplit|opened 1900|closed 1969}} |
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | Station~~<code><nowiki>{{BSsplit | + | Station~~<code><nowiki>{{BSsplit|open|9 am–3 pm|align=left}}</nowiki></code>~~ ! !pBHF~~{{BSsplit|open|9 am–3 pm|align=left}} |
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | <code><nowiki>{{BSsplit | + | <code><nowiki>{{BSsplit|DC|AC|line=yes}}</nowiki></code>! !eGRENZE~~{{BSsplit|DC|AC|line=yes}} |
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | <code><nowiki>{{BSsplit | + | <code><nowiki>{{BSsplit|Zone A|free-fare|4=it|line=yes|5=b}}</nowiki></code>! !eGRENZE~~{{BSsplit|Zone A|free-fare|4=it|line=yes|5=b}} |
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | <code><nowiki>{{BSsplit | + | <code><nowiki>{{BSsplit|Canada|USA|bg1=#f00|bg2=#aee|align=center}}</nowiki></code>! !eBHF~~{{BSsplit|Canada|USA|bg1=#f00|bg2=#aee|align=center}} |
'''Input:'''! !STR~~'''Result:''' | '''Input:'''! !STR~~'''Result:''' | ||
| − | <code><nowiki>{{BSsrws | + | <code><nowiki>{{BSsrws|Stratford|International|station|it}}</nowiki></code>! !KINTe~~{{BSsrws|Stratford|International|station|it}} |
| map2 = | | map2 = | ||
{{BS-2|STR|'''Input:'''|'''Result:'''}} | {{BS-2|STR|'''Input:'''|'''Result:'''}} | ||
| Line 145: | Line 145: | ||
| 1 = | | 1 = | ||
STR~~'''Result:'''~~'''Input:''' | STR~~'''Result:'''~~'''Input:''' | ||
| − | KMW~~{{BScvt | + | KMW~~{{BScvt|0}}~~<code><nowiki>{{BScvt|0}}</nowiki></code> |
| − | HST~~{{BScvt | + | HST~~{{BScvt|1.50|x}}~~<code><nowiki>{{BScvt|1.50|x}}</nowiki></code> |
| − | HST~~{{BScvt | + | HST~~{{BScvt|16.3|align=left}}~~<code><nowiki>{{BScvt|16.3|align=left}}</nowiki></code> |
| − | HST~~{{BScvt | + | HST~~{{BScvt|100.0|alt=italic}}~~<code><nowiki>{{BScvt|100.0|alt=italic}}</nowiki></code> |
| − | HST~~{{BScvt | + | HST~~{{BScvt|150|line=-}}~~<code><nowiki>{{BScvt|150|line=-}}</nowiki></code> |
STR | STR | ||
| − | DSTR~~{{BScvt | + | DSTR~~{{BScvt|125|in=yd}}~~<code><nowiki>{{BScvt|125|in=yd}}</nowiki></code> |
| − | CSTRae~~{{BScvt | + | CSTRae~~{{BScvt|150|in=m}}~~<code><nowiki>{{BScvt|150|in=m}}</nowiki></code> |
| − | TUNNEL2~~{{BScvt | + | TUNNEL2~~{{BScvt|50|in=ch}}~~<code><nowiki>{{BScvt|50|in=ch}}</nowiki></code> |
| − | BRÜCKE~~{{BScvt | + | BRÜCKE~~{{BScvt|250|in=ch|x}}~~<code><nowiki>{{BScvt|250|in=ch|x}}</nowiki></code> |
| map2 = | | map2 = | ||
{{BS|STR|'''Result:'''|'''Input:'''}} | {{BS|STR|'''Result:'''|'''Input:'''}} | ||
Revision as of 11:50, 25 June 2016
| 42px | This is the template test cases page for the sandbox of Template:BSsplit. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Sandbox version (module)
Main template (module)