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

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(correct list of updates for each 2012 AIRAC cycle)
blackwiki>Zyxw
(Update documentation to reflect template being updated to automatically calculate current publication date and effective date.)
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 Netherlands [[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 is used to generate an external link to the Netherlands [[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.
  
Parameters:
+
== Parameters ==
# (unnamed) - airport's ICAO location identifier, i.e. EHAM
+
# (unnamed) airport's ICAO location identifier, i.e. EHAM
# ''name'' (optional) - airport's location, i.e. AMSTERDAM/Schiphol (as shown in the AIP).
+
# ''name'' (optional) airport's location, i.e. AMSTERDAM/Schiphol (as shown in the AIP).
  
 +
== Examples ==
 
Short version (used in airport lists):
 
Short version (used in airport lists):
 
* Usage: <code><nowiki>{{AIP_NL|EHAM}}</nowiki></code>
 
* Usage: <code><nowiki>{{AIP_NL|EHAM}}</nowiki></code>
Line 16: Line 17:
  
 
== 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 Netherlands AIPs this causes a change in the [[URL]] involving two dates in formatted as <code>YYMMDD-YYMMDD</code>, where the first is the publication date and the second is the [[Aeronautical Information Regulation And Control|AIRAC]] effective date. The publication date is 42 days prior to the effective date. This template should be updated before the effective date for each new cycle. The following is list of changes required for 2012.
+
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 Netherlands AIPs this causes a change in the [[URL]] involving two dates in formatted as <code>YYMMDD-YYMMDD</code>, where the first is the publication date and the second is the [[Aeronautical Information Regulation And Control|AIRAC]] effective date. The publication date is 42 days prior to the effective date. This template uses the current date (presently {{CURRENTDAY}} {{CURRENTMONTHABBREV}} {{CURRENTYEAR}}) to calculate the publication date and effective date. The following is a list for the current and upcoming AIRAC cycles:
 
 
'''AIRAC effective dates for 2012:'''
 
 
<tt>
 
<tt>
# 111201-120112 — effective 12 Jan 2012
+
*<!--current-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 111229-120209 — effective 09 Feb 2012
+
*<!--current+1-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*1))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 120126-120308 — effective 08 Mar 2012
+
*<!--current+2-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*2))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 120223-120405 — effective 05 Apr 2012
+
*<!--current+3-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*3))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 120322-120503 — effective 03 May 2012
+
*<!--current+4-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*4))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 120419-120531 — effective 31 May 2012
+
*<!--current+5-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*5))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 120517-120628 — effective 28 Jun 2012
+
*<!--current+6-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*6))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 120614-120726 — effective 26 Jul 2012
+
*<!--current+7-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*7))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 120712-120823 — effective 23 Aug 2012
+
*<!--current+8-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*8))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 120809-120920 — effective 20 Sep 2012
+
*<!--current+9-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*9))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 120906-121018 — effective 18 Oct 2012
+
*<!--current+10-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*10))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 121004-121115 — effective 15 Nov 2012
+
*<!--current+11-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*11))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
# 121101-121213 — effective 13 Dec 2012
+
*<!--current+12-->{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28+(28*12))/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{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}})
 
</tt>
 
</tt>
  
To find the current effective date and URL format, go to the [http://www.ais-netherlands.nl/aim/ Electronic AIS publications] page of the AIS Netherlands website and select the "Integrated Package" link. If the URL is <code><nowiki>http://www.ais-netherlands.nl/aim/091203-100114/eAIP/html/index-en-GB.html</nowiki></code>, then use <code>091203-100114</code> in place of the dates found in the template. For a list of upcoming publication and effective dates, use the menu on the left side of that page; click on ''GEN 3 SERVICES'', then ''GEN 3.1 AERONAUTICAL INFORMATION SERVICES''.
+
To find the current URL format, go to the [http://www.ais-netherlands.nl/aim/ Electronic AIS publications] page of the AIS Netherlands website and select the "Integrated Aeronautical Information Package" link. For a list of upcoming publication and effective dates, use the menu on the left side of that page; click on ''GEN 3 SERVICES'', then ''[http://www.ais-netherlands.nl/aim/{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483-42}}}}}}-{{#time:ymd|{{JULIANDAY.TIMESTAMP|{{#expr:(((({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-2454483+28)/28)-0.5 round 0)-1)*28+2454483}}}}}}/eAIP/html/eAIP/EH-GEN-3.1-en-GB.html GEN 3.1 AERONAUTICAL INFORMATION SERVICES]''.
  
 
== See also ==
 
== See also ==
 +
* [[Aeronautical Information Publication#AIRAC effective dates (28-day cycle)]]
 
* [[List of airports in the Netherlands]]
 
* [[List of airports in the Netherlands]]
  
 
; Similar templates
 
; Similar templates
* {{tl|AIP AU}}, creates an external link to the Australian AIP for a specific airport (URL changes 4 times per year).
+
* {{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 IE}}, creates an external link to the Irish AIP for a specific airport
* {{tl|AIP FR}}, creates an external link to the French AIP for a specific airport (URL changes every 28 days).
+
* {{tl|AIP FR}}, creates an external link to the French 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.ais-netherlands.nl/ AIS the Netherlands]
 
*[http://www.ais-netherlands.nl/ AIS the Netherlands]
 
**[http://www.ais-netherlands.nl/aim/ Electronic AIS publications]
 
**[http://www.ais-netherlands.nl/aim/ Electronic AIS publications]
 
 
<includeonly>
 
<includeonly>
 
<!--Categories-->
 
<!--Categories-->

Revision as of 00:38, 18 May 2012

This template is used to generate an external link to the Netherlands 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.

Parameters

  1. (unnamed) – airport's ICAO location identifier, i.e. EHAM
  2. name (optional) – airport's location, i.e. AMSTERDAM/Schiphol (as shown in the AIP).

Examples

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 Netherlands AIPs this causes a change in the URL involving two dates in formatted as YYMMDD-YYMMDD, where the first is the publication date and the second is the AIRAC effective date. The publication date is 42 days prior to the effective date. This template uses the current date (presently 14 Jan 2026) to calculate the publication date and effective date. The following is a list for the current and upcoming AIRAC cycles:

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

To find the current URL format, go to the Electronic AIS publications page of the AIS Netherlands website and select the "Integrated Aeronautical Information Package" link. For a list of upcoming publication and effective dates, use the menu on the left side of that page; click on GEN 3 SERVICES, then Error: Invalid time.-Error: Invalid time./eAIP/html/eAIP/EH-GEN-3.1-en-GB.html GEN 3.1 AERONAUTICAL INFORMATION SERVICES.

See also

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 FR}}, creates an external link to the French 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