Template talk:512 St. Clair
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||
|
Links to disambiguation pages
[edit]What is the use of introducing links to disambiguation pages to this template? Does it really matter for a legend key that the links read 05 instead of 00? The Banner talk 13:35, 21 April 2013 (UTC)
- There is no link to a disambiguation page. 00 and 05 do not link. 00 implies no data, 05 means "Route 05". What is the link to disambiguation that you are talking about? Secondarywaltz (talk) 16:00, 21 April 2013 (UTC)
- Wikicleaner still signals a link to a disambiguation page on "00", but somewhere hidden in a sub-template. With change to "05" the signal disappears. The Banner talk 16:57, 21 April 2013 (UTC)
- http://en.wikipedia.org/wiki/Special:WhatLinksHere/00 links to Template:512 St. Clair and the sub-templates Template:Rail-interchange and Template:Rail-interchange/doc. Those three templates are the most likely culprits for providing the wrong link but I can't find it. The Banner talk 17:06, 21 April 2013 (UTC)
- Thank you now for the explanantion. It is in the subtemplate {{Rail-interchange}} for Toronto buses, also linked from User:Useddenim/sandbox, which is looking for the number "if exist". I have tried a non numeric value. Does that work? Secondarywaltz (talk) 17:29, 21 April 2013 (UTC)
- Yes and no. Yes, the link to "00" is fixed. No, a link "route" now shows up. The Banner talk 18:05, 21 April 2013 (UTC)
- … and wherever any number exists, it links too. The underlying source of the problem is the Toronto bus template. Secondarywaltz (talk) 19:53, 21 April 2013 (UTC)
- Did reformatting the text to use {{BSsplit}} instead of
<br>
to split the lines of text make a difference? It seems to be something particular to only this template. One difference between this RDT and other uses is the inclusion of (two) collapsible section. Could that have something to do with it? (Another anomaly is the failure of the text box to show up on the row with "Caledonia Road".) Useddenim (talk) 20:02, 21 April 2013 (UTC)
- Did reformatting the text to use {{BSsplit}} instead of
- … and wherever any number exists, it links too. The underlying source of the problem is the Toronto bus template. Secondarywaltz (talk) 19:53, 21 April 2013 (UTC)
- Yes and no. Yes, the link to "00" is fixed. No, a link "route" now shows up. The Banner talk 18:05, 21 April 2013 (UTC)
- Thank you now for the explanantion. It is in the subtemplate {{Rail-interchange}} for Toronto buses, also linked from User:Useddenim/sandbox, which is looking for the number "if exist". I have tried a non numeric value. Does that work? Secondarywaltz (talk) 17:29, 21 April 2013 (UTC)
- http://en.wikipedia.org/wiki/Special:WhatLinksHere/00 links to Template:512 St. Clair and the sub-templates Template:Rail-interchange and Template:Rail-interchange/doc. Those three templates are the most likely culprits for providing the wrong link but I can't find it. The Banner talk 17:06, 21 April 2013 (UTC)
- Wikicleaner still signals a link to a disambiguation page on "00", but somewhere hidden in a sub-template. With change to "05" the signal disappears. The Banner talk 16:57, 21 April 2013 (UTC)
Here's the relevant code from {{Rail-interchange}}:
{{#switch: {{lc: {{{1}}} }}
| toronto={{#switch: {{lc: {{{2}}} }}
| bus={{{icon|[[File:BSicon BUS1.svg|{{{size|12}}}px|link=List of Toronto Transit Commission bus routes]]}}}
{{if|exist|{{{4}}}|{{color box|black|'''{{{3}}}'''|white}}|{{if|exist|{{{3}}}|{{color box||{{{3}}}}} }} }}
}}
}}
}}
The code from the RDT is {{rint|toronto|bus|00}}
and {{rint|toronto|bus|00|x}}
. I don't see where there's a link to {{{3}}}
. Useddenim (talk) 20:15, 21 April 2013 (UTC)
I start to suspect the use of Template:Color box as culprit. While calling the '''{{{3}}}''' it picks it up as a link. But why and where? The Banner talk 00:53, 22 April 2013 (UTC)
- Due to lack of progress and the continuation of the problem, I have commented out the part that causes the problem. In effect, I had to comment out {{rint|toronto|bus|00|size=10}} to get the desired result. As a temporary solution this will do but off course it isn't solving the problem, only hiding it. At least, it pinpoints a bit better where to search. The Banner talk 10:28, 23 April 2013 (UTC)
- You have done nothing, because the other numbers still link. It is pointless to remove just this one rather than repairing the problem template. This actually hampers troubleshooting the code fix. Secondarywaltz (talk) 14:46, 23 April 2013 (UTC)
- It should be noted that other TTC templates like {{501 Queen}} are also affected. Secondarywaltz (talk) 14:54, 23 April 2013 (UTC)
- You have done nothing, because the other numbers still link. It is pointless to remove just this one rather than repairing the problem template. This actually hampers troubleshooting the code fix. Secondarywaltz (talk) 14:46, 23 April 2013 (UTC)
Template size
[edit]This overly large template crashes the infobox when used in the related article. The additional information is not needed. Secondarywaltz (talk) 13:39, 9 May 2013 (UTC)
- The extra content adds nothing to understanding the "route". Secondarywaltz (talk) 13:52, 9 May 2013 (UTC)
- But your amputation of the template only destroys it. The infobox still crashes on it... The Banner talk 14:02, 9 May 2013 (UTC)
- Not if you use {{infobox rdt}} which you reverted. Secondarywaltz (talk)
- It would have worked when you had done the cutting properly. The Banner talk 14:55, 9 May 2013 (UTC)
- Not if you use {{infobox rdt}} which you reverted. Secondarywaltz (talk)
- But your amputation of the template only destroys it. The infobox still crashes on it... The Banner talk 14:02, 9 May 2013 (UTC)
Split off
[edit]Due to a dodgy template to be use in an infobox, the template had to be split. The detailed version is cut out now and pasted here. It is not destroyed, as mr. Secondarywaltz tried to do. You need two to tango, and that was clearly not part of the plan. I hope the author can use this snippet to created a new, detailed template. The Banner talk 14:55, 9 May 2013 (UTC)
- {{St. Clair detailed}}
Done. Thank you. Useddenim (talk) 16:40, 9 May 2013 (UTC)
- Template-Class Canada-related articles
- NA-importance Canada-related articles
- Template-Class Toronto articles
- NA-importance Toronto articles
- All WikiProject Canada pages
- Template-Class rail transport articles
- NA-importance rail transport articles
- Template-Class Streetcars articles
- NA-importance Streetcars articles
- WikiProject Streetcars articles
- All WikiProject Trains pages