Module talk:Infobox military conflict
This is the talk page for discussing improvements to the Infobox military conflict module. |
|
Archives: 1, 2, 3, 4, 5Auto-archiving period: 3 months ![]() |
![]() | Module:Infobox military conflict is permanently protected from editing because it is a heavily used or highly visible module. 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.
|
![]() | Military history Template‑class ![]() | ||||||||||||||||||
|
Useful links
- Link to Template:Infobox military conflict
- Link to Template:Infobox military conflict/doc (Documentation)
- Link to Template:Infobox military conflict/testcases (Testcases)
Related pages |
---|
|
|||||
This page has archives. Sections older than 90 days may be automatically archived by ClueBot III when more than 5 sections are present. |
stray carriage return?
When implemented, why is there a gap between |place=
and |coordinates=
? — Fourthords | =Λ= | 18:33, 14 November 2019 (UTC)
Coordinates
Can we please make sure that from now on display coordinates are shown as 'INLINE' only. 'TITLE' use is now redundant especially on mobile and tablet formats/browsers.
coord|38|06|35.0|N|15|38|31.3|E|type:event_scale:10000_region:IT|display=inline
Regards. Eastfarthingan (talk) 15:55, 16 January 2020 (UTC)
- Thanks I've amended my template. Keith-264 (talk) 19:59, 17 January 2020 (UTC)
Bug involving the creation of an extra blank line
In the infobox of the Siege of Najaf (1918), there is a blank line between "Location: Najaf" and "Result: British victory". This does not happen in Afghan tribal revolts of 1944–1947. I am confident that this is a bug and should be fixed. Koopinator (talk) 07:38, 5 February 2020 (UTC)
Number of belligerents
I think we should have a serious discussion on whether to have four columns for belligerents because of how it is used in Template:Syrian Civil War infobox and the Mexican Drug War. In the case of the former, the infobox is too wide and negatively affects the lead in Syrian Civil War; in the case of the latter, the infobox is too narrow and usually only one word can be fit in each line for the belligerents. Jay Coop · Talk · Contributions 22:14, 7 February 2020 (UTC)
- I think it works in the latter case, but not in the former. I don't think deprecating four columns is necessary, just that the infobox must not be so wide. That is a formatting issue, surely? Peacemaker67 (click to talk to me) 04:53, 8 February 2020 (UTC)
- Well, the question becomes: how do you balance having four columns while not negatively impacting the formatting? Jay Coop · Talk · Contributions 07:19, 8 February 2020 (UTC)
- Some uses of the infobox have resolved this by not using all four columns and instead listing information both side by side and in a few columns. See e.g. Second Congo War. The larger issue is why people are trying to cram all sorts of minutiae in the infobox that doesn't appear in the article. Template:Syrian Civil War infobox has more than a hundred references, when it should be based on what's already sourced in prose. It also includes collapsed lists against the advice at MOS:DONTHIDE (if it's not important enough to be shown, is it really important enough to be included at all?) – Finnusertop (talk ⋅ contribs) 14:16, 19 February 2020 (UTC)
- Well, the question becomes: how do you balance having four columns while not negatively impacting the formatting? Jay Coop · Talk · Contributions 07:19, 8 February 2020 (UTC)
How to add a historical locator map
I would like to add a historical locator map to battle of Hel, just like you can see on pl:Obrona Helu, but can't figure out the code. Could someone help with that? I should be able to do it myself in the future once I see the working code. TIA! PS. Polish wiki uses the pl:Szablon:Wojna infobox template, if you need the code. --Piotr Konieczny aka Prokonsul Piotrus| reply here 03:48, 11 March 2020 (UTC)
- Piotrus, For best results, create a new location module for Poland 1939, just like we have Module:Location map/data/Germany 1937. I did this myself a while back so I may be able to help. It looks like the plwiki map your are looking for is probably in pl:Kategoria:Szablony map.
- You can also hack it (see Leitmeritz concentration camp for an example]]), but a Poland 1939 map would be much more valuable overall. buidhe 00:32, 22 March 2020 (UTC)
- @Buidhe: Thanks. I found the maps of Poland user for that purpose on pl wiki here: pl:Moduł:Mapa/dane/Polska. Interesting how this doesn't have an en wiki interwiki? Anyway, I also found we already have Module:Location map/data/Poland 1939. Now, what's the best way of integrating this into this infobox? Or should it be used as a stand-alone box? --Piotr Konieczny aka Prokonsul Piotrus| reply here 01:55, 22 March 2020 (UTC)
- Piotrus, {{Infobox military conflict}} has parameters for adding a location map, which is automatically filled in with coordinates. If that doesn't work, you can try
| image_map ={{Location map...
as I did at Transport of Białystok children or you can inject {{location map}} and its variants directly into the infobox without a parameter. buidhe 02:00, 22 March 2020 (UTC)- I think I got it to work, thanks! Also ping User: Gog the Mild. See [1]. --Piotr Konieczny aka Prokonsul Piotrus| reply here 02:08, 22 March 2020 (UTC)
- Piotrus, ah ha! Thanks. (Looks good.) Gog the Mild (talk) 12:48, 22 March 2020 (UTC)
- I think I got it to work, thanks! Also ping User: Gog the Mild. See [1]. --Piotr Konieczny aka Prokonsul Piotrus| reply here 02:08, 22 March 2020 (UTC)
- Piotrus, {{Infobox military conflict}} has parameters for adding a location map, which is automatically filled in with coordinates. If that doesn't work, you can try
- @Buidhe: Thanks. I found the maps of Poland user for that purpose on pl wiki here: pl:Moduł:Mapa/dane/Polska. Interesting how this doesn't have an en wiki interwiki? Anyway, I also found we already have Module:Location map/data/Poland 1939. Now, what's the best way of integrating this into this infobox? Or should it be used as a stand-alone box? --Piotr Konieczny aka Prokonsul Piotrus| reply here 01:55, 22 March 2020 (UTC)
Template-protected edit request on 17 June 2020
![]() | It is requested that an edit be made to the template-protected module at Module:Infobox military conflict. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
Invoked with the status argument seems to cause an extra paragraph tag to be output for that status; see "Ongoing" in Indo-Pakistani wars and conflicts and 2020 China–India skirmishes. The extra padding/margin caused by this means misalignment with the "Status" header.
The status should be output without the <p> tag. 89.107.6.24 (talk) 01:13, 17 June 2020 (UTC)
- Note to template editors: this happens only in certain situations. The Mediawiki parser wraps the word "Ongoing" in
<p>...</p>
tags when it is followed by a bulleted list, but not when it is alone. Paste and modify the infobox from Indo-Pakistani wars and conflicts into Special:ExpandTemplates to see the HTML output. – Jonesey95 (talk) 13:28, 17 June 2020 (UTC) - Seems to affect quite a few templates, e.g. Afghanistan conflict (1978–present) ProcrastinatingReader (talk) 14:38, 18 June 2020 (UTC)
Template-protected edit request on 18 June 2020
![]() | It is requested that an edit be made to the template-protected module at Module:Infobox military conflict. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
CSS fix for the above issue. Making a separate request to separate this proposed fix from the issue, in case a different fix is desired.
At a glance the issue looks like one with the MediaWiki parser. The easiest solution seems to be a CSS fix. It applies to the direct first 'p' child of status to avoid any problems, and if any individual templates have a manual 'p' element as the first child and want their own styling (which would be unusual, contextually speaking) that won't cause issues as that would override with specificity.
Updated templates:
Courtesy reminder to update to use the live styles.css, if you merge this change. ProcrastinatingReader (talk) 14:38, 18 June 2020 (UTC)