Extension:IconLink

PUBLIC LAW 104-201—SEPT. 23, 1996 110 STAT. 2519 "3963. Highest grade held satisfactorily: Reserve enlisted members reduced in grade not as a result of the member's misconduct.". (b) NAVY AND MARINE CORPS. —(1) Chapter 571 of title 10, United States Code, is amended by adding at the end the following new section: §6336. Highest grade held satisfactorily: Reserve enlisted members reduced in grade not as a result of the member's misconduct "(a) A member of the Naval Reserve or Marine Corps Reserve described in subsection (b) who is transferred to the Fleet Reserve or the Fleet Marine Corps Reserve under section 6330 of this title shall be transferred in the highest enlisted grade in which the member served on active duty satisfactorily, as determined by the Secretary of the Navy. "(b) This section applies to a Reserve enlisted member who— Applicability. "(1) at the time of transfer to the Fleet Reserve or Fleet Marine Corps Reserve is serving on active duty in a grade lower than the highest enlisted grade held by the member while on active duty; and "(2) was previously administratively reduced in grade not as a result of the member's own misconduct, as determined by the Secretary of the Navy. "(c) This section applies with respect to enlisted members of Applicability. the Naval Reserve and Marine Corps Reserve who are transferred to the Fleet Reserve or the Fleet Marine Corps Reserve after September 30, 1996.". (2) The table of sections at the beginning of such chapter is amended by adding at the end the following new item: "6336. Highest grade held satisfactorily: Reserve enlisted members reduced in grade not as a result of the member's misconduct.". (c) AIR FORCE.— (1) Chapter 869 of title 10, United States Code, is amended by inserting after section 8962 the following new section: §8963. Highest grade held satisfactorily: Reserve enlisted members reduced in grade not as a result of the member's misconduct "(a) A Reserve enlisted member of the Air Force described in subsection (b) who is retired under section 8914 of this title shall be retired in the highest enlisted grade in which the member served on active duty satisfactorily (or, in the case of a member of the National Guard, in which the member served on full-time National Guard duty satisfactorily), as determined by the Secretary of the Air Force. "(b) This section applies to a Reserve enlisted member who— Applicabihty. "(1) at the time of retirement is serving on active duty (or, in the case of a member of the National Guard, on fulltime National Guard duty) in a grade lower than the highest enlisted grade held by the member while on active duty (or full-time National Guard duty); and "(2) was previously administratively reduced in grade not as a result of the member's own misconduct, as determined by the Secretary of the Air Force. "(c) This section applies with respect to Reserve enlisted mem- Applicability. bers who are retired under section 8914 of this title after September 30, 1996.".

The IconLink extension places an icon in front of an external link. By default the favicon image of the linked site is used but it's also possible to specify the URL of an image to show instead. The width and height of the icon can also be specified. Therefore this extension can be seen as an enhanced version of Extension:FaviconLink, but implemented as a parser function so that it can be used in templates too.

Usage
where
 * url is the URL you want to create a link to
 * description is the text to show instead of the URL (optional)
 * icon is the URL of the image to show before the link (optional); if omitted, the favicon of the site you're linking is shown
 * width and height define the dimensions of the icon (both optional); if omitted, the icon will have a size of 16x16 pixels

Requirements
The extension needs at least PHP 5.x ( function get_headers ).

Download instructions
Please cut and paste the code found below and place it in.

Installation
To install this extension, add the following to LocalSettings.php: