Template:Country data Morocco
| This template is used on approximately 28,000 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 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 | Flag of Morocco (780 1070) (1258 1659).svg | |
1073 | Flag of Morocco 1073 1147.svg | |
1147 | Flag of Morocco 1147 1269.svg | |
1258 | Flag of Morocco 1258 1659.svg | |
1666 | Flag of Morocco (1666–1915).svg | |
1913 | Flag of Spanish Morocco.svg | |
civil | Civil Ensign of Morocco.svg | |
naval | Naval Ensign of Morocco.svg | |
navy | Naval Ensign of Morocco.svg | |
army | File:Flag of the Royal Moroccan Army.svg | Flag of the Royal Moroccan Army.svg |
Redirect aliases
| 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}}→
Morocco{{flagicon|Morocco|780}}→
Using a redirect alias
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Morocco}}→
Royal Moroccan Navy{{flagicon|Morocco|naval}}→
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 ensign flag variant that can be used with Template:Navy:
{{navy|Morocco}}→
Royal Moroccan Navy{{flagicon|Morocco|navy}}→
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
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 Wikipedia:WikiProject Flag Template for further documentation.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||