Editing Template:InfoBoxAirline
Template page
More actions
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
[[Category:Airlines]] | |||
<templatestyles src="Template:Infobox/styles.css"/> | <templatestyles src="Template:Infobox/styles.css"/> | ||
{| class="infobox" | {| class="infobox" | ||
|+ class="infobox__title" | {{{ | |+ class="infobox__title rarity-uncommon" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan="2" class="infobox__image" | {{#ifexist: File:{{{ | | colspan="2" class="infobox__image" | {{#ifexist: File:{{{photo}}} | [[File:{{{photo}}}|350px]] | [[File:{{#invoke: AeroWikiImageFinder | find_image | {{{Name}}} | Aerowikiplaceholder.jpg}} |350px]]}} | ||
|- | |- | ||
| colspan="2" class="infobox__caption" | {{{Caption | | colspan="2" class="infobox__caption" | {{{caption|(Empty Caption) [[Category: Missing Parameters]]}}} | ||
|- | |- | ||
| colspan="2" class="infobox__subtitles" | General Information | |||
|- | |- | ||
! class="infobox__field-name" | | ! class="infobox__field-name" | IATA | ||
| class="infobox__field-value" | {{{ | | class="infobox__field-value" | {{{CodeIATA|None}}} | ||
|- | |||
! 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}}} | | class="infobox__field-value" | {{{Callsign| Unknown [[Category: Missing Parameters]]}}} | ||
|- | |- | ||
! class="infobox__field-name" | Type | ! class="infobox__field-name" | Type | ||
| class="infobox__field-value" | {{{ | | class="infobox__field-value" | {{{Type| Unknown [[Category: Missing Parameters]]}}} | ||
|- | |- | ||
! class="infobox__field-name" | Founded | ! class="infobox__field-name" | Founded | ||
| class="infobox__field-value" | {{{ | | class="infobox__field-value" | {{{Founded| Unknown [[Category: Missing Parameters]]}}} | ||
|- | |||
! class="infobox__field-name" | Hubs | |||
| class="infobox__field-value" | {{#invoke: AeroWikiListTools | |||
| 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" | | ! class="infobox__field-name" | Parent | ||
| class="infobox__field-value" | {{{ | | class="infobox__field-value" | {{{Parent|None}}} | ||
|- | |- | ||
! class="infobox__field-name" | Subsidiaries | |||
| class="infobox__field-value" | {{{Subsidiaries|None}}} | |||
|- | |- | ||
! class="infobox__field-name" | Creator | ! class="infobox__field-name" | Creator | ||
| class="infobox__field-value" | {{{Creator|Unknown [[Category: | | class="infobox__field-value" | {{{Creator | Unknown [[Category: Missing Parameters]]}}} | ||
|} | |} | ||
</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 | ||
| | | CodeICAO = BDA | ||
| Callsign = BREADAIR | | Callsign = BREADAIR | ||
| | | Type = Passenger Airline | ||
| | | 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 = BreadGroup Alliance | ||
| Subsidiaries = Bread Air Cargo | | Subsidiaries = Bread Air Cargo | ||
| Creator = RyeThePies | | Creator = RyeThePies | ||
}} | }} | ||
<templatedata> | <templatedata> | ||
Line 61: | Line 71: | ||
"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 68: | Line 78: | ||
"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 76: | Line 86: | ||
"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 83: | Line 93: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "CodeIATA": { | ||
"label": " | "label": "IATA", | ||
"description": "The airline code.", | "description": "The IATA (two-character) 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 97: | Line 114: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "Type": { | ||
"label": "Type", | "label": "Type", | ||
"description": "The type of airline.", | "description": "The type of airline.", | ||
Line 104: | Line 121: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "Founded": { | ||
"label": "Founded", | "label": "Founded", | ||
"description": "The founding date of the airline.", | "description": "The founding date of the airline.", | ||
Line 110: | Line 127: | ||
"example": "2021", | "example": "2021", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"Hubs": { | "Hubs": { | ||
Line 122: | Line 133: | ||
"type": "string", | "type": "string", | ||
"example": "Rawaki International Airport, Tikaranto International Airport", | "example": "Rawaki International Airport, Tikaranto International Airport", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"Slogan": { | "Slogan": { | ||
"label": " | "label": "Founded", | ||
"description": "The slogan of the airline.", | "description": "The slogan of the airline.", | ||
"type": "string", | "type": "string", | ||
Line 139: | Line 143: | ||
}, | }, | ||
"Registered": { | "Registered": { | ||
"label": " | "label": "Founded", | ||
"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 148: | Line 153: | ||
"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 160: | Line 166: | ||
"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 166: | Line 173: | ||
"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": { | ||
"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 | "suggested": true | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> |