Template talk:Infobox bridge
Template:Infobox bridge 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. |
Infoboxes | ||||
|
Bridges and Tunnels NA‑class | |||||||
|
|
||
This page has archives. Sections older than 100 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
mapframe_* parameters
Are these valid or not, I don't see them in the main part of the template?Naraht (talk) 17:13, 9 September 2022 (UTC)
- Yes, they are part of header85, as part of #invoke:Infobox mapframe. ɱ (talk) 17:16, 9 September 2022 (UTC)
- It appears that it still makes them go to Category:Pages using infobox bridge with unknown parameters. For example, Sarah Mildred Long Bridge has mapframe_zoom = 13 as one of the parameters. It shows up as an error in the preview and is in the unknown parameters cat.Naraht (talk) 17:34, 9 September 2022 (UTC)
- The correct parameter was
|mapframe-zoom=
(note the hyphen). – Jonesey95 (talk) 18:15, 9 September 2022 (UTC)- I'll set to a regex to change parameters that are mapframe_ to mapframe- and rerun. Not sure that will get rid of a *huge amount*, but a start.Naraht (talk) 18:46, 9 September 2022 (UTC)
- Good call. Please check Category:Pages using duplicate arguments in template calls when you are done, in case there was already a mapframe-* parameter present. – Jonesey95 (talk) 19:01, 9 September 2022 (UTC)
- I'll set to a regex to change parameters that are mapframe_ to mapframe- and rerun. Not sure that will get rid of a *huge amount*, but a start.Naraht (talk) 18:46, 9 September 2022 (UTC)
- The correct parameter was
- It appears that it still makes them go to Category:Pages using infobox bridge with unknown parameters. For example, Sarah Mildred Long Bridge has mapframe_zoom = 13 as one of the parameters. It shows up as an error in the preview and is in the unknown parameters cat.Naraht (talk) 17:34, 9 September 2022 (UTC)
Complete
At this moment Category:Pages using infobox bridge with unknown parameters is emptyNaraht (talk) 04:04, 11 September 2022 (UTC)
- Nicely done. Thanks for this gnoming. – Jonesey95 (talk) 16:17, 11 September 2022 (UTC)
refs=
No documentation in the article about the usage of refs=, so assuming a standard ref and cite template would work in the field. The template validates but doesnt show the reference. Referring to Frank J. Wood Bridge Jake-jakubowski (talk) 19:38, 22 September 2022 (UTC)
- I may be wrong, but I think giving references for data in infoboxes is largely deprecated these days. It is better to provide the reference for the fact in the body of the article. — Martin (MSGJ · talk) 19:46, 22 September 2022 (UTC)
- Gotcha, thank you! Jake-jakubowski (talk) 19:54, 22 September 2022 (UTC)
Template-protected edit request on 18 February 2023
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change | label59 = Electrified to link to Railway electrification --- Tbf69 P • T 10:24, 18 February 2023 (UTC)
- Not edited in accord with WP:NOTBROKEN editing guideline. Thank you very much for your contributions! P.I. Ellsworth , ed. put'er there 16:38, 18 February 2023 (UTC)
- The request was a cleanup from a move, hence isn't limited by WP:NOTBROKEN. --- Tbf69 P • T 17:03, 18 February 2023 (UTC)
- Good catch and thanks for the reminder (WP:DOFIXIT) – and edited. P.I. Ellsworth , ed. put'er there 18:04, 18 February 2023 (UTC)
- Thank you! --- Tbf69 P • T 18:09, 18 February 2023 (UTC)
- my pleasure! Paine 18:23, 18 February 2023 (UTC)
- Thank you! --- Tbf69 P • T 18:09, 18 February 2023 (UTC)
- Good catch and thanks for the reminder (WP:DOFIXIT) – and edited. P.I. Ellsworth , ed. put'er there 18:04, 18 February 2023 (UTC)
- The request was a cleanup from a move, hence isn't limited by WP:NOTBROKEN. --- Tbf69 P • T 17:03, 18 February 2023 (UTC)
fetchwikidata=ALL appears to return subset of data
I'm relatively new to editing, so I apologize if I'm simply misapprehending the relevant parameters.
Generating an infobox with the following markup appears to return a subset of the data available. For example, it appears that the Wikidata page for Akashi Kaikyō Bridge (Q184213) includes "crosses" (Akashi Strait) and "carries" (Japan National Route 28 and Kobe-Awaji-Naruto Expressway) values, for example.
{{Infobox bridge | qid = Q184213 | fetchwikidata = ALL }}
Infobox bridge | |
---|---|
Coordinates | 34°36′59″N 135°01′13″E / 34.6164°N 135.0203°E |
Website | www |
Location | |