Difference between revisions of "Template:Airport-Statistics/doc"
Jump to navigation
Jump to search
blackwiki>Bouzinac (←Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> ==...') |
m (4 revisions imported) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
== Usage == | == Usage == | ||
| + | {{warning|As of 4 October 2019 (and since early July 2019 at least), the graph extension no longer works when linked to a wikidata query. Until a solution is found, this template should not be used in articles. See [https://phabricator.wikimedia.org/T226250 the Phabricator ticket] for more information.}} | ||
| Line 8: | Line 9: | ||
}}</includeonly> | }}</includeonly> | ||
| + | |||
| + | |||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "iata": { | ||
| + | "label": "IATA Code ", | ||
| + | "description": "On three letters embedded with brackets", | ||
| + | "example": "\"CDG\" \"NCE\"", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "icao": { | ||
| + | "label": "ICAO Code", | ||
| + | "description": "On four letters embedded with brackets", | ||
| + | "example": "\"KDEN\" \"KLAX\"", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "faa": { | ||
| + | "label": "FAA Code (USA)", | ||
| + | "description": "On three letters embedded with brackets", | ||
| + | "example": "\"PDX\" \"LAX\"", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "start": { | ||
| + | "label": "Start year", | ||
| + | "example": "2000", | ||
| + | "type": "number", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "caption": { | ||
| + | "label": "With caption (\"-\") or (leave the field blank)", | ||
| + | "example": "-", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "width": { | ||
| + | "label": "width of the graph, in pixels", | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "title": { | ||
| + | "label": "Graph title", | ||
| + | "example": "Annual traffic on XXX airport" | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
Latest revision as of 14:43, 18 October 2020
| 40px | This is a documentation subpage for Template:Airport-Statistics. It contains usage information, categories and other content that is not part of the original template page. |
Usage
| 40x40px | As of 4 October 2019 (and since early July 2019 at least), the graph extension no longer works when linked to a wikidata query. Until a solution is found, this template should not be used in articles. See the Phabricator ticket for more information. |
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| IATA Code | iata | On three letters embedded with brackets
| String | suggested |
| ICAO Code | icao | On four letters embedded with brackets
| String | suggested |
| FAA Code (USA) | faa | On three letters embedded with brackets
| String | suggested |
| Start year | start | no description
| Number | suggested |
| With caption ("-") or (leave the field blank) | caption | no description
| String | optional |
| width of the graph, in pixels | width | no description | Number | optional |
| Graph title | title | no description
| Unknown | optional |