Template talk:Infobox military installation

From Wikipedia, the free encyclopedia
Jump to: navigation, search
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.

Edit Request 20/11/15[edit]

Hi,
for all kinds of fences or barriers such as Hungarian border barrier, providing the area covered doesn't make any sense. The barrier's length would however be the most relevant feature of all to include. Even for areas of the Korean Demilitarized Zone type it would be nice, if both length and the area could be given. I therefore added a simple {{{length}}} parameter to the sandbox and ask you kindly to add it to the template.
Thanks, and regards, PanchoS (talk) 01:33, 20 November 2015 (UTC)

Sounds sensible, but please allow time for others to comment before using {{editprotected}}. If you have consensus (or no response) in a few days feel free to reactivate. Regards — Martin (MSGJ · talk) 09:53, 20 November 2015 (UTC)
PanchoS, done. Frietjes (talk) 16:24, 23 November 2015 (UTC)
Thank you, awesome. PanchoS (talk) 19:03, 23 November 2015 (UTC)

Simplification idea[edit]

So as it stands now, we have parameters set up so that the template has the ability to include both a coordinates template and the ability to add degrees, minutes, and seconds as well. Is there any reason that we need the latter option and cannot combine it into the former one? Also, I noticed on the 2015 San Bernardino shooting page that there is the ability to have a zoomable map of sorts, so would anyone else be supportive of adding that to the infobox in the near future, as well? Kevin Rutherford (talk) 05:19, 4 December 2015 (UTC)

Kevin Rutherford, sure, you can replace |latitude= with |latd=. changing the documentation is easy. changing all the articles will require a bot. the zoomable map feature is available to any infobox which uses {{location map}}. you just add a '#' between the different maps. Frietjes (talk) 15:41, 5 December 2015 (UTC)
Beyond your support, do you think this is something that would be necessary, as I figure doing that would make it a bit more user-friendly, as the coordinates bit can sometimes be a pain to learn. Kevin Rutherford (talk) 00:20, 8 December 2015 (UTC)
not necessary, but would simplify the template code if the alternative syntax were corrected and removed. Frietjes (talk) 15:35, 8 December 2015 (UTC)
Thanks for letting me know, as I will try to get around to a bot request in the next day or so. Kevin Rutherford (talk) 03:44, 10 December 2015 (UTC)

Coordinates problem[edit]

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">[https://tools.wmflabs.org/os/coor_g/?pagename=Marmion_Tower&params=SE266787_region%3AGB_scale%3A25000 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)