Template:Infobox airport: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
Line 1: Line 1:
{{#if:{{Has short description}} |<!--Do nothing--> |{{main other|{{#invoke:Type in location|main|Airport|{{{location|}}}}}}}}}{{infobox
{{#if:{{Has short description}} |<!--Do nothing--> |{{main other|{{#invoke:Type in location|main|Airport|{{{location|}}}}}}}}}{{infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 1em 1em;
width: 300px;
background-color: #f5f5f5;
border: 1px solid #cecece;
font-size: 88%;
padding: 0;
border-spacing: 0;
border-collapse: collapse; <!-- for hidden border -->
| abovestyle =
font-size: 125%;
line-height: 1.2;
font-weight: bold;
text-align: center;
padding-top: 0.5em;
padding-bottom: {{#if: {{{name|}}}| 0.25em | 0.6em }};
| subheaderstyle =
padding-bottom: 0.5em;
font-weight: normal;
font-size: 125%;
line-height: 1.2;
text-align: center;
| imagestyle =
text-align: center;
padding-top: 0.6em;
border-top: 1px solid #a2a9b1;
| headerstyle =
text-align: left;
padding: 0.4em 1em 0 1em;
border-top: 1px solid #a2a9b1;
font-weight: bold;
| labelstyle =
vertical-align: top;
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 1em;
text-align: left;
width: 80px;
| datastyle =
vertical-align: top;
border-top: 1px solid #a2a9b1;
padding: 0.4em 1em 0.2em 0.6em;
text-align: left;
| rowstyle3 =
border-top: hidden;
| bodyclass = vcard
| bodyclass = vcard
| bodystyle = {{#if:{{{box-width|}}}|width: {{{box-width|22em}}}}}
| templatestyles = infobox/mobileviewfix.css
 
| abovestyle = background-color: #DDDDFF; color: black; font-size: 125%
| above = {{br separated entries
|1 = <includeonly><div style="display:inline;" class="fn org">{{#invoke:string|replace|{{{name}}}|
|<br />|plain=false}}</div></includeonly>
|2 = {{#if:{{{ensign|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{ensign|}}}|size={{{ensign_size|}}}|sizedefault=90px|alt={{{ensign_alt|}}}}}}}
|3 = {{#if:{{{nativename|}}}|<div style="display:inline;" class="nickname">{{{nativename}}}</div>}}
|4 = {{#if:{{{nativename-a|}}}|<div style="display:inline;" class="nickname">{{{nativename-a}}}</div>}}
|5 = {{#if:{{{nativename-r|}}}|<div style="display:inline;" class="nickname">{{{nativename-r}}}</div>}}
}}


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{logo|}}}}}}|size={{{image_size|{{{image-width|}}}}}}|sizedefault=250px|upright=1|alt={{{image_alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{logo|}}}}}}|size={{{image_size|{{{image-width|}}}}}}|sizedefault=250px|upright=1|alt={{{image_alt|}}}}}

Revision as of 21:35, 17 November 2023