Open main menu

Template talk:Infobox military person


Set width_style to person by default?Edit

Hello. Please forgive my continued suggestions, but this is one of the templates I use most frequently.

There's a parameter a lot of people presumably aren't aware of: |width_style=; since it's not mentioned on the documentation page. It controls the infobox's width, naturally. By default, it's set to main_box_raw, which makes the infobox as wide as a military conflict infobox. This by itself is fine because a wider infobox doesn't create as many text wrapping issues as it otherwise may have. On the other hand, I have always felt this infobox's default width looks weird in comparison to other biography/person infoboxes, and frequently apply |width_style=person when opportunity permits.

I'm not that well versed in template coding, but the code pertaining to the width is found at the top of the template's source code:

| bodystyle    = {{WPMILHIST Infobox style|{{#switch:{{{width_style|}}}|narrow|person|auto=main_box_raw_auto_width|wide|military|#default=main_box_raw}}}}

I did a little research beforehand, but did not manage to find any previous discussion on this subject. Forgive my ignorance if the current default width was previously agreed upon. Thank you. Jay D. Easy (talk) 23:14, 21 December 2018 (UTC)

The documentation is not protected. You are welcome to edit it. What the code above says, as far as I can tell, is that if |width_style= is set to "narrow" or "person" or "auto", the width is set to "main_box_raw_auto_width". Otherwise, it is set to "main_box_raw". – Jonesey95 (talk) 23:25, 21 December 2018 (UTC)
That is actually what I was already doing before I canceled my edit and figured I could just as well put in this request. Jay D. Easy (talk) 07:10, 22 December 2018 (UTC)


Frietjes, I asked for this change last year as a non-controversial (because it made no actual change to rendered version) way to fix over 400 articles in Category:Infobox military person image param needs updating. It appears that project editors feel an infobox should not contain both images, per this discussion and a prior one I saw on the same page. So |medal= can either be deprecated, or perhaps displayed only if |image= has no value. MB 15:41, 20 January 2019 (UTC)

MB, okay, I made two edits: (1) added a tracking category Category:Pages using infobox military person with both image and medal which will take time to fill up, and (2) modified the logic so only of the two will show, with image taking precedence. if suppressing the medal is controversial, someone can revert the second edit. Frietjes (talk) 15:58, 20 January 2019 (UTC)

Discussion regarding the use of infobox criminal for military personnelEdit

There is a discussion regarding the use of infobox criminal for military personnel here in case anyone is interested. Cheers, Peacemaker67 (click to talk to me) 02:46, 8 February 2019 (UTC)

Proposed additional parametersEdit

I propose adding |alma_mater= and |education= to this infobox. There are other "personal" parameters in this infobox (eg |spouse=), so two more wouldn't be out of place. Gaia Octavia Agrippa Talk 00:17, 15 March 2019 (UTC)

Informal spies?Edit

What about people who are not part of the military per se, but agreed to spy for some cause such as Victor Martin for the Belgian resistance during World War II? On his Talk page, the military task force was involved from the Biography WikiProject, but he was also an academic. Thanks to anybody who can follow up on this, both on his page and in the guidelines on this template's documentation page if firm guidelines can be set. Unfortunately, my real life limitations force me to just leave this here. —Geekdiva (talk) 12:19, 18 July 2019 (UTC)

Return to "Infobox military person" page.