Template talk:Infobox river
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: 365 days |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
Topographic maps
editIt would be ideal if this infobox had a parameter for topographic maps as there is for {{Infobox mountain}}. Volcanoguy 04:18, 1 October 2023 (UTC)
- Wouldn't most notable rivers cross more than one 1:25000 topographic map? Would it be a list of topo maps? — hike395 (talk) 14:17, 1 October 2023 (UTC)
- It would probably be a big list for major rivers (which I don't recommend) but the same could be said for major mountain ranges (e.g. Rockies, Andes, Alps). There's a lot of articles about small rivers and creeks that would appear on only one to a couple topo maps. Volcanoguy 19:36, 1 October 2023 (UTC)
- I normally use {{Break}} for listing topo maps in {{Infobox mountain}} as can be seen in Mount Edziza volcanic complex. Volcanoguy 21:19, 1 October 2023 (UTC)
Documentation
editThe template uses and the Check for unknown parameters
call checks for 152 parameters. The template data listed 135 of these and I have imported the 17 extras. However, there are no template data descriptions at all and the Parameter names and descriptions
section described just 59 60 62 parameters. I am reluctant to add missing parameters without a suitable description, but will attempt to add ones I do understand. Please review my descriptions and add more — GhostInTheMachine talk to me 11:08, 5 November 2023 (UTC)
Parameter names and descriptions
section
-
source2..5
etc ⇒ 88/152 — GhostInTheMachine talk to me 11:42, 5 November 2023 (UTC) -
discharge2_* .. 5_*
⇒ 104/152 — GhostInTheMachine talk to me 13:15, 5 November 2023 (UTC)
Unused parameters?
edit- 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 talk to me 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 talk to me 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 talk to me 12:28, 8 November 2023 (UTC)
- — GhostInTheMachine talk to me 19:27, 8 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)
- I have now removed all uses of
- 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 talk to me 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 talk to me 22:46, 7 November 2023 (UTC)- Done. – Jonesey95 (talk) 01:46, 8 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
- It sounds like you are asking if the parameter
Additional image or map parameters
editAre 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 Wikipedia:Village_pump_(policy)#Preference_of_using_OpenStreetMaps. Shannon [ Talk ] 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 | |
---|---|
Native name | la Seine (French) |
Location | |
Country | France |
Physical characteristics | |
Source | |
• location | Source-Seine |
Mouth | English Channel (French: la Manche) |
• location | Le Havre/Honfleur |
• coordinates | 49°26′02″N 0°12′24″E / 49.43389°N 0.20667°E |
• elevation | 0 m (0 ft) |
Length | 777 km (483 mi) |
Basin size | 79,000 km2 (31,000 sq mi) |
Discharge | |
• location | Le Havre |
• average | 560 m3/s (20,000 cu ft/s) |
Basin features | |
River system | Seine basin |
Tributaries | |
• left | Yonne, Loing, Eure, Risle |
• right | Ource, Aube, Marne, Oise, Epte |
— Preceding unsigned comment added by Hooman Mallahzadeh (talk • contribs) 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 Wikipedia: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?
edit@Hike395 could you have a look at [1] - 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)
- 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
editHi,
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)