Template:Country data Morocco is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, 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 |
Morocco
| Main article name (Morocco) |
flag alias |
Flag of Morocco.svg |
Image name (File:Flag of Morocco.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
780 | File:Flag of Morocco (780 1070) (1258 1659).svg | Flag of Morocco (780 1070) (1258 1659).svg |
1073 | File:Flag of Morocco 1073 1147.svg | Flag of Morocco 1073 1147.svg |
1147 | File:Flag of Morocco 1147 1269.svg | Flag of Morocco 1147 1269.svg |
1258 | File:Flag of Morocco 1258 1659.svg | Flag of Morocco 1258 1659.svg |
1666 | Flag of Morocco (1666–1915).svg | |
1913 | File:Flag of Spanish Morocco.svg | Flag of Spanish Morocco.svg |
civil | File:Civil Ensign of Morocco.svg | Civil Ensign of Morocco.svg |
naval | File:Naval Ensign of Morocco.svg | Naval Ensign of Morocco.svg |
army | File:Flag of the Royal Moroccan Army.svg | Flag of the Royal Moroccan Army.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{navy|Morocco}}→ File:Naval Ensign of Morocco.svg Royal Moroccan Navy{{flagicon|Morocco|naval}}→ Morocco
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|Morocco}}→Royal Moroccan Air Force
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Morocco}}→ File:Flag of the Royal Moroccan Army.svg Royal Moroccan Army{{flagicon|Morocco|army}}→ Morocco
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 |
|---|---|---|
MAR (view) |
See What links here for a full list of redirects.
Example usage
{{flag|Morocco}}→Morocco
{{flagicon|Morocco}}→
Using a flag variant
{{flag|Morocco|780}}→ File:Flag of Morocco (780 1070) (1258 1659).svg Morocco{{flagicon|Morocco|780}}→ Morocco
Using a redirect alias
TemplateData
TemplateData for Country data Morocco
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Bharatpedia:WikiProject Flag Template for further documentation.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||