Jump to content

Module talk:Road data/strings/CAN/ON

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 04:48, 2 February 2021 (re). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Crowns vs shields

Not sure one size fits all will work here. I can see using the junction crowns in RJLs (i.e. with jct/jcon), and using the reassurance markers in route lists and infoboxes. I'm not entirely sure how this template works so I don't want to try and make a switch for when the module is called by different templates. - Floydian τ ¢ 22:01, 1 February 2021 (UTC)[reply]

Guilty for making it all crowns. The easiest thing to do is to have a separate type for shields and one for crowns. There's a fair amount of customization we can do in {{routelist row}} if that's the route you wanted to go. –Fredddie 03:26, 2 February 2021 (UTC)[reply]
The crowns would make sense when the highway is referenced as a junction with the subject of the article, and the shields in every other case. As it stands at the moment, using {{jct}} produces shields while {{jcon}} produces crowns:
I'm curious as to which subpage/module is processing jcon, because a switch could be fired for |crown=yes or similar, both templates synchronised, and an AWB run through the junction lists to add that parameter. The visibility of the shields at 21 pixels is also an issue, at least on my monitor. - Floydian τ ¢ 03:53, 2 February 2021 (UTC)[reply]
The 21px was hardcoded into Jct; I just fixed it so the shields are 19x30 now. –Fredddie 04:48, 2 February 2021 (UTC)[reply]