Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:InfoBoxAirline: Difference between revisions

Template page
Owning (talk | contribs)
creator*s* + oops
Owning (talk | contribs)
fix
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
[[Category:Airlines]]
{{#if: {{{category_disable|}}} || [[Category:Airlines]]}}
<templatestyles src="Template:Infobox/styles.css"/>
<templatestyles src="Template:Infobox/styles.css"/>
{| class="infobox"
{| class="infobox"
|+ class="infobox__title rarity-uncommon" | {{{name|{{PAGENAME}}}}}
|+ class="infobox__title" | {{{Name|{{PAGENAME}}}}}
|-
|-
| colspan="2" class="infobox__image" | {{#ifexist: File:{{{photo}}} | [[File:{{{photo}}}|350px]] | [[File:{{#invoke: AeroWikiImageFinder | find_image | {{{Name}}} | Aerowikiplaceholder.jpg}} |350px]]}}
| colspan="2" class="infobox__image" | {{#ifexist: File:{{{Photo}}} | [[File:{{{Photo}}}|300px]]| [[File:Aerowikiplaceholder.jpg|300px]] {{#if:{{{Photo|}}}|[[Category:Airline articles with broken images]]}}}}
|-
|-
| colspan="2" class="infobox__caption" | {{{caption|(Empty Caption) [[Category: Missing Parameters]]}}}
| colspan="2" class="infobox__caption" | {{{Caption|}}}
|-
|-
| colspan="2" class="infobox__subtitles" | General Information
{{Info row|Livery Tag|{{{Livery Tag|}}}}}
|-
|-
! class="infobox__field-name" | IATA
! class="infobox__field-name" | Code
| class="infobox__field-value" | {{{CodeIATA|None}}}
| class="infobox__field-value" | {{{Airline Code|Unknown}}}
|-
! class="infobox__field-name" | ICAO
| class="infobox__field-value" | {{{CodeICAO|None}}}
|-
|-
! class="infobox__field-name" | Callsign
! class="infobox__field-name" | Callsign
| class="infobox__field-value" | {{{Callsign| Unknown [[Category: Missing Parameters]]}}}
| class="infobox__field-value" | {{{Callsign|Unknown}}}
|-
|-
! class="infobox__field-name" | Type
! class="infobox__field-name" | Type
| class="infobox__field-value" | {{{Type| Unknown [[Category: Missing Parameters]]}}}
| class="infobox__field-value" | {{{Airline Type|Unknown}}}
|-
|-
! class="infobox__field-name" | Founded
! class="infobox__field-name" | Founded
| class="infobox__field-value" | {{{Founded| Unknown [[Category: Missing Parameters]]}}}
| class="infobox__field-value" | {{{Year Founded|Unknown}}}
|-
{{Info row|Commenced Operations|{{{Commenced Operations|}}}}}
|-
|-
! class="infobox__field-name" | Hubs
! class="infobox__field-name" | Hubs
| class="infobox__field-value" | {{#invoke: AeroWikiListTools
| class="infobox__field-value" | {{{Hubs|}}}
| split_list | {{{Hubs|}}} | [[{split}]], | Unknown [[Category: Missing Parameters]]}}
|-
! class="infobox__field-name" | Slogan
| class="infobox__field-value" | {{#if: {{{Slogan|}}} | <i>{{{Slogan}}}</i> | Unknown [[Category: Missing Parameters]]}}
|-
! class="infobox__field-name" | Registered
| class="infobox__field-value" | {{#if: {{{Registered|}}} | [[{{{Registered}}}]] | Unknown [[Category: Missing Parameters]]}}
|-
! class="infobox__field-name" | Alliance
| class="infobox__field-value" | {{{Alliance|None}}}
|-
! class="infobox__field-name" | Partners
| class="infobox__field-value" | {{{Partners|None}}}
|-
! class="infobox__field-name" | Parent
| class="infobox__field-value" | {{{Parent|None}}}
|-
|-
! class="infobox__field-name" | Subsidiaries
{{Optional row|Focus City|[[{{{Focus City}}}]]|{{{Focus City|}}}}}
| class="infobox__field-value" | {{{Subsidiaries|None}}}
{{Optional row|Slogan|<i>{{{Slogan|}}}</i>|{{{Slogan|}}}}}
{{Info row|Registered|{{{Registered|}}}}}
{{Optional row|Alliance|[[{{{Alliance}}}]]|{{{Alliance|}}}}}
{{Info row|Partners|{{{Partners|}}}}}
{{Info row|Parent|{{{Parent|}}}}}
{{Info row|Subsidiaries|{{{Subsidiaries|}}}}}
|-
|-
! class="infobox__field-name" | Creator
! class="infobox__field-name" | Creator
| class="infobox__field-value" | {{{Creator | Unknown [[Category: Missing Parameters]]}}}
| class="infobox__field-value" | {{{Creator|Unknown [[Category:Airlines missing creator]]}}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
{{Template:InfoBoxAirline
{{Template:InfoBoxAirline
| name = Bread Air
| Name = Bread Air
| photo = Bread_Air_Livery.png
| Photo = Bread_Air_Livery.png
| caption = A [[Boeing 737-600]] flying with the Bread Air livery
| Caption = A [[Boeing 737-600]] flying with the Bread Air livery
| CodeICAO = BDA
| Airline Code = BDA
| Callsign = BREADAIR
| Callsign = BREADAIR
| Type = Passenger Airline
| Airline Type = Passenger Airline
| Founded = 2021
| Year Founded = 2021
| Hubs = Rawaki International Airport, Tikaranto International Airport
| Hubs = Rawaki International Airport, Tikaranto International Airport
| Slogan = Fly Bread
| Slogan = Fly Bread
| Registered = Obroria  
| Registered = Obroria  
| Alliance = BreadGroup Alliance
| Alliance = FlightGroup Alliance
| Subsidiaries = Bread Air Cargo
| Subsidiaries = Bread Air Cargo
| Creator = RyeThePies
| Creator = RyeThePies
| Livery Tag = bread
| category_disable = yes
}}
}}
<templatedata>
<templatedata>
Line 71: Line 61:
"description": "Airline Infobox Template",
"description": "Airline Infobox Template",
     "params": {
     "params": {
"name": {
"Name": {
"label": "Name",
"label": "Name",
"description": "The name of the airline, this should be the same as the name of the page.",
"description": "The name of the airline, this should be the same as the name of the page.",
Line 78: Line 68:
"suggested": true
"suggested": true
},
},
"photo": {
"Photo": {
"label": "Image",
"label": "Image",
"description": "Image shown at the top of the InfoBox.",
"description": "Image shown at the top of the InfoBox.",
Line 86: Line 76:
"suggested": true
"suggested": true
},
},
"caption": {
"Caption": {
"label": "Image caption",
"label": "Image caption",
"description": "A brief description of the image shown in the InfoBox.",
"description": "A brief description of the image shown in the InfoBox.",
Line 93: Line 83:
"suggested": true
"suggested": true
},
},
"CodeIATA": {
"Airline Code": {
"label": "IATA",
"label": "Code",
"description": "The IATA (two-character) airline code.",
"description": "The airline code.",
"type": "string",
"example": "BR",
"suggested": true
},
"CodeICAO": {
"label": "ICAO",
"description": "The ICAO (three-character) airline code.",
"type": "string",
"type": "string",
"example": "BDA",
"example": "BDA",
Line 114: Line 97:
"suggested": true
"suggested": true
},
},
"Type": {
"Airline Type": {
"label": "Type",
"label": "Type",
"description": "The type of airline.",
"description": "The type of airline.",
Line 121: Line 104:
"suggested": true
"suggested": true
},
},
"Founded": {
"Year Founded": {
"label": "Founded",
"label": "Founded",
"description": "The founding date of the airline.",
"description": "The founding date of the airline.",
Line 127: Line 110:
"example": "2021",
"example": "2021",
"suggested": true
"suggested": true
},
"Commenced Operations": {
"label": "Commenced Operations",
"description": "Date when the airline began operating.",
"type": "string",
"example": "2021"
},
},
"Hubs": {
"Hubs": {
Line 133: Line 122:
"type": "string",
"type": "string",
"example": "Rawaki International Airport, Tikaranto International Airport",
"example": "Rawaki International Airport, Tikaranto International Airport",
"suggested": true
},
"Focus City": {
"label": "Focus City",
"description": "The focus city of the airline.",
"type": "string",
"example": "Valois International Airport",
"suggested": true
"suggested": true
},
},
"Slogan": {
"Slogan": {
"label": "Founded",
"label": "Slogan",
"description": "The slogan of the airline.",
"description": "The slogan of the airline.",
"type": "string",
"type": "string",
Line 143: Line 139:
},
},
"Registered": {
"Registered": {
"label": "Founded",
"label": "Registered",
"description": "The country where the airline is registered.",
"description": "The country where the airline is registered.",
"type": "string",
"type": "string",
"example": "Arleau",
"example": "Arleau"
"suggested": true
},
},
"Alliance": {
"Alliance": {
Line 153: Line 148:
"description": "The alliance the airline is part of.",
"description": "The alliance the airline is part of.",
"type": "string",
"type": "string",
"example": "FlightGroup Alliance",
"example": "FlightGroup Alliance"
"suggested": true
},
},
"Partners": {
"Partners": {
Line 166: Line 160:
"description": "The parent company of the airline.",
"description": "The parent company of the airline.",
"type": "string",
"type": "string",
"example": "BreadAir Group",
"example": "BreadAir Group"
"suggested": true
},
},
"Subsidiaries": {
"Subsidiaries": {
Line 173: Line 166:
"description": "Subsidiaries owned by the airline.",
"description": "Subsidiaries owned by the airline.",
"type": "string",
"type": "string",
"example": "Bread Air Cargo",
"example": "Bread Air Cargo"
"suggested": true
},
},
"Creators": {
"Creator": {
"label": "Creators",
"label": "Creators",
"description": "The creators of the airline.",
"description": "The creators of the airline.",
"type": "string",
"type": "string",
"example": "RyeThePies",
"example": "RyeThePies",
"suggested": true
},
"Livery Tag": {
"label": "Livery Tag",
"description": "The livery tag of the airline.",
"type": "string",
"example": "Bread",
"suggested": true
"suggested": true
}
}
     }
     }
}
}
</templatedata>
</templatedata>[[Category:Infoboxes]]</noinclude>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.