Template:InfoBoxAirline: Difference between revisions
Template page
More actions
category_disable |
fix |
||
(8 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<templatestyles src="Template:Infobox/styles.css"/> | <templatestyles src="Template:Infobox/styles.css"/> | ||
{| class="infobox" | {| class="infobox" | ||
|+ class="infobox__title | |+ class="infobox__title" | {{{Name|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan="2" class="infobox__image" | {{#ifexist: File:{{{ | | 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" | {{{ | | colspan="2" class="infobox__caption" | {{{Caption|}}} | ||
|- | |- | ||
| | {{Info row|Livery Tag|{{{Livery Tag|}}}}} | ||
|- | |- | ||
! class="infobox__field-name" | | ! class="infobox__field-name" | Code | ||
| class="infobox__field-value" | {{{ | | class="infobox__field-value" | {{{Airline Code|Unknown}}} | ||
|- | |- | ||
! class="infobox__field-name" | Callsign | ! class="infobox__field-name" | Callsign | ||
| class="infobox__field-value" | {{{Callsign| Unknown | | class="infobox__field-value" | {{{Callsign|Unknown}}} | ||
|- | |- | ||
! class="infobox__field-name" | Type | ! class="infobox__field-name" | Type | ||
| class="infobox__field-value" | {{{Type| Unknown | | class="infobox__field-value" | {{{Airline Type|Unknown}}} | ||
|- | |- | ||
! class="infobox__field-name" | Founded | ! class="infobox__field-name" | Founded | ||
| class="infobox__field-value" | {{{Founded| Unknown | | 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" | | class="infobox__field-value" | {{{Hubs|}}} | ||
|- | |- | ||
{{Optional row|Focus City|[[{{{Focus City}}}]]|{{{Focus City|}}}}} | |||
| | {{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: | | class="infobox__field-value" | {{{Creator|Unknown [[Category:Airlines missing creator]]}}} | ||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Template:InfoBoxAirline | {{Template:InfoBoxAirline | ||
| | | Name = Bread Air | ||
| | | Photo = Bread_Air_Livery.png | ||
| | | Caption = A [[Boeing 737-600]] flying with the Bread Air livery | ||
| | | 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 = | | Alliance = FlightGroup Alliance | ||
| Subsidiaries = Bread Air Cargo | | Subsidiaries = Bread Air Cargo | ||
| Creator = RyeThePies | | Creator = RyeThePies | ||
| Livery Tag = bread | |||
| category_disable = yes | | category_disable = yes | ||
}} | }} | ||
Line 72: | Line 61: | ||
"description": "Airline Infobox Template", | "description": "Airline Infobox Template", | ||
"params": { | "params": { | ||
" | "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 79: | Line 68: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "Photo": { | ||
"label": "Image", | "label": "Image", | ||
"description": "Image shown at the top of the InfoBox.", | "description": "Image shown at the top of the InfoBox.", | ||
Line 87: | Line 76: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "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 94: | Line 83: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "Airline Code": { | ||
"label": " | "label": "Code", | ||
"description": "The | "description": "The airline code.", | ||
"type": "string", | "type": "string", | ||
"example": "BDA", | "example": "BDA", | ||
Line 115: | Line 97: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"Type": { | "Airline Type": { | ||
"label": "Type", | "label": "Type", | ||
"description": "The type of airline.", | "description": "The type of airline.", | ||
Line 122: | 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 128: | 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 134: | 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": " | "label": "Slogan", | ||
"description": "The slogan of the airline.", | "description": "The slogan of the airline.", | ||
"type": "string", | "type": "string", | ||
Line 144: | Line 139: | ||
}, | }, | ||
"Registered": { | "Registered": { | ||
"label": " | "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" | ||
}, | }, | ||
"Alliance": { | "Alliance": { | ||
Line 154: | 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" | ||
}, | }, | ||
"Partners": { | "Partners": { | ||
Line 167: | 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" | ||
}, | }, | ||
"Subsidiaries": { | "Subsidiaries": { | ||
Line 174: | 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" | ||
}, | }, | ||
" | "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 | ||
} | } |