ഫലകം:USN flag
This template is used to insert the appropriate ensign for the United States Navy into infoboxes and other places where it's useful. The template was created because the Flag of the United States changed whenever a new state was admitted. The template's intent is to make getting the right ensign easier.
To use the template, insert the following where you'd like the ensign to appear:
- {{USN flag|year|width in pixels}}
Both parameters are optional. If you do not include a year, the current ensign will be displayed. If you do not include a width, the ensign will be the right size for use in a ship infobox. The ensign will have a 1-pixel white border around it to make it stand out clearly from the blue infobox. Here are some example uses:
Text | Result | Example |
---|---|---|
{{USN flag}} | Current ensign in infobox size (60 pixels wide) | |
{{USN flag|1945}} | 1945 ensign in infobox size (60 pixels wide) | |
{{USN flag|1865|20}} | 1865 ensign, 20 pixels wide | |
If you want to specify just a width, it is done like so: | ||
Text | Result | Example |
{{USN flag|2=20}} | Current ensign, 20 pixels wide | |
{{USN flag|2=100}} | Current ensign, 100 pixels wide |
A year should almost always be specified. Only leave it off when the ship is in service right now. A width should usually not be specified. Only specify a width when the template is being used someplace other than an infobox.
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 {{USN flag|1912}} 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, {{USN flag|1911}}.
മുകളിൽ കാണുന്ന വിവരണം ഫലകം:USN flag/വിവരണം എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |