Template:Airport statistics/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses Chart.tab.

Before using this template : Wikidata tools, how to modify a traffic data on Wikidata

[edit source]
{{Airport-Statistics|id=Q127530}}
{{#chart:Airport statistics filtered.chart|arg:id=Q127530|arg:debut={{{start}}}}}

Parameters

[edit source]
align
Use |align= set to left, right, or center to align the chart on the page.

Migration

[edit source]

For transclusions with title arguments, create a specific data page on Wikimedia Commons. Copy c:Data:Airport statistics filtered.chart to a new title, and replace "en": "Annual passenger traffic" with "en": "<your title here>",. You may remove the rest of the language codes and their titles. Specify the new page in this template using the data parameter.

For transclusions with iata, icao and faa arguments that do not use data from the connected wikidata page, specify the wikidata item id under the id parameter.

TemplateData

[edit source]

No description.

Template parameters

ParameterDescriptionTypeStatus
IATA Code iata

On three letters

Example
CDG NCE
Stringdeprecated
ICAO Codeicao

On four letters

Example
KDEN KLAX
Stringdeprecated
FAA Code (USA)faa

On three letters

Example
PDX LAX
Stringdeprecated
Start yeardébut start

Start year for the graph

Example
2000
Numberoptional
width of the graph, in pixelswidth

no description

Numberoptional
Graph titletitre title

no description

Example
Annual traffic on XXX airport
Stringdeprecated
Wikidata item idid

Use instead of iata, icao and faa parameters

Unknownsuggested
Wikimedia Commons data pagedata

used to provide title

Unknownoptional