Template:ID-USMil/doc: Difference between revisions
From WWII Archives
(Update.) |
Paul Sidle (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 17:55, 9 May 2023
No description yet available.
The template automatically sets the following categories: Category:Files created by the United States Armed Forces with known IDs or one of its subcategories:
- Category:Files created by the United States Army with known IDs (0)
- Category:Files created by the United States Navy with known IDs (0)
- Category:Files created by the United States Air Force with known IDs (0)
- Category:Files created by the United States Marine Corps with known IDs (0)
- Category:Files created by the United States Space Force with known IDs (0)
- Category:Files created by the United States Coast Guard with known IDs (0)
- Category:Files created by the United States National Guard with known IDs (0)
- Category:Files created by the United States Department of Defense with known IDs (0)
- Category:Files created by the United States Department of State with known IDs (0)
- Category:Files created by the United States Department of Homeland Security with known IDs (0)
- Category:Files created by the United States Executive Office of the President with known IDs (0)
Where this would be undesirable, e.g. when presenting usage examples such as the one below, this categorization can be suppressed by including the optional parameter "category=" (with nothing after the equals sign).
Pages using this template with invalid or unrecognized parameters will be categorized in Category:Incorrect ID-USMil files.
Usage
{{ID-USMil |1= |2= |url= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | ID | The individual ID for every image. See Commons:VIRIN for details. | empty | required |
2 | organization | Which U.S. military organization has taken this image. Will be used to subcategorize the image. Valid values are:
| Armed Forces | optional |
url | source URL | A URL pointing to the source of the image. | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: In the "⧼wm-license-information-source⧽" parameter of the {{Information}} template (or the respective parameter of similar templates) or just below this template
Example
{{ID-USMil|030206-M-5753Q-008|Marine Corps|url=http://www.navy.mil/view_image.asp?id=5011}}
renders as:
File:USMC logo.svg |
030206-M-5753Q-008 (next).
|
File:Flag of the United States.svg |
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:ID-USMil/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:ID-USMil/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang
from en
(or whatever language you are translating) to the language code of your language.