Content deleted Content added
m Archiving 1 discussion(s) from Module talk:Wd) (bot |
m Archiving 1 discussion(s) from Module talk:Wd) (bot |
||
Line 1,339:
::@[[User:Jonesey95|Jonesey95]], thanks for the reply; I'll look into converting to [[Module:WikidataIB]] there. The particular use case that prompted me to ask here was the first sentence of {{section link|Pomona College|Student body}}, where the number of students is used in the prose, so just blanking isn't an option. When I was updating [[wikidata:Q7227384#P2196|the data]] for this semester on Wikidata, I tried waiting a moment to add the reference for the new data, hoping that I'd configured the <code>single</code> flags (or whatever it is I need to be configuring; perhaps I need to only allow <code>preferred</code>-ranked data?) well enough that it would identify that a reference is missing. But it just spit out all the references for the old data instead. The flags are a confusing enough part of the template that I just haven't been able to get them to work quite right. <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}}</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 05:41, 4 October 2023 (UTC)
::As far as I know WikidataIB does not yet display any references — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 09:06, 4 October 2023 (UTC)
== Adding names to the coordinates list ==
I'm using {{tl|GeoGroup}} on [[Misty Range]] where I pull the coordinates into the table of mountains using {{tl|wikidata}}:
<br/>e.g. <nowiki>{{wikidata | property | page=Mount Rae | linked | coord}}</nowiki> <br/>That works fine but when I click the OpenStreetMap link, the coordinates list on the left is showing "#1", "#2", "#3", "#4" for the names/labels for each coordinate. If you call {{tl|coord}} directly and pass the ''name'' parameter, then OSM will display that name rather than "#1". However, I don't see how can set the coordinates name when I'm using {{tl|wikidata}} to extract the coordinates. [[User:RedWolf|RedWolf]] ([[User talk:RedWolf|talk]]) 22:10, 4 September 2023 (UTC)
:{{ping|RedWolf}} From a quick look at the source code of the module, it seems that is doesn't implement named coordinates. [[User:Janhrach|Janhrach]] ([[User talk:Janhrach|talk]]) 13:55, 14 September 2023 (UTC)
:*Thanks. I wonder if we could add a new named argument such as "coords_title" and then modify Config:getValue() to append this argument (if given) to the URL it builds when datatype = 'globecoordinate'. [[User:RedWolf|RedWolf]] ([[User talk:RedWolf|talk]]) 17:19, 23 September 2023 (UTC)
*I have created [[Module:Titled_coords]] and its helper template {{tl|Titled_coords}} to address this issue. [[User:RedWolf|RedWolf]] ([[User talk:RedWolf|talk]]) 21:33, 20 October 2023 (UTC)
|