<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nb">
	<id>https://www.wikisida.no/index.php?action=history&amp;feed=atom&amp;title=Mal%3AFlyplass-statistikk</id>
	<title>Mal:Flyplass-statistikk - Sideversjonshistorikk</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikisida.no/index.php?action=history&amp;feed=atom&amp;title=Mal%3AFlyplass-statistikk"/>
	<link rel="alternate" type="text/html" href="https://www.wikisida.no/index.php?title=Mal:Flyplass-statistikk&amp;action=history"/>
	<updated>2026-04-08T23:45:16Z</updated>
	<subtitle>Versjonshistorikk for denne siden på wikien</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.wikisida.no/index.php?title=Mal:Flyplass-statistikk&amp;diff=2288&amp;oldid=prev</id>
		<title>Wikisida: Én sideversjon ble importert</title>
		<link rel="alternate" type="text/html" href="https://www.wikisida.no/index.php?title=Mal:Flyplass-statistikk&amp;diff=2288&amp;oldid=prev"/>
		<updated>2026-02-08T18:15:07Z</updated>

		<summary type="html">&lt;p&gt;Én sideversjon ble importert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nb&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Eldre sideversjon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Sideversjonen fra 8. feb. 2026 kl. 18:15&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;nb&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Ingen forskjell)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key c1wiki:diff:1.41:old-2287:rev-2288 --&gt;
&lt;/table&gt;</summary>
		<author><name>Wikisida</name></author>
	</entry>
	<entry>
		<id>https://www.wikisida.no/index.php?title=Mal:Flyplass-statistikk&amp;diff=2287&amp;oldid=prev</id>
		<title>nb&gt;Bouzinac: FILTER (?prec  =10)# precision = month</title>
		<link rel="alternate" type="text/html" href="https://www.wikisida.no/index.php?title=Mal:Flyplass-statistikk&amp;diff=2287&amp;oldid=prev"/>
		<updated>2024-02-27T16:19:38Z</updated>

		<summary type="html">&lt;p&gt;FILTER (?prec  =10)# precision = month&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ny side&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!--fr&lt;br /&gt;
Ce modèle permet d&amp;#039;afficher un graphique tiré d&amp;#039;une requête Wikidata, elle-même affichant la source ayant permis d&amp;#039;indiquer le chiffre annuel.&lt;br /&gt;
Ce modèle est originellement maintenu sur frwiki  : [[:fr:Modèle:Aéroport-Statistiques|]]&lt;br /&gt;
Il utilise cette brique importante : le modèle {{Graph:Lines}} et les données Wikidata&lt;br /&gt;
S&amp;#039;il y a une donnée fausse sur Wikidata pour un aéroport, il faut changer sur le wikidata de cet aéroport, cela sera transparent et visible à travers tous les wikipédias affichant ce modèle.&lt;br /&gt;
  // traductions==&amp;gt; https://commons.wikimedia.org/wiki/Data:I18n/Template:Airport-Statistics.tab&lt;br /&gt;
&lt;br /&gt;
Dernière version : 19 FEB 2021&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--en&lt;br /&gt;
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&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  =10)# precision = 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;{{Documentation}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>nb&gt;Bouzinac</name></author>
	</entry>
</feed>