Template:InfoBoxAirline: Difference between revisions
Template page
More actions
redo format for importing |
focus city and cleanup |
||
Line 3: | Line 3: | ||
<templatestyles src="Template:Infobox/styles.css"/> | <templatestyles src="Template:Infobox/styles.css"/> | ||
{| class="infobox" | {| class="infobox" | ||
|+ class="infobox__title rarity-uncommon" | {{{ | |+ class="infobox__title rarity-uncommon" | {{{Name|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan="2" class="infobox__image" | {{#ifexist: File:{{{ | | colspan="2" class="infobox__image" | {{#ifexist: File:{{{Photo}}} | [[File:{{{Photo}}}|300px]]| [[File:Aerowikiplaceholder.jpg|300px]]}} | ||
|- | |- | ||
| colspan="2" class="infobox__caption" | {{{ | | colspan="2" class="infobox__caption" | {{{Caption|}}} | ||
|- | |- | ||
! class="infobox__field-name" | Code | ! class="infobox__field-name" | Code | ||
Line 25: | Line 23: | ||
! class="infobox__field-name" | Hubs | ! class="infobox__field-name" | Hubs | ||
| class="infobox__field-value" | {{#invoke: AeroWikiListTools | | class="infobox__field-value" | {{#invoke: AeroWikiListTools | ||
| split_list | {{{Hubs|}}} | [[{split}]], | Unknown | | split_list | {{{Hubs|}}} | [[{split}]], | Unknown}} | ||
|- | |- | ||
{{Optional row|[[{{{Focus City}}}]]|{{{Focus City|}}}}} | |||
{{Info row|Slogan|{{{Slogan|}}}}} | {{Info row|Slogan|{{{Slogan|}}}}} | ||
{{Info row|Registered|{{{Registered|}}}}} | {{Info row|Registered|{{{Registered|}}}}} | ||
Line 113: | Line 112: | ||
"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 | ||
}, | }, | ||
Line 126: | Line 132: | ||
"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 133: | Line 138: | ||
"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 146: | Line 150: | ||
"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 153: | Line 156: | ||
"description": "Subsidiaries owned by the airline.", | "description": "Subsidiaries owned by the airline.", | ||
"type": "string", | "type": "string", | ||
"example": "Bread Air Cargo" | "example": "Bread Air Cargo" | ||
}, | }, | ||
"Creators": { | "Creators": { |