Template:Country data Morocco
| This template is used on approximately 50,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, 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 |
Morocco
| Main article name (Morocco) |
flag alias |
Flag of Morocco.svg |
Image name (File:Flag of Morocco.svg, shown on right) |
Flag variants
Redirect aliases
| Alias name | {{flag|alias}} output | {{flag country|alias}} output |
|---|---|---|
MAR (view) |
See What links here for a full list of redirects.
Example usage
{{flag|Morocco}}→
Morocco{{flag icon|Morocco}}→
Using a flag variant
{{flag|Morocco|1666}}→
Morocco{{flag icon|Morocco|1666}}→
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{{flag icon|Morocco|naval}}→
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Morocco}}→
Royal Moroccan Air Force{{flag icon|Morocco|air force}}→
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Morocco}}→
Royal Moroccan Armed Forces{{flag icon|Morocco|military}}→
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Morocco}}→
Royal Moroccan Navy{{flag icon|Morocco|navy}}→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Morocco}}→
Royal Moroccan Army{{flag icon|Morocco|army}}→
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:Flag icon. 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 | ||||||