Mrt-logo.png

The next General Staff Meeting will be held on Sunday, April 12 at 7 p.m. UTC. Be sure to email topics to staff no later than Friday, April 10 at 7 p.m. UTC.

Mrt-logo.png

Difference between revisions of "Template:BA"

From Minecart Rapid Transit Wiki
Jump to navigation Jump to search
Minor
Tag: 2017 source edit
Line 2: Line 2:
 
|-<noinclude>
 
|-<noinclude>
  
==Documentation==
+
<noinclude>
This template is meant to be used for the [[BluAir]] wiki page only. To use, start with [[Template:BAsetup]]. To use Template:BA,  
+
<templatedata>
{{BAsetup}}
+
{
{{BA|BU1001|TBD|TBD|Airport 1|Airport 2|1|2|a|s1|1}}
+
"params": {
{{BA|BU1002|TBD|TBD|Airport 1|Airport 2|1|2|i|s2|2}}
+
"1": {
{{BA|BU1003|TBD|TBD|Airport 1|Airport 2|1|2|a|100|3}}
+
"label": "Flight Number",
{{BA|BU1004|TBD|TBD|Airport 1|Airport 2|1|2|i|500|4}}
+
"description": "This is the flight number.",
|}
+
"example": "BU1, BU100, DR1",
 +
"type": "string",
 +
"required": true
 +
},
 +
"2": {
 +
"label": "Origin Airport Code",
 +
"description": "This is the airport code where the flight originated.",
 +
"example": "TFA, LAR, SSI, etc.",
 +
"type": "string",
 +
"required": true,
 +
"default": "---"
 +
},
 +
"3": {
 +
"label": "Destination Flight Code",
 +
"description": "This is the airport code of the final destination.",
 +
"example": "ATC, CYR, IXM, etc.",
 +
"type": "string",
 +
"required": true,
 +
"default": "---"
 +
},
 +
"4": {
 +
"label": "Origin Airport Name",
 +
"description": "This is the full name of the airport code put in for Origin Airport Code.",
 +
"example": "Tranquil Forest Airfield, Larkspur Lilyflower International Airport, Sunshine Coast Máspalmas International Airport, etc.",
 +
"type": "string",
 +
"required": true,
 +
"default": "---"
 +
},
 +
"5": {
 +
"label": "Destination Airport Name",
 +
"description": "This is the full name of the destination airport.",
 +
"example": "Achowalogen Takachsin-Covina International Airport, Cyra Underwood Municipal Airport, Ilirea Midcity Airport, etc.",
 +
"type": "string",
 +
"required": true,
 +
"default": "---"
 +
},
 +
"6": {
 +
"label": "Origin Airport Gate",
 +
"description": "This is the gate number where the plane is parked at the origin airport.",
 +
"example": "A3, 5, 5E, etc.",
 +
"type": "wiki-page-name",
 +
"default": "--",
 +
"required": true
 +
},
 +
"7": {
 +
"label": "Destination Airport Gate",
 +
"description": "This is the gate number at the destination airport.",
 +
"example": "7, 3, R56, etc.",
 +
"type": "string",
 +
"default": "--",
 +
"required": true
 +
},
 +
"8": {
 +
"label": "Status",
 +
"description": "This is the status of the flight. a is active. i is inactive.",
 +
"example": "a, i",
 +
"type": "string",
 +
"default": "i",
 +
"required": true
 +
},
 +
"9": {
 +
"label": "Plane Type",
 +
"description": "This is the type of plane used for the flight.",
 +
"example": "s1, s2, s3n, s3h, x50, x150, x500",
 +
"type": "string",
 +
"required": true
 +
},
 +
"10": {
 +
"label": "Type",
 +
"description": "This distinguishes different types of flights on BluAir. 1 is for normal BluAir flights. 2 is for temporary BluAir flights. 4 is for DDR Airlines flights.",
 +
"example": "1, 2, 4",
 +
"type": "number",
 +
"default": "1",
 +
"required": true
 +
}
 +
},
 +
"description": "This template adds new flights to BluAir's flight list. This template cannot be used alone, and must be preceded by Template:BRsetup.",
 +
"format": "inline"
 +
}
 +
</templatedata>
 +
</noinclude>

Revision as of 00:00, 26 February 2020

|style="background: #;" | {{{1}}} || {{{2}}} || {{{3}}} || {{{4}}} || {{{5}}} || {{{6}}} || {{{7}}} || || BluAir Flight System |-


This template adds new flights to BluAir's flight list. This template cannot be used alone, and must be preceded by Template:BRsetup.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Flight Number1

This is the flight number.

Example
BU1, BU100, DR1
Stringrequired
Origin Airport Code2

This is the airport code where the flight originated.

Default
---
Example
TFA, LAR, SSI, etc.
Stringrequired
Destination Flight Code3

This is the airport code of the final destination.

Default
---
Example
ATC, CYR, IXM, etc.
Stringrequired
Origin Airport Name4

This is the full name of the airport code put in for Origin Airport Code.

Default
---
Example
Tranquil Forest Airfield, Larkspur Lilyflower International Airport, Sunshine Coast Máspalmas International Airport, etc.
Stringrequired
Destination Airport Name5

This is the full name of the destination airport.

Default
---
Example
Achowalogen Takachsin-Covina International Airport, Cyra Underwood Municipal Airport, Ilirea Midcity Airport, etc.
Stringrequired
Origin Airport Gate6

This is the gate number where the plane is parked at the origin airport.

Default
--
Example
A3, 5, 5E, etc.
Pagerequired
Destination Airport Gate7

This is the gate number at the destination airport.

Default
--
Example
7, 3, R56, etc.
Stringrequired
Status8

This is the status of the flight. a is active. i is inactive.

Default
i
Example
a, i
Stringrequired
Plane Type9

This is the type of plane used for the flight.

Example
s1, s2, s3n, s3h, x50, x150, x500
Stringrequired
Type10

This distinguishes different types of flights on BluAir. 1 is for normal BluAir flights. 2 is for temporary BluAir flights. 4 is for DDR Airlines flights.

Default
1
Example
1, 2, 4
Numberrequired