Template:USN flag/doc

This template is used to select the appropriate ensign of the United States Navy for the  parameter of Infobox Ship Career. The template was created because the flag of the United States changed whenever a new state was admitted to the union. The template's intent is to make getting the right ensign easier.


 * Usage:

The year parameter is optional; if absent, the current (since July 4, 1960) ensign is displayed. The image is rendered at 100x35px pixel size, which is the default standard also used by Shipboxflag for the same usage.

Also, a nitpicky usage note. The template displays the flag used at the end of the specified year. For example, the US flag changed from 46 to 48 stars on July 4, 1912. If you use  in an article, it will display the 48-star flag. If you want a 46-star flag for a ship that only served in early 1912, use the previous year's flag,.

Also see navy for an alternate method of rendering historical United States flags, but in icon size and with a wikilink to the United States Navy article. For example,  will produce.