Template:Jcon/testcases
Appearance
This is the template test cases page for the sandbox of Template:Jcon. 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 and parsers with these links: |
Normal
[edit]Highways
[edit]{{Jcon|Hwy|407ETR}}
{{Jcon}} | → | 407 ETR |
---|---|---|
{{Jcon/sandbox}} | → | 407 ETR |
{{Jcon|HWY|401}}
{{Jcon}} | → | Highway 401 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 401 |
{{Jcon|hwy|427}}
{{Jcon}} | → | Highway 427 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 427 |
{{Jcon|highway|17|tch=y}}
{{Jcon}} | → | Highway 17 / TCH |
---|---|---|
{{Jcon/sandbox}} | → | Highway 17 / TCH |
{{Jcon|Tor|DVP}}
{{Jcon}} | → | Don Valley Parkway |
---|---|---|
{{Jcon/sandbox}} | → | Don Valley Parkway |
{{Jcon|Both|407}}
{{Jcon}} | → | 407 ETR / Highway 407 |
---|---|---|
{{Jcon/sandbox}} | → | 407 ETR / Highway 407 |
Local roads
[edit]{{Jcon|GS|55}}
{{Jcon}} | → | Municipal Road 55 |
---|---|---|
{{Jcon/sandbox}} | → | Municipal Road 55 |
{{Jcon|Kawartha Lakes|35}}
{{Jcon}} | → | Road 35 |
---|---|---|
{{Jcon/sandbox}} | → | Road 35 |
{{Jcon|kawartha lakes|35}}
{{Jcon}} | → | Road 35 |
---|---|---|
{{Jcon/sandbox}} | → | Road 35 |
{{Jcon|DRH|12}}
{{Jcon}} | → | Regional Highway 12 |
---|---|---|
{{Jcon/sandbox}} | → | Regional Highway 12 |
{{Jcon|York|68|Markham Road}}
{{Jcon}} | → | Regional Road 68 (Markham Road) |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 68 (Markham Road) |
{{Jcon|York Region|68|Markham Road}}
{{Jcon}} | → | Regional Road 68 (Markham Road) |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 68 (Markham Road) |
{{Jcon|york region|68|Markham Road}}
{{Jcon}} | → | Regional Road 68 (Markham Road) |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 68 (Markham Road) |
{{Jcon|Simcoe|42}}
{{Jcon}} | → | County Road 42 |
---|---|---|
{{Jcon/sandbox}} | → | County Road 42 |
{{Jcon|Peel|7|shield=y}}
{{Jcon}} | → | Regional Road 7 |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 7 |
Shield
[edit]Highways
[edit]{{Jcon|Hwy|407ETR|shield=y}}
{{Jcon}} | → | 407 ETR |
---|---|---|
{{Jcon/sandbox}} | → | 407 ETR |
{{Jcon|HWY|401|shield=y}}
{{Jcon}} | → | Highway 401 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 401 |
{{Jcon|Hwy|427|shield=y}}
{{Jcon}} | → | Highway 427 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 427 |
{{Jcon|Hwy|17|shield=y |tch=y}}
{{Jcon}} | → | Highway 17 / TCH |
---|---|---|
{{Jcon/sandbox}} | → | Highway 17 / TCH |
{{Jcon|Tor|Gardiner|shield=y}}
{{Jcon}} | → | Gardiner Expressway |
---|---|---|
{{Jcon/sandbox}} | → | Gardiner Expressway |
Local roads
[edit]{{Jcon|GS|55|shield=y}}
{{Jcon}} | → | Municipal Road 55 |
---|---|---|
{{Jcon/sandbox}} | → | Municipal Road 55 |
{{Jcon|Kawartha Lakes|35|shield=y}}
{{Jcon}} | → | Road 35 |
---|---|---|
{{Jcon/sandbox}} | → | Road 35 |
{{Jcon|kawartha lakes|35|shield=y}}
{{Jcon}} | → | Road 35 |
---|---|---|
{{Jcon/sandbox}} | → | Road 35 |
{{Jcon|DRH|12|shield=y}}
{{Jcon}} | → | Regional Highway 12 |
---|---|---|
{{Jcon/sandbox}} | → | Regional Highway 12 |
{{Jcon|York|68|Markham Road|shield=y}}
{{Jcon}} | → | Regional Road 68 (Markham Road) |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 68 (Markham Road) |
{{Jcon|York Region|68|Markham Road|shield=y}}
{{Jcon}} | → | Regional Road 68 (Markham Road) |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 68 (Markham Road) |
{{Jcon|york region|68|Markham Road|shield=y}}
{{Jcon}} | → | Regional Road 68 (Markham Road) |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 68 (Markham Road) |
{{Jcon|Simcoe|42|shield=y}}
{{Jcon}} | → | County Road 42 |
---|---|---|
{{Jcon/sandbox}} | → | County Road 42 |
{{Jcon|Middlesex|7|shield=y}}
{{Jcon}} | → | County Road 7 |
---|---|---|
{{Jcon/sandbox}} | → | County Road 7 |
No shield
[edit]{{Jcon|Hwy|401|nosh=y |town=Ajax}}
{{Jcon}} | → | Highway 401 – Ajax |
---|---|---|
{{Jcon/sandbox}} | → | Highway 401 – Ajax |
{{Jcon|Highway|35|nosh=y}}
{{Jcon}} | → | Highway 35 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 35 |
No link
[edit]{{Jcon|York|1|nolink=y}}
{{Jcon}} | → | Regional Road 1 |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 1 |
{{Jcon|York|1|city=Toronto |nolink=y}}
{{Jcon}} | → | Regional Road 1 – Toronto |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 1 – Toronto |
No text
[edit]{{Jcon|Simcoe|5|notext=y}}
{{Jcon}} | → | |
---|---|---|
{{Jcon/sandbox}} | → |
{{Jcon|Simcoe|5|city=Toronto |notext=y}}
{{Jcon}} | → | – Toronto |
---|---|---|
{{Jcon/sandbox}} | → | – Toronto |
Only text
[edit]{{Jcon|Durham|23|ot=y}}
{{Jcon}} | → | Regional Road 23 |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 23 |
{{Jcon|Durham|23|city=Toronto |ot=y}}
{{Jcon}} | → | Regional Road 23 – Toronto |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 23 – Toronto |
Full text
[edit]{{Jcon|Durham|23|fulltext=y}}
{{Jcon}} | → | Durham Regional Road 23 |
---|---|---|
{{Jcon/sandbox}} | → | Durham Regional Road 23 |
{{Jcon|Hwy|99999|fulltext=y}}
{{Jcon}} | → | Highway 99999 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 99999 |
Show red
[edit]{{Jcon|York|1|city=Toronto |showred=y}}
{{Jcon}} | → | Regional Road 1 – Toronto |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 1 – Toronto |
{{Jcon|Simcoe|9999|city=Mangoville}}
{{Jcon}} | → | County Road 9999 – Mangoville |
---|---|---|
{{Jcon/sandbox}} | → | County Road 9999 – Mangoville |
{{Jcon|Simcoe|9999|city=Mangoville |showred=y}}
{{Jcon}} | → | County Road 9999 – Mangoville |
---|---|---|
{{Jcon/sandbox}} | → | County Road 9999 – Mangoville |
Custom size
[edit]{{Jcon|Hwy|11|size=50px}}
{{Jcon}} | → | Highway 11 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 11 |
{{Jcon|Hwy|11|notext=y |sign=airport |size=50px |tch=y}}
{{Jcon}} | → | |
---|---|---|
{{Jcon/sandbox}} | → |
Concurrences
[edit]{{Jcon|Hwy|QEW|con=407}}
{{Jcon}} | → | Queen Elizabeth Way / Highway 407 |
---|---|---|
{{Jcon/sandbox}} | → | Queen Elizabeth Way / Highway 407 |
{{Jcon|Hwy|6|con=21 |con2=26 |town=Collingwood}}
{{Jcon}} | → | Highway 6 / Highway 21 / Highway 26 – Collingwood |
---|---|---|
{{Jcon/sandbox}} | → | Highway 6 / Highway 21 / Highway 26 – Collingwood |
{{Jcon|Hwy|7|Baldwin Street|con=12}}
{{Jcon}} | → | Highway 7 / Highway 12 (Baldwin Street) |
---|---|---|
{{Jcon/sandbox}} | → | Highway 7 / Highway 12 (Baldwin Street) |
{{Jcon|Peel|7|con=18 |con2=1 |condir=north |contype=Dufferin |contype2=York |dir=south |fulltext=y}}
{{Jcon}} | → | Peel Regional Road 7 south / Dufferin County Road 18 north / York Regional Road 1 |
---|---|---|
{{Jcon/sandbox}} | → | Peel Regional Road 7 south / Dufferin County Road 18 north / York Regional Road 1 |
Direction
[edit]{{Jcon|Hwy|QEW|dir=east}}
{{Jcon}} | → | Queen Elizabeth Way east |
---|---|---|
{{Jcon/sandbox}} | → | Queen Elizabeth Way east |
{{Jcon|Hwy|6|First Street|con=10 |con2=21 |condir=south |condir2=east |dir=north}}
{{Jcon}} | → | Highway 6 north / Highway 10 south / Highway 21 east (First Street) |
---|---|---|
{{Jcon/sandbox}} | → | Highway 6 north / Highway 10 south / Highway 21 east (First Street) |
City
[edit]{{Jcon|Hwy|QEW|city=Toronto}}
{{Jcon}} | → | Queen Elizabeth Way – Toronto |
---|---|---|
{{Jcon/sandbox}} | → | Queen Elizabeth Way – Toronto |
{{Jcon|Hwy|QEW|town=Toronto}}
{{Jcon}} | → | Queen Elizabeth Way – Toronto |
---|---|---|
{{Jcon/sandbox}} | → | Queen Elizabeth Way – Toronto |
{{Jcon|Hwy|QEW|city2=Hamilton |town=Toronto}}
{{Jcon}} | → | Queen Elizabeth Way – Toronto, Hamilton |
---|---|---|
{{Jcon/sandbox}} | → | Queen Elizabeth Way – Toronto, Hamilton |
{{Jcon|Hwy|QEW|city=Toronto |city3=Oakville |town2=Hamilton}}
{{Jcon}} | → | Queen Elizabeth Way – Toronto, Hamilton, Oakville |
---|---|---|
{{Jcon/sandbox}} | → | Queen Elizabeth Way – Toronto, Hamilton, Oakville |
Picture after
[edit]{{Jcon|Hwy|6|con=21 |con2=26 |picaft=y |town=Collingwood}}
{{Jcon}} | → | Highway 6 / Highway 21 / Highway 26 – Collingwood |
---|---|---|
{{Jcon/sandbox}} | → | Highway 6 / Highway 21 / Highway 26 – Collingwood |
{{Jcon|Hwy|6|con=21 |con2=26 |pic aft=y |town=Collingwood}}
{{Jcon}} | → | Highway 6 / Highway 21 / Highway 26 – Collingwood |
---|---|---|
{{Jcon/sandbox}} | → | Highway 6 / Highway 21 / Highway 26 – Collingwood |
MTO signs
[edit]{{Jcon|train}}
{{Jcon}} | → | |
---|---|---|
{{Jcon/sandbox}} | → |
{{Jcon|Train station}}
{{Jcon}} | → | |
---|---|---|
{{Jcon/sandbox}} | → |
{{Jcon|Airport|[[Pearson Airport|Pearson]]}}
{{Jcon}} | → | Pearson |
---|---|---|
{{Jcon/sandbox}} | → | Pearson |
{{Jcon|Hwy|409|sign=airport}}
{{Jcon}} | → | Highway 409 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 409 |
Sign sizing
[edit]{{Jcon|Hwy|409|sign=tch}}
{{Jcon}} | → | Highway 409 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 409 |
{{Jcon|Hwy|409|shield=y |sign=tch}}
{{Jcon}} | → | Highway 409 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 409 |
{{Jcon|Hwy|407ETR|shield=y |sign=tch}}
{{Jcon}} | → | 407 ETR |
---|---|---|
{{Jcon/sandbox}} | → | 407 ETR |
{{Jcon|Peel|1|shield=y |sign=tch}}
{{Jcon}} | → | Regional Road 1 |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 1 |
{{Jcon|Hwy|409|con=1 |contype=Peel |shield=y |sign=tch}}
{{Jcon}} | → | Highway 409 / Regional Road 1 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 409 / Regional Road 1 |
{{Jcon|Hwy|409|con=1 |contype=Peel |shield=y |tch=y}}
{{Jcon}} | → | Highway 409 / Regional Road 1 / TCH |
---|---|---|
{{Jcon/sandbox}} | → | Highway 409 / Regional Road 1 / TCH |
{{Jcon|Hwy|409|sign=tch |size=40px}}
{{Jcon}} | → | Highway 409 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 409 |
{{Jcon|Hwy|409|shield=y |sign=tch |size=40px}}
{{Jcon}} | → | Highway 409 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 409 |
Via and to
[edit]{{Jcon|Hwy|to=12}}
{{Jcon}} | → | To Highway 12 |
---|---|---|
{{Jcon/sandbox}} | → | To Highway 12 |
{{Jcon|Hwy|7|to=23}}
{{Jcon}} | → | Highway 7 to Highway 23 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 7 to Highway 23 |
{{Jcon|Hwy|401|dir=east |via=409}}
{{Jcon}} | → | Via Highway 401 east via Highway 409 |
---|---|---|
{{Jcon/sandbox}} | → | Via Highway 401 east via Highway 409 |
{{Jcon|Hwy|6|dir=south |to=403 |to2=QEW |to3=Gardiner |todir=east |todir2=east |todir3=east |totype3=TO}}
{{Jcon}} | → | Highway 6 south to Highway 403 east / Queen Elizabeth Way east / Gardiner Expressway east |
---|---|---|
{{Jcon/sandbox}} | → | Highway 6 south to Highway 403 east / Queen Elizabeth Way east / Gardiner Expressway east |
{{Jcon|Toll|407|dir=west |via=35 |via2=115 |viadir=north |viadir2=north |viatype=Hwy |viatype2=Hwy}}
{{Jcon}} | → | Via Highway 407 west via Highway 35 north / Highway 115 north |
---|---|---|
{{Jcon/sandbox}} | → | Via Highway 407 west via Highway 35 north / Highway 115 north |
{{Jcon|York|8|Woodbine Avenue|dir=north |to=32 |toname=Ravenshoe Road}}
{{Jcon}} | → | Regional Road 8 north (Woodbine Avenue) to Regional Road 32 (Ravenshoe Road) |
---|---|---|
{{Jcon/sandbox}} | → | Regional Road 8 north (Woodbine Avenue) to Regional Road 32 (Ravenshoe Road) |
{{Jcon|Hwy|12|Baldwin St|via=7 |vianame=Winchester Rd W}}
{{Jcon}} | → | Via Highway 12 (Baldwin St) via Highway 7 (Winchester Rd W) |
---|---|---|
{{Jcon/sandbox}} | → | Via Highway 12 (Baldwin St) via Highway 7 (Winchester Rd W) |
Name first
[edit]{{Jcon|york|68|Markham Road|namefirst=y}}
{{Jcon}} | → | Markham Road (Regional Road 68) |
---|---|---|
{{Jcon/sandbox}} | → | Markham Road (Regional Road 68) |
{{Jcon|Hwy|6|First Street|con=10 |con2=21 |condir=south |condir2=east |dir=north |namefirst=y}}
{{Jcon}} | → | First Street (Highway 6 north / Highway 10 south / Highway 21 east) |
---|---|---|
{{Jcon/sandbox}} | → | First Street (Highway 6 north / Highway 10 south / Highway 21 east) |
{{Jcon|York|8|Woodbine Avenue|dir=north |namefirst=y |to=32 |toname=Ravenshoe Road}}
{{Jcon}} | → | Woodbine Avenue (Regional Road 8 north) to Ravenshoe Road (Regional Road 32) |
---|---|---|
{{Jcon/sandbox}} | → | Woodbine Avenue (Regional Road 8 north) to Ravenshoe Road (Regional Road 32) |
{{Jcon|Hwy|12|Baldwin St|namefirst=y |via=7 |vianame=Winchester Rd W}}
{{Jcon}} | → | Via Baldwin St (Highway 12) via Winchester Rd W (Highway 7) |
---|---|---|
{{Jcon/sandbox}} | → | Via Baldwin St (Highway 12) via Winchester Rd W (Highway 7) |
{{Jcon|Hwy|401|namefirst=y}}
{{Jcon}} | → | Highway 401 |
---|---|---|
{{Jcon/sandbox}} | → | Highway 401 |