Template:Country data Portugal: Difference between revisions
Jump to navigation
Jump to search
Template documentation
m (1 revision imported) |
m (1 revision imported) |
Latest revision as of 13:57, 22 December 2023
| 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 Portugal 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. |
Error creating thumbnail:
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
Portugal
| Main article name (Portugal) |
flag alias |
Flag of Portugal.svg |
Image name (File:Flag of Portugal.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
1248 | File:PortugueseFlag1248.svg | PortugueseFlag1248.svg |
1385 | File:PortugueseFlag1385.svg | PortugueseFlag1385.svg |
1495 | File:Flag Portugal (1495).svg | Flag Portugal (1495).svg |
1578 | File:Flag Portugal (1578).svg | Flag Portugal (1578).svg |
1640 | File:Flag Portugal (1640).svg | Flag Portugal (1640).svg |
1707 | File:Flag Portugal (1707).svg | Flag Portugal (1707).svg |
1750 | File:Flag of Portugal (1750).svg | Flag of Portugal (1750).svg |
1816 | File:Flag of the United Kingdom of Portugal, Brazil, and the Algarves.svg | Flag of the United Kingdom of Portugal, Brazil, and the Algarves.svg |
1830 | File:Flag Portugal (1830).svg | Flag Portugal (1830).svg |
civil | File:Flag Portugal sea (1830).svg | Flag Portugal sea (1830).svg |
air force | File:Portugal Air force fin flash.svg | Portugal Air force fin flash.svg |
army | File:Military flag of Portugal.svg | Military flag of Portugal.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 | {{flagcountry|alias}} output |
|---|---|---|
PRT (view) | Template:Country data PRT | Template:Country data PRT |
POR (view) | Template:Country data POR | Template:Country data POR |
See What links here for a full list of redirects.
Example usage
{{flag|Portugal}}→
Portugal{{flagicon|Portugal}}→
Using a flag variant
{{flag|Portugal|1248}}→ File:PortugueseFlag1248.svg Portugal{{flagicon|Portugal|1248}}→ File:PortugueseFlag1248.svg
Using a redirect alias
{{flagicon|PRT}}→ Template:Country data PRT{{flagcountry|PRT}}→ Template:Country data PRT{{flag|PRT}}→ Template:Country data PRT
Military ensigns
This nation's naval flag is the same as its national flag, so Template:Naval produces the following:
{{naval|Portugal}}→ Template:NavalTemplate:Break
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Portugal}}→ Template:Air force{{flagicon|Portugal|air force}}→ File:Portugal Air force fin flash.svgTemplate:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Portugal}}→ Template:Army{{flagicon|Portugal|army}}→ File:Military flag of Portugal.svg
Related templates
Please see the following related country_data templates:
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 Portugal in articles based on its TemplateData.
TemplateData for Country data Portugal
<templatedata> {
"description": "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.",
"params": {}
} </templatedata>