Module talk:Road data

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Road data/extra)

Wikidata[edit]

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[edit]

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[edit]

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[edit]

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: Add Danish road sign icons to /extra[edit]

Please add the following to the /extra subpage, in order to add relevant Danish road signs:

  • In the extra.ferry section, below line 39 (CHL = "Chile IS-14b.svg",) add a new line with DNK = "Denmark road sign M11.svg",
  • In the extra.airport section, below line 81 (CHL = "Chile IS-11b.svg",) add a new line with DNK = "Denmark road sign M12.svg",

See diff in sandbox /AB-me (t) 11:58, 18 November 2023 (UTC)[reply]

 Done tyvm for the line numbers!! SWinxy (talk) 21:11, 18 November 2023 (UTC)[reply]