Difference between revisions of "Template:AIP FR/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>CambridgeBayWeather
(Updated)
m (20 revisions imported)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
This template is used to generate an external link to the French [[Aeronautical Information Publication]] (AIP) for a specific airport. These URLs change every 28 days, so by using a template they can be updated in one place rather than editing multiple articles.
+
This template generates an external link to the French [[Aeronautical Information Publication]] (AIP) for a specific airport. These links change every 28 days and the template calculates the correct [[URL]] based on the current date.
  
 
== Airports in France ==
 
== Airports in France ==
 
Parameters:
 
Parameters:
# (unnamed) - airport's ICAO location identifier, i.e. LFMN
+
# ''(unnamed)'' &ndash; airport's [[ICAO location indicator]], i.e. LFMN
# ''name'' (optional) - airport's location, i.e. '''NICE''' CÔTE D'AZUR (location and bold print are as shown in the AIP).  Most airports show two locations: the first is the city served, second is the city where the airport is located.
+
# ''name'' (optional) &ndash; airport's location, i.e. '''NICE''' CÔTE D'AZUR (location and bold print are as shown in the AIP).  Most airports show two locations: the first is the city served, second is the city where the airport is located.
  
 
Short version (used in airport lists):
 
Short version (used in airport lists):
Line 18: Line 18:
 
== Airports in French overseas territories ==
 
== Airports in French overseas territories ==
 
Parameters:
 
Parameters:
# (unnamed) - airport's ICAO location identifier, i.e. NTAA
+
# ''(unnamed)'' &ndash; airport's ICAO location indicator, i.e. NTAA
# (unnamed) - AIP directory
+
# ''(unnamed)'' &ndash; AIP directory
#* CAR-SAM-NAM: French [[Antilles]] ([[Guadeloupe]], [[Martinique]]), [[French Guiana]], [[Saint-Pierre and Miquelon]]
+
#* <code>CAR-SAM-NAM</code> &ndash; French [[Antilles]] ([[Guadeloupe]], [[Martinique]]), [[French Guiana]], [[Saint-Pierre and Miquelon]]
#* PAC-P: [[French Polynesia]]
+
#* <code>PAC-P</code> &ndash; [[French Polynesia]]
#* PAC-N: [[New Caledonia]], [[Wallis and Futuna]]
+
#* <code>PAC-N</code> &ndash; [[New Caledonia]], [[Wallis and Futuna]]
#* RUN: [[Réunion]], [[Mayotte]]
+
#* <code>RUN</code> &ndash; [[Réunion]], [[Mayotte]]
# ''name'' (optional) - airport's location, i.e. '''TAHITI''' FAA'A (location and bold print are as shown in the AIP).
+
# ''name'' (optional) &ndash; airport's location, i.e. '''TAHITI''' FAA'A (location and bold print are as shown in the AIP).
  
 
Short version (used in airport lists):
 
Short version (used in airport lists):
Line 35: Line 35:
  
 
== Technical information ==
 
== Technical information ==
The AIP is updated on a [[Aeronautical Information Publication#AIRAC effective dates (28-day cycle)|28-day cycle]] as per the [[ICAO]]. For the online version of the French AIPs this causes a change in the [[URL]] involving four numbers: the first two represent the year (07 for 2007) and the second two represent the current cycle (01 through 13). This template should be updated on the effective date for each new cycle. The following is a list of changes required in 2007 and 2008:
+
The AIP is updated on a [[Aeronautical Information Publication#AIRAC effective dates (28-day cycle)|28-day cycle]] as per the [[ICAO]]. For the online version of the French AIPs this causes a change in the [[URL]] involving the [[Aeronautical Information Regulation And Control|AIRAC]] effective date formatted as <code>YYYY-MM-DD</code>. This template uses the current date (presently {{CURRENTDAY}} {{CURRENTMONTHABBREV}} {{CURRENTYEAR}}) to calculate the effective date. The following is a list for the current and upcoming AIRAC cycles:
<tt>
 
* 0901 - Effective 18, Dec, 2008 to 15, Jan, 2009
 
* 0902 - Effective 15, Jan, 2009 to 12, Feb, 2009
 
* 0903 - Effective 12, Feb, 2009 to 12, Mar, 2009
 
* 0904 - Effective 12, Mar, 2009 to 09, Apr, 2009
 
* 0905 - Effective 09, Apr, 2009 to 07, May, 2009
 
* 0906 - Effective 07, May, 2009 to 04, Jun, 2009
 
* 0907 - Effective 04, Jun, 2009 to 02, Jul, 2009
 
* 0908 - Effective 02, Jul, 2009 to 30, Jul, 2009
 
* 0909 - Effective 30, Jul, 2009 to 27, Aug, 2009
 
* 0910 - Effective 27, Aug, 2009 to 24, Sep, 2009
 
* 0911 - Effective 24, Sep, 2009 to 22, Oct, 2009
 
* 0912 - Effective 22, Oct, 2009 to 19, Nov, 2009
 
* 0913 - Effective 19, Nov, 2009 to 17, Dec, 2009
 
* 1001 - Effective 17, Dec, 2009 to 14, Jan, 2010
 
* 1002 - Effective 14, Jan, 2010 to 11, Feb, 2010
 
* 1003 - Effective 11, Feb, 2010 to 11, Mar, 2010
 
* 1004 - Effective 11, Mar, 2010 to 08, Apr, 2010
 
* 1005 - Effective 08, Apr, 2010 to 06, May, 2010
 
* 1006 - Effective 06, May, 2010 to 03, Jun, 2010
 
* 1007 - Effective 03, Jun, 2010 to 01, Jul, 2010
 
* 1008 - Effective 01, Jul, 2010 to 29, Jul, 2010
 
* 1009 - Effective 29, Jul, 2010 to 26, Aug, 2010
 
* 1010 - Effective 26, Aug, 2010 to 23, Sep, 2010
 
* 1011 - Effective 23, Sep, 2010 to 21, Oct, 2010
 
* 1012 - Effective 21, Oct, 2010 to 18, Nov, 2010
 
* 1013 - Effective 18, Nov, 2010 to 16, Dec, 2010
 
* 1101 - Effective 16, Dec, 2010 to 13, Jan, 2011
 
</tt>
 
  
To find the current effective date and URL format, go to the [http://www.sia.aviation-civile.gouv.fr/html/frameset_aip_uk.htm Aeronautical Information Publications] page of the ''Service d'information aéronautique'' (SIA) website and view the AIP for an airport. If resulting page has a URL of <code><nowiki>http://</nowiki>www.sia.aviation-civile.gouv.fr/aip/enligne/PDF_AIPparSSection/VAC%20HELISTATIONS/AD/3/0811_AD-3.HABB.pdf</code>, then use <code>0811</code> in place the four digit number found in the template.
+
*<kbd><!--current-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364)/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364)/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+1-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*1))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*1))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*1))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*1))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*1))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+2-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*2))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*2))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*2))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*2))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*2))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+3-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*3))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*3))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*3))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*3))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*3))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+4-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*4))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*4))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*4))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*4))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*4))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+5-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*5))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*5))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*5))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*5))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*5))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+6-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*6))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*6))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*6))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*6))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*6))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+7-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*7))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*7))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*7))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*7))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*7))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+8-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*8))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*8))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*8))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*8))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*8))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+9-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*9))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*9))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*9))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*9))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*9))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+10-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*10))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*10))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*10))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*10))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*10))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+11-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*11))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*11))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*11))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*11))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*11))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
*<kbd><!--current+12-->{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*12))/28)-0.5 round 0)-1)*28+2454483}}}}}} — effective {{#time:d M Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*12))/28)-0.5 round 0)-1)*28+2454483}}}}}} (AIRAC cycle {{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*12))/364)-0.5 round 0)+7}}|2}}{{padleft:{{#expr:((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*12))/28)-0.5 round 0)-(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+364+(28*12))/364)-0.5 round 0)-1)*13}}|2}})</kbd>
 +
 
 +
If this template stops working, the most likely reason is that the URL format has changed. To find the current format, go to the [http://www.sia.aviation-civile.gouv.fr/html/frameset_aip_uk.htm Aeronautical Information Publications] page of the ''Service d'information aéronautique'' (SIA) website and view the AIP for an airport.
 +
 
 +
* The current format for airports in France is <code>https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_{{uc:{{#time:d_M_Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}}}/FRANCE/AIRAC-{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}/html/eAIP/FR-AD-2.LFMN-fr-FR.html</code>, where <code>{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}</code> is the current effective date and <code>LFMN</code> is the airport's ICAO location indicator.
 +
 
 +
* The current format for airports in French overseas territories is <code>https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_{{uc:{{#time:d_M_Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}}}/PAC-P/AIRAC-{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}/html/eAIP/FR-AD-2.NTAA-fr-FR.html</code>, where <code>{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}</code> is the current effective date, <code>NTAA</code> is the airport's ICAO location indicator and <code>PAC-P</code> is used for airports in French Polynesia. Other possibilities here are <code>CAR-SAM-NAM</code> for French Antilles (Guadeloupe, Martinique), French Guiana, or Saint-Pierre and Miquelon; <code>PAC-N</code> for New Caledonia or Wallis and Futuna; <code>RUN</code> for Réunion or Mayotte.
  
 
== See also ==
 
== See also ==
Line 82: Line 71:
  
 
; Similar templates
 
; Similar templates
* {{tl|AIP NL}}, external link to the Netherlands AIP for a specific airport (URL changes every 28 days).
+
* {{tl|AIP AU}}, creates an external link to the Australian AIP for a specific airport (URL changes 4 times per year).
 +
* {{tl|AIP IE}}, creates an external link to the Irish AIP for a specific airport.
 +
* {{tl|AIP NL}}, creates an external link to the Netherlands AIP for a specific airport (URL changes every 28 days).
 
* {{tl|FAA-diagram}}, creates an external link to the [[FAA]] airport diagram for a specific U.S. airport (URL changes every 28 days).
 
* {{tl|FAA-diagram}}, creates an external link to the [[FAA]] airport diagram for a specific U.S. airport (URL changes every 28 days).
 
* {{tl|FAA-procedures}}, creates an external link to the FAA terminal procedures for a specific U.S. airport (URL changes every 28 days).
 
* {{tl|FAA-procedures}}, creates an external link to the FAA terminal procedures for a specific U.S. airport (URL changes every 28 days).
  
 
== External links ==
 
== External links ==
*[http://www.sia.aviation-civile.gouv.fr/ ''Service d'information aéronautique'' (SIA)]
+
* [https://www.sia.aviation-civile.gouv.fr ''Service d'information aéronautique'' (SIA)], the French [[Aeronautical Information Service]]
**{{fr icon}} [http://www.sia.aviation-civile.gouv.fr/html/frameset_aip_fr.htm Publications d'information aéronautique (AIP)]
+
** [https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_{{uc:{{#time:d_M_Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}}}/FRANCE/AIRAC-{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}/html/index-fr-FR.html eAIP FRANCE] - effective {{#time:j F Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}
**{{en icon}} [http://www.sia.aviation-civile.gouv.fr/html/frameset_aip_uk.htm Aeronautical Information Publications (AIP)]
+
** [https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_{{uc:{{#time:d_M_Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}}}/CAR-SAM-NAM/AIRAC-{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}/html/index-fr-FR.html eAIP CAR-SAM-NAM] - effective {{#time:j F Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}
 +
** [https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_{{uc:{{#time:d_M_Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}}}/PAC-P/AIRAC-{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}/html/index-fr-FR.html eAIP PAC-P] - effective {{#time:j F Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}
 +
** [https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_{{uc:{{#time:d_M_Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}}}/PAC-N/AIRAC-{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}/html/index-fr-FR.html eAIP PAC-N] - effective {{#time:j F Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}
 +
** [https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_{{uc:{{#time:d_M_Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}}}/RUN/AIRAC-{{#time:Y-m-d|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}/html/index-fr-FR.html eAIP RUN] - effective {{#time:j F Y|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
<!--Categories-->
+
[[Category:Aviation external link templates]]
[[Category:Aviation external link templates|{{PAGENAME}}]]
 
<!--Interwiki links-->
 
  
</includeonly>
+
}}</includeonly>

Latest revision as of 17:06, 15 October 2020

This template generates an external link to the French Aeronautical Information Publication (AIP) for a specific airport. These links change every 28 days and the template calculates the correct URL based on the current date.

Airports in France

Parameters:

  1. (unnamed) – airport's ICAO location indicator, i.e. LFMN
  2. name (optional) – airport's location, i.e. NICE CÔTE D'AZUR (location and bold print are as shown in the AIP). Most airports show two locations: the first is the city served, second is the city where the airport is located.

Short version (used in airport lists):

Long version (used in airport articles):

Airports in French overseas territories

Parameters:

  1. (unnamed) – airport's ICAO location indicator, i.e. NTAA
  2. (unnamed) – AIP directory
  3. name (optional) – airport's location, i.e. TAHITI FAA'A (location and bold print are as shown in the AIP).

Short version (used in airport lists):

Long version (used in airport articles):

Technical information

The AIP is updated on a 28-day cycle as per the ICAO. For the online version of the French AIPs this causes a change in the URL involving the AIRAC effective date formatted as YYYY-MM-DD. This template uses the current date (presently 15 Jan 2026) to calculate the effective date. The following is a list for the current and upcoming AIRAC cycles:

  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2601)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2602)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2603)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2604)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2605)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2606)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2607)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2608)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2609)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2610)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2611)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2612)
  • Error: Invalid time. — effective Error: Invalid time. (AIRAC cycle 2613)

If this template stops working, the most likely reason is that the URL format has changed. To find the current format, go to the Aeronautical Information Publications page of the Service d'information aéronautique (SIA) website and view the AIP for an airport.

  • The current format for airports in France is https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_ERROR: INVALID TIME./FRANCE/AIRAC-Error: Invalid time./html/eAIP/FR-AD-2.LFMN-fr-FR.html, where Error: Invalid time. is the current effective date and LFMN is the airport's ICAO location indicator.
  • The current format for airports in French overseas territories is https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_ERROR: INVALID TIME./PAC-P/AIRAC-Error: Invalid time./html/eAIP/FR-AD-2.NTAA-fr-FR.html, where Error: Invalid time. is the current effective date, NTAA is the airport's ICAO location indicator and PAC-P is used for airports in French Polynesia. Other possibilities here are CAR-SAM-NAM for French Antilles (Guadeloupe, Martinique), French Guiana, or Saint-Pierre and Miquelon; PAC-N for New Caledonia or Wallis and Futuna; RUN for Réunion or Mayotte.

See also

Lists of airports
Similar templates
  • {{AIP AU}}, creates an external link to the Australian AIP for a specific airport (URL changes 4 times per year).
  • {{AIP IE}}, creates an external link to the Irish AIP for a specific airport.
  • {{AIP NL}}, creates an external link to the Netherlands AIP for a specific airport (URL changes every 28 days).
  • {{FAA-diagram}}, creates an external link to the FAA airport diagram for a specific U.S. airport (URL changes every 28 days).
  • {{FAA-procedures}}, creates an external link to the FAA terminal procedures for a specific U.S. airport (URL changes every 28 days).

External links