Template:Country data Portugal: Difference between revisions
wp>Paine Ellsworth per edit request on talk page - update to official flag |
RandomUser34 (talk | contribs) m 1 revision imported |
(No difference)
| |
Latest revision as of 04:51, 15 February 2026
| This template is used on approximately 116,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. 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, 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 |
Portugal |
Main article name (Portugal) |
flag alias |
Flag of Portugal (official).svg |
Image name (File:Flag of Portugal (official).svg, shown on right) |
Flag variants
Redirect aliases
| Alias name | {{flag|alias}} output | {{flag country|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{{flag icon|Portugal}}→
Using a flag variant
{{flag|Portugal|1248}}→
Portugal{{flag icon|Portugal|1248}}→
Using a redirect alias
{{flag icon|PRT}}→ Template:Country data PRTTemplate:Namespace detect showall{{flag country|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{{flag icon|Portugal|air force}}→
Template:Break
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Portugal}}→ Template:Marines{{flag icon|Portugal|marines}}→
Template:Break
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Portugal}}→ Template:Navy{{flag icon|Portugal|navy}}→
Template:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Portugal}}→ Template:Army{{flag icon|Portugal|army}}→
Related templates
Please see the following related country_data templates:
TemplateData
TemplateData for Country data Portugal
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 | ||||||