Misplaced Pages

Template talk:Infobox river: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 17:38, 30 June 2013 editRuhrfisch (talk | contribs)Administrators52,173 edits Geobox, again: reply, please answer my questions← Previous edit Latest revision as of 19:28, 24 November 2024 edit undoJoy (talk | contribs)Autopatrolled, Administrators144,148 edits redundant maps: fine-tune 
(724 intermediate revisions by 83 users not shown)
Line 1: Line 1:
{{Permanently protected}}
{{river}}
{{Talk page header}}
{{archives}}
{{WikiProject banner shell|
{{WikiProject Rivers}}
{{WikiProject Infoboxes}}
}}
{{User:MiszaBot/config
| algo = old(365d)
| archive = Template talk:Infobox river/Archive %(counter)d
| maxarchivesize = 100K
| archiveheader = {{Automatic archive navigator}}
| minthreadstoarchive = 2
| minthreadsleft = 5
| counter = 3
}}


== Unused parameters? ==
==Mouth and Source Coordinates==
Could a field be added to give the coordinates of the mouth, perhaps using the ] template? A field could also be added for the source coordinates using coord, useful if the source were not some other geographic feature already tagged with coordinates (EG not a lake). ] 01:28, 3 November 2007 (UTC)


* Should {{code|discharge1_(min / avg / max)_(imperial / metric)}} etc be removed / killed / expunged / deprecated? I found just '''four''' uses of any of these and changed them all to use {{TLX|convert}} instead — ] <sup>]</sup> 12:47, 5 November 2023 (UTC)
:Good idea! ] <sup>]</sup> 09:08, 3 November 2007 (UTC)
*: I have now removed all uses of {{para|discharge1_avg_imperial}} {{para|discharge1_avg_metric}} {{para|discharge1_max_imperial}} {{para|discharge1_min_imperial}}
*: Also {{para|mouth_elevation_imperial}} and {{para|mouth_elevation_metric}} — ] <sup>]</sup> 22:43, 7 November 2023 (UTC)
*::I have removed all of the metric and imperial parameters; they were used in maybe a dozen articles total and are clearly not needed. They haven't been in the documentation for a while, it appears. Please keep an eye on the unsupported parameter category for any articles that might have been missed. – ] (]) 01:52, 8 November 2023 (UTC)
*::: Awesome – and somewhat bolder than I would have managed! I will get busy with the 21 articles now flagged — ] <sup>]</sup> 12:28, 8 November 2023 (UTC)
*::: {{Y}} {{kitty}} — ] <sup>]</sup> 19:27, 8 November 2023 (UTC)
* Are the plain parameters {{code|discharge1 .. discharge5}} live (and so should be documented) / obsolete (and so should be discouraged) / deprecated (and so should be deleted)? — ] <sup>]</sup> 19:10, 5 November 2023 (UTC)
*:It sounds like you are asking if the parameter {{para|discharge1}} is a supported parameter in the template that affects the output of the infobox. If that is your question, the answer is yes, but only in a very few articles. It appears that the other four are unused. A helpful tip: to click on the monthly parameter usage report in the TemplateData section. Find the parameter in question, follow the "page links" link, and see how it is being used in articles. Doing these steps will take you to ] and other articles.
*:These five parameters should probably be deprecated and replaced in articles with {{para|discharge1_avg}}. – ] (]) 16:13, 6 November 2023 (UTC)
*::Mostly I was asking about policy: the removal or continued intended use of ''apparently obsolete'' parameters. I have edited the 7 articles using {{para|discharge1}} to now use something else — 4 to {{para|discharge1_avg}} and 3 to {{para|mouth}}. Please can we remove {{para|discharge1}} .. {{para|discharge5}} from the template? — ] <sup>]</sup> 22:46, 7 November 2023 (UTC)
*:::{{done}}. – ] (]) 01:46, 8 November 2023 (UTC)


== Additional image or map parameters ==
:The other river infobox {{tl|Geobox River}} has fields for source and mouth coordinates. You might consider converting the infobox for rivers you want to add coordinates to, to this other template. ] <sup>]</sup> 15:24, 30 November 2007 (UTC)


Are these available on this template, like on ] or ]? Trying to figure out if it is possible to include multiple maps in the infobox. See ]. <span style='color: #FFFFFF;background-color: #FFD700;font-color: #000000;'>]</span> <small>] ]</small> 16:06, 29 March 2024 (UTC)
Please see ]. ] (User:Pigsonthewing); ]; ] 12:06, 9 September 2008 (UTC)


@] I sandboxed that at ] here is an example output, note hidden map and shown map.
:The above linked discussion is now archived ]. related discussions are at ] and ]. --] (]) 11:38, 22 September 2012 (UTC)


{{Infobox river/sandbox
==Upgrade==
I went and upgraded the template so that it would convert to and from imperial/US and SI. I hadn't realised that it was being replaced with a new version. I'll document the upgrade but put a depreciated tag on the page. <span title="Representation in the International Phonetic Alphabet (IPA)" class="IPA">]<small><code>]</code><span class="Unicode">]</span></small>]</span> 05:37, 15 April 2008 (UTC)


| name = Seine
==Image size==
The discussion page notes the default image size of 288px. This is great for horizontal images, but too big (in my opinion) for tall ones. Any way to override the default? See my problem at: ] ] (]) 00:30, 11 September 2008 (UTC)
*I concur. This box is usefull but size is distracting. It dominates some articles I'm working on. ]<br /> Can one of you infobox gurus '''please add the operator: width=''' to control box size.<br />
Also same request for ]. Thanks ] (]) 18:38, 5 October 2008 (UTC)


| native_name = {{nativename|fr|la Seine}}
== Possibility of expanding to cope with German Misplaced Pages articles ==


| name_other =
German Misplaced Pages has its own equivalent of this infobox (but with a few more parameters). It would considerably aid the transfer of articles from de.wiki if there was an infobox on en.wiki which recognised the German field names and automatically translated them into English and I could quite easily create this. However that would mean a second infobox (called Infobox Fluss) with a similar purpose. However it should be possible to expand this one to cope with the German fields by using a redirect and adding the extra coding required. Obviously the German coding would not be noticed by articles created in English from scratch. Is there merit in doing this (I might need some help) or should I create a separate template? --] (]) 15:52, 22 March 2009 (UTC)
| name_etymology =
| image = Bercy, Paris 01.jpg
| image_size = 250
| image_caption = The Seine in ]
| map = {{Infobox mapframe |wikidata=yes |zoom=6 |frame-height=300 | stroke-width=2 |coord={{WikidataCoord|display=i}}|point = none|stroke-color=#0000FF |id=Q1471 }}
| map4 = {{hidden begin|title=Topographical map|ta1=center}}]{{hidden end}}
| map_size =
| map_caption =
| pushpin_map =
| pushpin_map_size = 250
| pushpin_map_caption=
| subdivision_type1 = Country
| subdivision_name1 = ]
| subdivision_type2 =
| subdivision_name2 =
| length = {{convert|777|km|mi|abbr=on}}
| width_min =
| width_avg =
| width_max =
| depth_min =
| depth_avg =
| depth_max =
| discharge1_location= ]
| discharge1_min =
| discharge1_avg = {{convert|560|m3/s|cuft/s|abbr=on}}
| discharge1_max =
| source1 =
| source1_location = ]
| source1_coordinates=
| source1_elevation =
| mouth = ] ({{langx|fr|la Manche}})
| mouth_location = ]/]
| mouth_coordinates = {{coord|49|26|02|N|0|12|24|E|display=inline,title}}
| mouth_elevation = {{convert|0|m|abbr=on}}
| progression =
| river_system = Seine basin
| basin_size = {{convert|79000|km2|abbr=on}}
| tributaries_left = ], ], ], ]
| tributaries_right = ], ], ], ], ]
}}
{{clear}}
<!-- Template:Unsigned --><small class="autosigned">—&nbsp;Preceding ] comment added by ] (] • ]) 29 March 2024 (UTC)</small>


: This proposal didn't attract any interest in the meantime. At the same time, it deviates from the by-now-conventional solution to ]. I'll go draft that instead. --] (]) 19:08, 27 October 2024 (UTC)
:It is possible to modify the Infobox River in order to use German infobox information. The same has been done for town infoboxes ({{tl|Infobox German location}}). Once that has been done, {{tl|Infobox Fluss}} can be a redirect to Infobox River. I see the German infobox has more fields than the English one, I'm not sure we need all that information. ] <sup>]</sup> 15:08, 23 March 2009 (UTC)


: Added that, and the above Seine testcase to ], and another few ones to demonstrate variety in execution based on different parameters. --] (]) 20:53, 27 October 2024 (UTC)
::Sounds cool! Although the German infobox does have more fields, in some cases they display two fields as one e.g. source name and coords are separated in the infobox but display together, whereas the English infobox sticks all the data in one field. The end effect is similar. --] (]) 20:55, 23 March 2009 (UTC)


==map zoom?==
Let me see which fields could be merged:
*NAME = river_name
*BILD = image_name
*EINZUGSGEBIET = watershed
*LÄNGE = length
*QUELLE = origin
*QUELLHÖHE = elevation_m
*MÜNDUNG = mouth
*MÜNDUNGSHÖHE = mouth_elevation_m
*ABFLUSSMENGE = discharge


@] could you have a look at - is it plausible to try to use {{tl|map zoom}} with length and basin size here? --] (]) 20:58, 27 October 2024 (UTC)
The other fields can't be used directly, but have to be translated or converted. ] <sup>]</sup> 18:11, 24 March 2009 (UTC)
:Sadly those won't work. {{tl|map zoom}} will only take numeric values with the correct units. {{para|length}} is a "free" parameter that the documentation expects a call to {{tl|convert}}. Same thing for {{para|basin_size}}.
:What would work is if you added {{para|length_km}} and {{para|basin_size_km2}}, but then you'd have to modify the template to accept those and existing infoboxes wouldn't have them. — ] (]) 23:17, 27 October 2024 (UTC)
::As we don't necessarily need much precision, could we just fake it for a start, e.g. is there some template/module that would extract the numeric part from free-form parameters? --] (]) 04:56, 28 October 2024 (UTC)
:::In the meantime this process continued with converting these template input dimensions in a way that can get passed automatically to the map template code, which then automagically fixes the mapframe zoom. I've been using ] for it and it's mostly simple, if tedious. --] (]) 21:32, 21 November 2024 (UTC)
:I've published the mapframe support in the infobox, with onbydefault it started showing up, and from the dozen examples I found, many had zoom issues. Obviously easy to work around on a case-by-case basis, but still a bit annoying. --] (]) 12:04, 1 November 2024 (UTC)


== Addition of discharge regime parameter ==
== Progression ==


Hi,
I've added a "progression" parameter; which can be seen in use on ] to describe the path taken by the waters of a river which is a tributary of one or more other rivers, and does not empty directly into a sea or lake. <span class="vcard"><span class="fn">]</span> (User:<span class="nickname">Pigsonthewing</span>); ]; ]</span> 10:26, 21 September 2009 (UTC)


I recently expanded the article about the ] (which was previously grouped with ]) to the point where it is not a stub anymore. I tried to decentralize it from the Alpine region where it is most commonly used and make it more globally balanced and I think now the article is developed to the point that a parameter for discharge regime could also be added to the infobox. I am thinking that the parameter would give just basic information about the regime, i.e. temperate pluvial, mediterranean, Texan, tropical pluvial/intertropical, equatorial, nival, nivo-glacial, glacial, nivo-pluvial, pluvio-nival, uniform, complex; and not all the subdivisions that are listed, maybe with addition of the month when the peak occurs, e.g. tropical pluvial (peak in September). What do you think? ] (]) 09:00, 15 May 2024 (UTC)
== River system ==
I've added a "river system" parameter, corresponding to the de.wiki "Flusssystem" one. So now German rivers at least can be easily updated. --] (]) 12:06, 6 October 2009 (UTC)


== Revision suggestions == == redundant maps ==
May I suggest some minor revisions to the template:
* Change "origin" to "source" since that is the generally accepted term for the start of a river
* Change "watershed" to "catchment area" or "drainage area", since watershed means different things to US and non-US geographers
* Change "basin countries" to "location" since, for large countries like USA, Russia or Germany, it is too vague. "Lower Saxony and Hesse, Germany" is a good location descriptor but they are not basin countries.
* Slightly increase the field name column, so that names with 2 words can still fit on one line and don't unduly extend the table
* Slightly increase the data column, so that a full coord can display on one line (see problem at ])
* Consider tweaking the format to include lines (as at ]) - looks neater IMHO.


This is a search that finds {{para|extra}} parameters that contain the start of a template transclusion syntax, as well as {{tl|infobox mapframe}}, which typically leads to now-redundant copies:
--] (]) 12:06, 6 October 2009 (UTC)


: https://en.wikipedia.org/search/?search=hastemplate%3A%22Infobox+river%22+insource%3A%2Fextra+%2A%3D+%2A%5C%7B%5C%7B%2F+hastemplate%3A%22Infobox+mapframe%22&title=Special:Search&profile=advanced&fulltext=1&ns0=1
== Geobox ==


--] (]) 16:13, 16 November 2024 (UTC)
I have proposed that we delete {{Tl|geobox}}. That may effect this templates. You are invited to particiapte in the ]. <span class="vcard"><span class="fn">]</span> (<span class="nickname">Pigsonthewing</span>); ]; ]</span> 22:56, 3 January 2012 (UTC)


== mapframe on by default even if pushpin map present? ==
== Geobox, again ==


We currently enable mapframe to be on by default only if no other maps are present. This logic was imported from other infobox templates.
It seems, from comparing the before and after version of {{Diff|River Tame, West Midlands|552434571|549929413|this edit}}, that {{tl|Geobox}} has more features for rivers than this template. I propose that we improve this template to match, then deprecate the river-specific instances of Geobox. Thoughts? <span class="vcard"><span class="fn">]</span> (<span class="nickname">Pigsonthewing</span>); ]; ]</span> 10:41, 30 June 2013 (UTC)

:'''Strongly oppose''' - what is the basis for deleting this functionality of Geobox (and I presume eventually the whole template)? What policy or even guideline says Misplaced Pages cannot have two similar but not identical templates? Why spend all the time and effort to change this template and then to replace Geoboxes in river articles, when we have a Geobox that already works well and (as you admit) does more than Infobox:River? By the way, glad to see that you are feeling better and back on WP Andy. ] ''']''' 15:03, 30 June 2013 (UTC)
Other uses of mapframe where a single map point is common often match pushpin maps, and the mapframe generally provides only a different default zoom and the zoom in/out functionality, etc.
::I seem to recall answering this question more than once previously. Perhaps you weren't one of those participating at the time. The rationale is to reduce the long-term maintenance overhead; unify the appearance and location of information in related articles for the convenience of our readers and data re-users, and to minimise confusion for editors. Conversely, what is the rationale for having two, different, templates for the same function? As for the work involved, feel free not to do any of it. Thank you for your kind words about my health. <span class="vcard"><span class="fn">]</span> (<span class="nickname">Pigsonthewing</span>); ]; ]</span> 15:45, 30 June 2013 (UTC)

::Oh wait, you were involved. Here's what you said: "if you want to get rid of Geobox, then 1) fix the infoboxes so they can do everything Geobox can, and 2) make sure it is as easy as possible to convert from one to the other, then ask again". That's exactly what I'm doing. It's already been done for mountains and mountain ranges, without fuss. <span class="vcard"><span class="fn">]</span> (<span class="nickname">Pigsonthewing</span>); ]; ]</span> 16:48, 30 June 2013 (UTC)
Rivers are rarely well defined by a single point, however, as there's always at least one source and at least one mouth. Accordingly, rivers are often defined by a line shape at OSM, not just a point, so a mapframe map can provide significantly more information compared to a general pushpin map.
:::Thanks for your reply. I have changed my mind (especially as I would have to do the work of updating the river articles I am the chief contributor to if this comes to pass). Misplaced Pages allows editors fairly wide leeway on how they do many different things here (please see ]). One example is that there are at least three different ways to cite references (with many similar but not identical templates). Are you going to "unify" those too?

:::Also, could you please answer my question "What policy or even guideline says Misplaced Pages cannot have two similar but not identical templates?" While you're at it, what policy or guideline says that we need to make life easier for our data re-users? This is a persistent theme in your posts Andy - do you have a conflict of interest? Are you being paid by any of these data re-users? Are you being paid to make things on WP more convenient? I am going to post about your proposal on the Geobox and Wikiproject Rivers talk pages (which I think you should have done already). ] ''']''' 17:38, 30 June 2013 (UTC)
Would anyone mind if we also enabled mapframe by default even if a pushpin map is present? --] (]) 17:05, 18 November 2024 (UTC)
:I think that is what {{para|mapframe|yes}} is for. It always helps to link to an example article. – ] (]) 15:59, 19 November 2024 (UTC)
::Well that's the problem - having to add an explicit mapframe=yes to tens of thousands of rivers is a chore, and probably a pointless one. We have so much busywork with these templates, if we could set a sensible default here it would relieve us of at least one bit of it. --] (]) 21:30, 21 November 2024 (UTC)
:::I think infoboxes are getting too long as it is: automatically adding mapframe to every article is going to produce thousands of articles with poor layout that we won't be able to check. Jonesey has it correct -- we can allow editor opt-in for mapframe, but shouldn't add it by default. — ] (]) 00:46, 22 November 2024 (UTC)

Latest revision as of 19:28, 24 November 2024

Template:Infobox river is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.

Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases.


This is the talk page for discussing improvements to the Infobox river template.
Archives: 1, 2, 3Auto-archiving period: 12 months 
This template does not require a rating on Misplaced Pages's content assessment scale.
It is of interest to the following WikiProjects:
WikiProject iconRivers
WikiProject iconThis template is within the scope of WikiProject Rivers, a collaborative effort to improve the coverage of Rivers on Misplaced Pages. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.RiversWikipedia:WikiProject RiversTemplate:WikiProject RiversRiver
WikiProject iconInfoboxes
WikiProject iconThis template is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Misplaced Pages. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.InfoboxesWikipedia:WikiProject InfoboxesTemplate:WikiProject InfoboxesInfoboxes

Unused parameters?

  • Should discharge1_(min / avg / max)_(imperial / metric) etc be removed / killed / expunged / deprecated? I found just four uses of any of these and changed them all to use {{convert}} instead — GhostInTheMachine 12:47, 5 November 2023 (UTC)
    I have now removed all uses of |discharge1_avg_imperial= |discharge1_avg_metric= |discharge1_max_imperial= |discharge1_min_imperial=
    Also |mouth_elevation_imperial= and |mouth_elevation_metric=GhostInTheMachine 22:43, 7 November 2023 (UTC)
    I have removed all of the metric and imperial parameters; they were used in maybe a dozen articles total and are clearly not needed. They haven't been in the documentation for a while, it appears. Please keep an eye on the unsupported parameter category for any articles that might have been missed. – Jonesey95 (talk) 01:52, 8 November 2023 (UTC)
    Awesome – and somewhat bolder than I would have managed! I will get busy with the 21 articles now flagged — GhostInTheMachine 12:28, 8 November 2023 (UTC)
    Green tickY GhostInTheMachine 19:27, 8 November 2023 (UTC)
  • Are the plain parameters discharge1 .. discharge5 live (and so should be documented) / obsolete (and so should be discouraged) / deprecated (and so should be deleted)? — GhostInTheMachine 19:10, 5 November 2023 (UTC)
    It sounds like you are asking if the parameter |discharge1= is a supported parameter in the template that affects the output of the infobox. If that is your question, the answer is yes, but only in a very few articles. It appears that the other four are unused. A helpful tip: to click on the monthly parameter usage report in the TemplateData section. Find the parameter in question, follow the "page links" link, and see how it is being used in articles. Doing these steps will take you to Escanaba River and other articles.
    These five parameters should probably be deprecated and replaced in articles with |discharge1_avg=. – Jonesey95 (talk) 16:13, 6 November 2023 (UTC)
    Mostly I was asking about policy: the removal or continued intended use of apparently obsolete parameters. I have edited the 7 articles using |discharge1= to now use something else — 4 to |discharge1_avg= and 3 to |mouth=. Please can we remove |discharge1= .. |discharge5= from the template? — GhostInTheMachine 22:46, 7 November 2023 (UTC)
     Done. – Jonesey95 (talk) 01:46, 8 November 2023 (UTC)

Additional image or map parameters

Are these available on this template, like on Template:Infobox settlement or Template:Infobox public transit? Trying to figure out if it is possible to include multiple maps in the infobox. See Misplaced Pages:Village_pump_(policy)#Preference_of_using_OpenStreetMaps. Shannon 16:06, 29 March 2024 (UTC)

@Shannon1 I sandboxed that at template:Infobox river/sandbox here is an example output, note hidden map and shown map.

Seine
The Seine in Paris
Native namela Seine (French)
Location
CountryFrance
Physical characteristics
Source 
 • locationSource-Seine
MouthEnglish Channel (French: la Manche)
 • locationLe Havre/Honfleur
 • coordinates49°26′02″N 0°12′24″E / 49.43389°N 0.20667°E / 49.43389; 0.20667
 • elevation0 m (0 ft)
Length777 km (483 mi)
Basin size79,000 km (31,000 sq mi)
Discharge 
 • locationLe Havre
 • average560 m/s (20,000 cu ft/s)
Basin features
River systemSeine basin
Tributaries 
 • leftYonne, Loing, Eure, Risle
 • rightOurce, Aube, Marne, Oise, Epte

— Preceding unsigned comment added by Hooman Mallahzadeh (talkcontribs) 29 March 2024 (UTC)

This proposal didn't attract any interest in the meantime. At the same time, it deviates from the by-now-conventional solution to Misplaced Pages:Mapframe maps in infoboxes. I'll go draft that instead. --Joy (talk) 19:08, 27 October 2024 (UTC)
Added that, and the above Seine testcase to Template:Infobox river/testcases, and another few ones to demonstrate variety in execution based on different parameters. --Joy (talk) 20:53, 27 October 2024 (UTC)

map zoom?

@Hike395 could you have a look at - is it plausible to try to use {{map zoom}} with length and basin size here? --Joy (talk) 20:58, 27 October 2024 (UTC)

Sadly those won't work. {{map zoom}} will only take numeric values with the correct units. |length= is a "free" parameter that the documentation expects a call to {{convert}}. Same thing for |basin_size=.
What would work is if you added |length_km= and |basin_size_km2=, but then you'd have to modify the template to accept those and existing infoboxes wouldn't have them. — hike395 (talk) 23:17, 27 October 2024 (UTC)
As we don't necessarily need much precision, could we just fake it for a start, e.g. is there some template/module that would extract the numeric part from free-form parameters? --Joy (talk) 04:56, 28 October 2024 (UTC)
In the meantime this process continued with converting these template input dimensions in a way that can get passed automatically to the map template code, which then automagically fixes the mapframe zoom. I've been using WP:JWB for it and it's mostly simple, if tedious. --Joy (talk) 21:32, 21 November 2024 (UTC)
I've published the mapframe support in the infobox, with onbydefault it started showing up, and from the dozen examples I found, many had zoom issues. Obviously easy to work around on a case-by-case basis, but still a bit annoying. --Joy (talk) 12:04, 1 November 2024 (UTC)

Addition of discharge regime parameter

Hi,

I recently expanded the article about the discharge regime (which was previously grouped with river regime) to the point where it is not a stub anymore. I tried to decentralize it from the Alpine region where it is most commonly used and make it more globally balanced and I think now the article is developed to the point that a parameter for discharge regime could also be added to the infobox. I am thinking that the parameter would give just basic information about the regime, i.e. temperate pluvial, mediterranean, Texan, tropical pluvial/intertropical, equatorial, nival, nivo-glacial, glacial, nivo-pluvial, pluvio-nival, uniform, complex; and not all the subdivisions that are listed, maybe with addition of the month when the peak occurs, e.g. tropical pluvial (peak in September). What do you think? Garygo golob (talk) 09:00, 15 May 2024 (UTC)

redundant maps

This is a search that finds |extra= parameters that contain the start of a template transclusion syntax, as well as {{infobox mapframe}}, which typically leads to now-redundant copies:

https://en.wikipedia.org/search/?search=hastemplate%3A%22Infobox+river%22+insource%3A%2Fextra+%2A%3D+%2A%5C%7B%5C%7B%2F+hastemplate%3A%22Infobox+mapframe%22&title=Special:Search&profile=advanced&fulltext=1&ns0=1

--Joy (talk) 16:13, 16 November 2024 (UTC)

mapframe on by default even if pushpin map present?

We currently enable mapframe to be on by default only if no other maps are present. This logic was imported from other infobox templates.

Other uses of mapframe where a single map point is common often match pushpin maps, and the mapframe generally provides only a different default zoom and the zoom in/out functionality, etc.

Rivers are rarely well defined by a single point, however, as there's always at least one source and at least one mouth. Accordingly, rivers are often defined by a line shape at OSM, not just a point, so a mapframe map can provide significantly more information compared to a general pushpin map.

Would anyone mind if we also enabled mapframe by default even if a pushpin map is present? --Joy (talk) 17:05, 18 November 2024 (UTC)

I think that is what |mapframe=yes is for. It always helps to link to an example article. – Jonesey95 (talk) 15:59, 19 November 2024 (UTC)
Well that's the problem - having to add an explicit mapframe=yes to tens of thousands of rivers is a chore, and probably a pointless one. We have so much busywork with these templates, if we could set a sensible default here it would relieve us of at least one bit of it. --Joy (talk) 21:30, 21 November 2024 (UTC)
I think infoboxes are getting too long as it is: automatically adding mapframe to every article is going to produce thousands of articles with poor layout that we won't be able to check. Jonesey has it correct -- we can allow editor opt-in for mapframe, but shouldn't add it by default. — hike395 (talk) 00:46, 22 November 2024 (UTC)
Categories: