Template:Country data Morocco
File:Test Template Info-Icon - Version (2).svg Template documentation
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.
| 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 |
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 | File:Flag of Morocco 1666 1915.svg | 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 |
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
Redirect aliases
| 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}}→ File:Flag of Morocco (780 1070) (1258 1659).svg Morocco{{flagicon|Morocco|780}}→ Morocco
Using a redirect alias
{{flagicon|MAR}}→ Template:Country data MAR{{flagcountry|MAR}}→ Template:Country data MAR{{flag|MAR}}→ Template:Country data MAR
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 Morocco in articles based on its 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 | ||||||