Module talk:Road data
Wikidata
Wikidata now has a road number formatter (P8498) property that would make it possible to streamline some of these modules a little. Instead of needing to specify the abbreviation format of each route network, the module could simply supply the Wikidata QID of the route network and state. A template like {{jct}} could then automatically look up the correct format. For example:
- Interstate highways (California):
{{replace|{{if empty|{{wd|property|Q94247|P8498|P3005=Q99}}|{{wd|property|Q94247|P8498}}}}|$1|5}}
→ I-5 - Interstate highways (Texas):
{{replace|{{if empty|{{wd|property|Q94247|P8498|P3005=Q1439}}|{{wd|property|Q94247|P8498}}}}|$1|5}}
→ IH 5
I've also proposed a road name formatter property to further streamline these modules. It's still waiting for some feedback.
– Minh Nguyễn 💬 07:47, 13 August 2020 (UTC)
visualhide removal
This template/module uses the visualhide class. It has a TemplateStyles solution and will accordingly be removed from Common.css soon. Your feedback regarding the timeline is requested at MediaWiki talk:Common.css § visualhide removal. Izno (talk) 17:10, 2 December 2020 (UTC)