Jump to content

Template talk:Infobox airport

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Edit request 2 November 2024

[edit]

Description of suggested change: addition of parameter "Purpose", for infoboxes like Mactan–Cebu, missing indication that only one runway is in active use.

example preview (ofc. making the infobox about 3 or 5 pixels wider to the ):

Diff:

current revision
+
"r1-purpose": { "label": "r1-Purpose", "description": "whether main or emergency runway, if applicable", "example": "emergency runway", "type": "string", "suggestedvalues": [ "main runway", "emergency runway" ], "default": "main runway", "suggested": true

} D4n2016 (talk) 17:44, 2 November 2024 (UTC)[reply]

 Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. The code below appears to be TemplateData code for the documentation page, not template code. This suggestion also needs consensus. – Jonesey95 (talk) 06:19, 5 November 2024 (UTC)[reply]
I used {{efn}} to give the information. I'm not sure that a change to the infobox is needed to do something that isn't going to be used often. CambridgeBayWeather (solidly non-human), Uqaqtuq (talk), Huliva 04:51, 8 November 2024 (UTC)[reply]

Former names

[edit]

Template:Infobox hospital has a line for "former-names." Would this be a reasonable line to include for airports? Alpacaaviator (talk) 13:34, 2 March 2025 (UTC)[reply]

Edit request 10 March 2025

[edit]

As it is now, the image, pushpin map, and mapframe all have different default sizes. Therefore they all jog in or out, and the infobox is unsightly. By making all default sizes 250px, the images and maps line up and the infobox is consistent with other infoboxes (see sandbox and testcases for comparisons). The code to change is as follows:

| data33 = {{#if:{{{image_map|}}}| {{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size={{{image_mapsize|}}}|sizedefault=frameless|upright=1|alt={{{image_map_alt|}}}|title={{{image_map_caption|Location of {{{name}}}}}}}}{{#if:{{{image_map_caption|}}}|<br />{{{image_map_caption}}}}} }}
+
| data33 = {{#if:{{{image_map|}}}| {{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size={{{image_mapsize|}}}|sizedefault=250px|upright=1|alt={{{image_map_alt|}}}|title={{{image_map_caption|Location of {{{name}}}}}}}}{{#if:{{{image_map_caption|}}}|<br />{{{image_map_caption}}}}} }}
| data34 = |default_width = 220
+
| data34 = |default_width = 250
| data35 = {{#invoke:Infobox mapframe|auto|mapframe-marker=airport|mapframe-wikidata=yes|onByDefault=yes}}
+
| data35 = {{#invoke:Infobox mapframe|auto|mapframe-marker=airport|mapframe-wikidata=yes|mapframe-width=250|onByDefault=yes}}

Thanks. -- P 1 9 9   14:19, 10 March 2025 (UTC)[reply]

If there is any way to use the viewer's thumb size preference instead, that would be preferable, per MOS:IMGSIZE: Except with very good reason, a fixed width in pixels (e.g. 17px) should not be specified, because it ignores the user's base width setting. Thus upright=scaling factor is preferred when it is desired to present an image at other than the default width. I have asked at Module talk:Location map and Template talk:Infobox mapframe to see if there is a way to make this happen. – Jonesey95 (talk) 03:13, 14 March 2025 (UTC)[reply]

Edit request 12 March 2025

[edit]

Description of suggested change: Hello! This suggestion aims to allow more technical data about airports and aerodromes to be added to the template.

The suggestion is that, new parameters are added to include the ability to add an airport plate (such as an Approach plate or, more likely, a ground overview plate) as well as the ability to add frequencies for Air Traffic Control (aiming mainly at the most important frequencies - tower, ATIS, approach and ground, plus an additional parameter for extras (eg. UNICOM or for other less common frequencies) .

Let me know your thoughts! Moonbloom (talk) 03:58, 12 March 2025 (UTC)[reply]


Diff:

current revision
+
plate-image= plate-img-width= tower-freq= approach-freq= ground-freq= other-freqs=
 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. – Jonesey95 (talk) 04:34, 12 March 2025 (UTC)[reply]
I can try, but I find CSS editing really hard. Is there a reference manual for this somewhere? Moonbloom (talk) 05:33, 12 March 2025 (UTC)[reply]
General information about how infoboxes work is at Template:Infobox. – Jonesey95 (talk) 06:24, 12 March 2025 (UTC)[reply]