Template talk:Infobox weapon
Template:Infobox weapon 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 weapon template. |
|
Archives: 1Auto-archiving period: 90 days |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||||||||||||||||||||
|
Layout for self-propelled guns
[edit]Self-propelled guns fall into both afv=yes and artillery=yes. Please see the example infobox in T28 Super Heavy Tank.
Can we rearrange the layout a bit so that these two work better together? Specifically, the primary_armament field should be shown at the top of the arty specifications section (within the horizontal rules). I suppose secondary_armament should immediately follow that section, but perhaps armour belongs after that, so it is not separated from the rest of the vehicle specs.
Some of the relevant fields, i.e. barrels, range, max_range, elevation and traverse, might also be useful for tanks or other AFVs in general, and are commonly found in references. Perhaps these should be available when afv=yes? —Michael Z. 2008-10-08 23:12 z
- And should we mention in the docs that both afv and artillery can be set to “yes”? —Michael Z. 2008-10-08 23:23 z
Full-width image
[edit]It's always bothered me that the image is just a few pixels narrower than the steel-blue header bars (a compliant 300px image is 5 pixels narrower, and has a visible margin of 2 px on the left and 3 px on the right). The uneven white margins looks like a mistake.
I made up a demo of an improved version—compare:
This requires some minor changes:
- {{WPMILHIST Infobox style}}: add
cellpadding=0
tomain_box
- {{WPMILHIST Infobox style}}: add
padding-top:1px; padding-bottom:1px
toimage_box
andimage_box_plain
- {{WPMILHIST Infobox style}}: add
padding:1px;
toheader_bar
- In articles: insert images at 305 px wide
For pixel-perfect reproduction of the old style, the simplest solution would be to add padding:1px;
to every tr
, instead of adding it to some table cells. Most efficiently done in a stylesheet rather than in the template.
My demo code is at User:Mzajac/Template:WPMILHIST Infobox style.
Any comments about or objections to this change? —Michael Z. 2008-10-26 21:06 z
Template-protected edit request on 12 November 2023
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I would like to add several elements to this Infobox:
- Developed from
- Developed into
- Predecessor
- Successor
If we take for example the Canadian armoured vehicles LAV, all evolve from each other, and some replace each other. The LAV III replaced the LAV. The LAV 6 replaces the LAV. They also take their origin from the Mowag Piranha family, and were also developed into the ASLAV, the Stryker, the LAV 700.
There are so many weapons that were an evolution from another vehicle, it would help to get with the 4 bullet points a better understanding for the context of the existence of the vehicle in a very concise manner. Fabrice Ram (talk) 08:36, 12 November 2023 (UTC)
- Not done for now: @Fabrice Ram: Thank you for the suggestion. This sounds like a useful addition to the template - could you add your suggested code to Template:Infobox weapon/sandbox? When you have added it and checked that it works as expected, please reactivate the edit request. Also, it would probably be a good idea to advertise this discussion at the relevant WikiProjects to see if anyone has feedback on your suggestion. (There should be a consensus for the change you are proposing, although an absence of discussion here after a few days can also be a kind of consensus.) Best — Mr. Stradivarius ♪ talk ♪ 14:03, 12 November 2023 (UTC)
- I came here to make this recommendation and will instead bump/second Fabrice's recommendation. The Wikipedia Aircraft infobox (here) has this as well and it really helps with navigating through various derivations, variations, and developments. Would definitely help with the AK family, missiles, and various other systems. Fabrice, if you were looking for the source code to base your proposal on, I would refer to what I tagged earlier. Bumbliciousness (talk) 01:42, 26 February 2024 (UTC)
- What does predecessor/ successor mean in this context? Those are not fields in the in Aircraft infobox and sound more like something I would expect in an navbox than a summary infobox GraemeLeggett (talk) 10:07, 26 February 2024 (UTC)
- Done * Pppery * it has begun... 15:17, 25 May 2024 (UTC)
Template-protected edit request on 5 March 2024
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change primary_weapon and secondary_weapon in documentation to primary_armament and secondary_armament . It appears that the code was changed in (hard to believe...) 2011 but the docs were never updated. Zaathras (talk) 03:35, 5 March 2024 (UTC) Zaathras (talk) 03:35, 5 March 2024 (UTC)
- Not done:
{{edit template-protected}}
is usually not required for edits to the documentation or categories of templates using a documentation subpage. Use the 'edit' link at the top of the green "Template documentation" box to edit the documentation subpage. — Martin (MSGJ · talk) 07:22, 5 March 2024 (UTC)
- NA-Class Firearms articles
- NA-importance Firearms articles
- WikiProject Firearms articles
- Template-Class military history articles
- Template-Class military land vehicles articles
- Military land vehicles task force articles
- Template-Class military science, technology, and theory articles
- Military science, technology, and theory task force articles
- Template-Class weaponry articles
- Weaponry task force articles
- Template-Class Rocketry articles
- NA-importance Rocketry articles
- WikiProject Rocketry articles