Template:Country data Morocco: Difference between revisions
|  (Per edit request) | 
| (No difference) | 
Revision as of 11:54, 4 November 2023
 Template documentation
 Template documentation|  | This template is used on approximately 44,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. | 
| Notice | Template:Country data Moroccois an internal data container not intended to be transcluded directly. It is used indirectly by templates such asflag,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
| Label | Flag image (40px) | Image name | 
|---|---|---|
| 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 | File:Flag of the Royal Moroccan Armed Forces.svg | Flag of the Royal Moroccan Armed Forces.svg | 
| navy | File:Flag of the Royal Moroccan Navy.svg | Flag of the Royal Moroccan Navy.svg | 
| air force | File:Flag of the Royal Moroccan Air Force.png | Flag of the Royal Moroccan Air Force.png | 
| army | File:Flag of the Royal Moroccan Army.svg | Flag of the Royal Moroccan Army.svg | 
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):| Alias name | {{flag|alias}}output | {{flag country|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}}→ File:Flag of Morocco.svg Morocco
- {{flag icon|Morocco}}→ File:Flag of Morocco.svg
Using a flag variant
- {{flag|Morocco|1666}}→ File:Flag of Morocco (1666–1915).svg Morocco
- {{flag icon|Morocco|1666}}→ File:Flag of Morocco (1666–1915).svg
Using a redirect alias
- {{flag icon|MAR}}→ Template:Country data MAR
- {{flag country|MAR}}→ Template:Country data MAR
- {{flag|MAR}}→ Template:Country data MAR
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
- {{naval|Morocco}}→ Template:Naval
- {{flag icon|Morocco|naval}}→ File:Naval Ensign of Morocco.svg
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|Morocco}}→ File:Flag of the Royal Moroccan Air Force.png Royal Moroccan Air Force
- {{flag icon|Morocco|air force}}→ File:Flag of the Royal Moroccan Air Force.png
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
- {{Armed forces|Morocco}}→ Template:Armed forces
- {{flag icon|Morocco|military}}→ File:Flag of the Royal Moroccan Armed Forces.svg
This template includes an ensign flag variant that can be used with Template:Navy:
- {{navy|Morocco}}→ Template:Navy
- {{flag icon|Morocco|navy}}→ File:Flag of the Royal Moroccan Navy.svg
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
- {{flag icon|Morocco|army}}→ File:Flag of the Royal Moroccan Army.svg
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 | ||||||