Open main menu

Template talk:Infobox military installation

Active discussions
WikiProject Military history (Rated Template-Class)
MILHIST This template is within the scope of the Military history WikiProject. If you would like to participate, please visit the project page, where you can join the project and see a list of open tasks. To use this banner, please see the full instructions.
Temp Templates and modules do not require a rating on the quality assessment scale.

Coordinates problemEdit

There are a lot of articles with script errors. That seems to have been triggered by a recent edit to this template. Consider Marmion Tower for example. It uses Template:Infobox Military Structure which is a redirect to Template:Infobox military installation. The infobox in the article contains the following which also shows the result from Special:ExpandTemplates.

|coordinates = {{gbmapping|SE266787}}

{{gbmapping|SE266787}} → [[Ordnance Survey National Grid|grid reference]] <span style="white-space: nowrap" class="plainlinks nourlexpansion">[ SE266787]</span>[[Category:Articles with OS grid coordinates]]

@Jonesey95: Any thoughts on what should be done? I have no idea what {{gbmapping}} is supposed to output but the above clearly won't work for coordinates. Marmion Tower has another coordinates problem, namely it has latitude and longitude values in the infobox, and {{coord}} in external links. A fair bit of work by someone who understands coordinates is needed—sorry that I won't be much use for that. Johnuniq (talk) 09:27, 14 December 2016 (UTC)

First thing first - undo the edit. Then someone else can sort the problem out at leisure. But that the template is a redirect is not the problem (I tested that). GraemeLeggett (talk) 10:18, 14 December 2016 (UTC)
I have worked around the problem for now. All of those articles should no longer be showing script errors, and the maps should be visible. – Jonesey95 (talk) 15:39, 14 December 2016 (UTC)
Thanks, it looks good. Johnuniq (talk) 00:47, 15 December 2016 (UTC)

Feature requestEdit

I would like to request a feature where we can embed this template as a child into other templates. Currently we can embed things into this template with |module = but I do not see that it is possible the other way around. The case for embedding this is military installations that are decommissioned and turned into parks or museums, it would make sense to have this as a child template.--Cs california (talk) 08:10, 16 April 2017 (UTC)

Cs california, I added the optional |embed=yes. please let me know if you use this somewhere in case we want to tweak the resulting output (i.e., adding an additional heading or divider something). Frietjes (talk) 14:44, 15 May 2017 (UTC)
Frietjes thanks I will try it out--Cs california (talk) 06:35, 16 May 2017 (UTC)
Ok just tested here: Fort Funston, Everything displays fine except for one field | ensign = There is also an issue distinguishing the box out as in Fort Cronkhite, maybe some kind of header indicating it is a military installation. Not sure what is the best way to feature this section in the infobox.--Cs california (talk) 07:24, 16 May 2017 (UTC)
Cs california, I made some changes. we can add a default header, like "military installation" if you think it's useful. for now, it will add a thin divider in the case when the |name= and |ensign= are both empty. by the way your ping didn't work since you didn't ping and sign at the same time, but I was watching the page, so I saw your comments :) Frietjes (talk) 13:03, 16 May 2017 (UTC)
Cool looks a lot better thanks -Cs california (talk) 08:27, 19 May 2017 (UTC)

I'm confused about the change to the fate parameterEdit

I suspect that documentation about the fate parameter (which seems to have been a change from the demolished parameter) is missing or out of step. Hopefully I have guessed its use correctly as evidenced by my edit to Koknese Castle. Also, the documentation of the used parameter is unclear, as it only makes sense to me if I use Template:Age rather than Template:End date for its value as given in the full parameter list (I also "fixed" this in my same edit). Can someone clear this up for me please, even though it's nothing major? My Gussie (talk) 01:54, 19 May 2018 (UTC)

Return to "Infobox military installation" page.