<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ar">
	<id>https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%82%D8%A7%D9%84%D8%A8%3AAirport-Statistics</id>
	<title>قالب:Airport-Statistics - تاريخ المراجعة</title>
	<link rel="self" type="application/atom+xml" href="https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%82%D8%A7%D9%84%D8%A8%3AAirport-Statistics"/>
	<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Airport-Statistics&amp;action=history"/>
	<updated>2026-06-06T20:13:14Z</updated>
	<subtitle>تاريخ التعديل لهذه الصفحة في الويكي</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Airport-Statistics&amp;diff=1106410&amp;oldid=prev</id>
		<title>عبد العزيز: أنشأ الصفحة ب&#039;&lt;!--This template helps show a graph from a  Wikidata query, showing both source and numbers. This template is maintained on   frwiki  : :fr:Modèle:Aéroport-Statistiques| it uses both template {{Graph:Lines}} and data from Wikidata. if you find something wrong in Wikidata for an airport, please change number on the wikidata for this airport : it will automatically show the right value among the wikis.   // Template translations are in https://commons.wikimedi...&#039;</title>
		<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Airport-Statistics&amp;diff=1106410&amp;oldid=prev"/>
		<updated>2022-11-24T14:28:28Z</updated>

		<summary type="html">&lt;p&gt;أنشأ الصفحة ب&amp;#039;&amp;lt;!--This template helps show a graph from a  Wikidata query, showing both source and numbers. This template is maintained on   frwiki  : &lt;a href=&quot;https://fr.wikipedia.org/wiki/Mod%C3%A8le:A%C3%A9roport-Statistiques&quot; class=&quot;extiw&quot; title=&quot;fr:Modèle:Aéroport-Statistiques&quot;&gt;fr:Modèle:Aéroport-Statistiques&lt;/a&gt; it uses both template {{Graph:Lines}} and data from Wikidata. if you find something wrong in Wikidata for an airport, please change number on the wikidata for this airport : it will automatically show the right value among the wikis.   // Template translations are in https://commons.wikimedi...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحة جديدة&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!--This template helps show a graph from a  Wikidata query, showing both source and numbers.&lt;br /&gt;
This template is maintained on   frwiki  : [[:fr:Modèle:Aéroport-Statistiques|]]&lt;br /&gt;
it uses both template {{Graph:Lines}} and data from Wikidata.&lt;br /&gt;
if you find something wrong in Wikidata for an airport, please change number on the wikidata for this airport : it will automatically show the right value among the wikis.&lt;br /&gt;
  // Template translations are in https://commons.wikimedia.org/wiki/Data:I18n/Template:Airport-Statistics.tab&lt;br /&gt;
Last version : 19 FEB 2021&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{Graph:Lines|thumb={{{thumb|yes}}}|align={{{align|none}}}&lt;br /&gt;
| tabletype=query | table=# Scroll down and hit blue arrow down to run and see the results + the sources&lt;br /&gt;
SELECT ?year ?item ?itemLabel (MAX(?number) AS ?passengers)&lt;br /&gt;
  (SAMPLE(COALESCE(?reference_URL, ?monthly_reference_URL2)) AS ?sample_reference_URL)&lt;br /&gt;
WITH&lt;br /&gt;
{&lt;br /&gt;
  SELECT ?item ?statement ?date ?year ?timevalue ?numberperperiod ?reference_URL&lt;br /&gt;
  WHERE&lt;br /&gt;
  {&lt;br /&gt;
    ?item wdt:{{#if: {{{iata|}}} |P238|}}{{#if: {{{icao|}}} |P239|}}{{#if: {{{faa|}}} |P240|}} ?airport_code&lt;br /&gt;
    VALUES ?airport_code &lt;br /&gt;
    {&lt;br /&gt;
 &amp;quot;{{#invoke:String|replace|{{{iata|}}}{{{icao|}}}{{{faa|}}}| |&amp;quot; &amp;quot;||}}&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
    ?item p:P3872 ?statement.&lt;br /&gt;
    ?statement pqv:P585 ?timevalue;&lt;br /&gt;
               ps:P3872 ?numberperperiod.&lt;br /&gt;
    ?timevalue wikibase:timeValue ?date.&lt;br /&gt;
    OPTIONAL { ?statement pq:P518 ?applies. }&lt;br /&gt;
    OPTIONAL { ?statement prov:wasDerivedFrom / (pr:P854{{!}}pr:P4656) ?reference_URL. }&lt;br /&gt;
    FILTER (BOUND(?applies)=false {{!!}} ?applies = wd:Q2165236 )&lt;br /&gt;
    MINUS { ?statement wikibase:rank wikibase:DeprecatedRank }&lt;br /&gt;
    BIND (YEAR(?date) AS ?year)&lt;br /&gt;
    FILTER (?year &amp;gt;{{{début|1949}}}).&lt;br /&gt;
    FILTER (?year &amp;lt; YEAR(NOW()))&lt;br /&gt;
  }&lt;br /&gt;
} AS %airport&lt;br /&gt;
WHERE&lt;br /&gt;
{&lt;br /&gt;
  {&lt;br /&gt;
    # Get the sum of monthly values within a year&lt;br /&gt;
    SELECT ?item ?year (SUM(?max_numberperperiod) AS ?number) (SAMPLE(?monthly_reference_URL) AS ?monthly_reference_URL2)&lt;br /&gt;
    WHERE&lt;br /&gt;
    {&lt;br /&gt;
      # Get the maximal value and a sample reference URL for each unique month&lt;br /&gt;
      {&lt;br /&gt;
        SELECT ?item ?year (MAX(?numberperperiod) AS ?max_numberperperiod) (SAMPLE(?reference_URL) AS ?monthly_reference_URL)&lt;br /&gt;
        WHERE&lt;br /&gt;
        {&lt;br /&gt;
          INCLUDE %airport&lt;br /&gt;
          ?timevalue wikibase:timePrecision ?prec.&lt;br /&gt;
          FILTER (?prec &amp;gt; 9)# precision more precise or equal to month&lt;br /&gt;
        }&lt;br /&gt;
        GROUP BY ?item ?year ?date&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
    GROUP BY ?item ?year&lt;br /&gt;
  }&lt;br /&gt;
  UNION&lt;br /&gt;
  {&lt;br /&gt;
    ?timevalue wikibase:timePrecision 9 .&lt;br /&gt;
    BIND (?numberperperiod AS ?number)&lt;br /&gt;
    BIND (?reference_URL AS ?sample_reference_URL)&lt;br /&gt;
    INCLUDE %airport&lt;br /&gt;
  }&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;{{CONTENTLANGUAGE}}&amp;quot;. }&lt;br /&gt;
}&lt;br /&gt;
GROUP BY ?item ?itemLabel ?year&lt;br /&gt;
ORDER BY ?item DESC (?year)&lt;br /&gt;
|yGrid=true&lt;br /&gt;
|legend={{#ifexpr:{{#invoke:String|len|{{{iata|}}}{{{icao|}}}{{{faa|}}}}}&amp;gt;4|-|}}&lt;br /&gt;
|group=itemLabel&lt;br /&gt;
|yAxis={{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|passengers}}&lt;br /&gt;
|yAxisFormat=.1s&lt;br /&gt;
| yZero=true&lt;br /&gt;
| value=passengers| type=year | xField=year|width={{{width|540}}}&lt;br /&gt;
| title={{#if: {{{titre|}}} |{{{titre|}}}| &lt;br /&gt;
{{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|title_start}} {{#ifexpr:{{#invoke:String|len|{{{iata|}}}{{{icao|}}}{{{faa|}}}}}&amp;gt;4|&lt;br /&gt;
{{#if: {{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|middle_title_if_airports}}|&lt;br /&gt;
{{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|middle_title_if_airports}} {{{iata|}}}{{{icao|}}}{{{faa|}}} {{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|end_title_if_airports}} |&lt;br /&gt;
{{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|end_title_if_airports}} {{{iata|}}}{{{icao|}}}{{{faa|}}} }}  |&lt;br /&gt;
{{#if: {{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|middle_title_if_one_airport}}| &lt;br /&gt;
{{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|middle_title_if_one_airport}} {{{iata|}}}{{{icao|}}}{{{faa|}}} {{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|end_title_if_one_airport}} |&lt;br /&gt;
{{#invoke:TNT|msg|I18n/Template:Airport-Statistics.tab|end_title_if_one_airport}} {{{iata|}}}{{{icao|}}}{{{faa|}}} }} &lt;br /&gt;
}}}}&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{توثيق}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>عبد العزيز</name></author>
	</entry>
</feed>