Appearance
| This template is used on approximately 2,500 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. |
Template:Country data British Raj is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flag icon, and others. |
| 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 |
British Raj |
Main article name (British Raj) |
shortname alias |
India |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
British Raj Red Ensign.svg |
Image name (File:British Raj Red Ensign.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
Viceroy | Error creating thumbnail: | India-Viceroy-1885.svg |
naval-1928 | File:Naval ensign of the United Kingdom.svg | Naval ensign of the United Kingdom.svg |
naval | File:Flag of Imperial India.svg | Flag of Imperial India.svg |
navy | File:Flag of Imperial India.svg | Flag of Imperial India.svg |
air force | File:Air Force Ensign of India (1945–1947).svg | Air Force Ensign of India (1945–1947).svg |
army | File:Ensign of the Royal Indian Army Service Corps.svg | Ensign of the Royal Indian Army Service Corps.svg |
Redirect aliases
| Alias name | {{flag|alias}} output | {{flag country|alias}} output |
|---|---|---|
British India (view) | Error creating thumbnail: British India | Error creating thumbnail: India |
See What links here for a full list of redirects.
Example usage
{{flag|British Raj}}→ Error creating thumbnail: British Raj{{flag icon|British Raj}}→ Error creating thumbnail:{{flag country|British Raj}}→ Error creating thumbnail: India
Using a flag variant
{{flag|British Raj|Viceroy}}→ Error creating thumbnail: British Raj{{flag icon|British Raj|Viceroy}}→ Error creating thumbnail:
Using a redirect alias
{{flag icon|British India}}→ Error creating thumbnail:{{flag country|British India}}→ Error creating thumbnail: India{{flag|British India}}→ Error creating thumbnail: British India
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|British Raj}}→ File:Flag of Imperial India.svg Royal Indian Navy{{flag icon|British Raj|naval}}→ British Raj
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|British Raj}}→ File:Air Force Ensign of India (1945–1947).svg Royal Indian Air Force{{flag icon|British Raj|air force}}→ British Raj
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|British Raj}}→ File:Flag of Imperial India.svg Royal Indian Navy{{flag icon|British Raj|navy}}→ British Raj
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|British Raj}}→ File:Ensign of the Royal Indian Army Service Corps.svg British Indian Army{{flag icon|British Raj|army}}→ British Raj
Related templates
Please see the following related country_data templates:
- Template:Country data IndiaFile:Flag of India.svg India
- Template:Country data Dominion of IndiaFile:Flag of India.svg Dominion of India
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 British Raj in articles based on its TemplateData.
TemplateData for Country data British Raj
<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>
Categories:
- Pages with broken file links
- Country data templates of former British colonies
- Country data templates of Bangladesh
- Country data templates of India
- Country data templates of Pakistan
- Country data templates of Myanmar
- Templates using TemplateData
- Country data templates with documentation subpage
- All country data templates
- Country data templates with distinct shortname