Template:Country data Washington, D.C.
File:Test Template Info-Icon - Version (2).svg Template documentation
Warning | This template is used on approximately 2,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
File:Exclamationdiamond.svg | Template:Country data Washington, D.C. is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flag icon , and others. |
File:Information icon4.svg | This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
Washington, D.C.
| Main article name (Washington, D.C.) |
shortname alias |
Washington |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of Washington, D.C.svg |
Image name (File:Flag of Washington, D.C.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1888 | File:Flag of Washington, D.C. (1888).png | Flag of Washington, D.C. (1888).png |
1917 | File:Flag of Washington, D.C. (1917).png | Flag of Washington, D.C. (1917).png |
1937 | File:Flag of Washington, D.C. (1937).png | Flag of Washington, D.C. (1937).png |
1938 | File:Flag of Washington, D.C. (1938).svg | Flag of Washington, D.C. (1938).svg |
naval | File:Flag of the Metropolitan Police Department of the District of Columbia.png | Flag of the Metropolitan Police Department of the District of Columbia.png |
navy | File:Flag of the Metropolitan Police Department of the District of Columbia.png | Flag of the Metropolitan Police Department of the District of Columbia.png |
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
---|---|---|
District of Columbia (view) | Template:Country data District of Columbia | Template:Country data District of Columbia |
See What links here for a full list of redirects.
Example usage
{{flag|Washington, D.C.}}
→ File:Flag of Washington, D.C.svg Washington, D.C.{{flag icon|Washington, D.C.}}
→ Washington, D.C.{{flagcountry|Washington, D.C.}}
→ File:Flag of Washington, D.C.svg Washington
Using a flag variant
{{flag|Washington, D.C.|1888}}
→ File:Flag of Washington, D.C. (1888).png Washington, D.C.{{flag icon|Washington, D.C.|1888}}
→ Washington, D.C.
Using a redirect alias
{{flag icon|District of Columbia}}
→ Template:Country data District of Columbia{{flagcountry|District of Columbia}}
→ Template:Country data District of Columbia{{flag|District of Columbia}}
→ Template:Country data District of Columbia
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Washington, D.C.}}
→ File:Flag of the Metropolitan Police Department of the District of Columbia.png Metropolitan Police Department of the District of Columbia{{flag icon|Washington, D.C.|naval}}
→ Washington, D.C.
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|Washington, D.C.}}
→ File:Flag of Washington, D.C.svg District of Columbia Air National Guard
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Washington, D.C.}}
→ File:Flag of the Metropolitan Police Department of the District of Columbia.png Metropolitan Police Department of the District of Columbia{{flag icon|Washington, D.C.|navy}}
→ Washington, D.C.
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Washington, D.C.}}
→ File:Flag of Washington, D.C.svg District of Columbia Army National Guard
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data Washington, D.C. in articles based on its TemplateData.
TemplateData for Country data Washington, D.C.
<templatedata> {
"description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.", "params": {}
} </templatedata>