Jump to content

Module talk:Road data

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by ReneeWrites (talk | contribs) at 12:10, 6 August 2023. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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)[reply]

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)[reply]

Specific icons for SADC countries

For countries in the Southern African Development Community, the following country-specific icons may be used instead of the generic ones:

  • extra.rail:
  • extra.bus:
  • extra.ferry:
  • extra.airport:

Ron2K (talk) 21:28, 19 July 2020 (UTC)[reply]

@Ron2K: what identifier are these going to be called by? (Or what is the exact code you would add, if you could edit the page?) — xaosflux Talk 03:34, 24 July 2020 (UTC)[reply]
 Not done please reply to the above question, then reactivate the request if it is ready. — xaosflux Talk 11:52, 25 July 2020 (UTC)[reply]

Template-protected edit request on 14 June 2021

Please add extra.toll, with File:Toll plate.svg as default, and File:Spain traffic signal r200a.svg for country code ESP. Ambil (talk) 09:30, 14 June 2021 (UTC) They are already used in Highways in Spain. Ambil (talk) 09:31, 14 June 2021 (UTC)[reply]

 Not done: please make your requested changes to the module's sandbox first; see WP:TESTCASES. — Martin (MSGJ · talk) 10:59, 21 June 2021 (UTC)[reply]

Edit request 6 August 2023

Description of suggested change: Requested edit for Module:Road data/strings/JPN; .png files have been replaced with .svg versions. To view all the files, see Category:SVG expressway road signs of Japan on Commons. This is done in an effort to clean up Top 200 road sign images that should use vector graphics, also on Commons.

Diff:

"%route% Expressway (Japan).png",
+
"JP Expressway %route%.svg"

ReneeWrites (talk) 12:05, 6 August 2023 (UTC)[reply]