Template:Country data Morocco
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 | |
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}}→
Morocco 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 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) | Template:Country data MAR | Template:Country data MAR |
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
{{flagicon|MAR}}→ Template:Country data MAR{{flagcountry|MAR}}→ Template:Country data MAR{{flag|MAR}}→ Template:Country data MAR
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 | ||||||