en.wikipedia.org

Template:Country data Portugal - Wikipedia

Permanently protected template

From Wikipedia, the free encyclopedia

Template documentation

WarningThis template is used on approximately 105,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.
See also: Flag of Portugal

Standard parameters

Parameter nameValueMeaning
alias Portugal Main article name (Portugal)
flag alias Flag of Portugal.svg Image name (File:Flag of Portugal.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
1248PortugueseFlag1248.svg
1385PortugueseFlag1385.svg
1495Flag Portugal (1495).svg
1578Flag Portugal (1578).svg
1640Flag Portugal (1640).svg
1707Flag Portugal (1707).svg
1750Flag of Portugal (1750).svg
1816Flag of the United Kingdom of Portugal, Brazil, and the Algarves.svg
1830Flag Portugal (1830).svg
civilFlag Portugal sea (1830).svg
marinesNaval Jack of Portugal.svg
navyNaval Jack of Portugal.svg
air forcePortugal Air force fin flash.svg
armyMilitary 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{{flag country|alias}} output
PRT (view) PRT Portugal
POR (view) POR Portugal

See What links here for a full list of redirects.

Example usage

Using a flag variant

Using a redirect alias

Military ensigns

This nation's naval flag is the same as its national flag, so Template:Naval produces the following:

This template includes an air force ensign flag variant that can be used with Template:Air force:

This template includes a marine ensign flag variant that can be used with Template:Marines:

This template includes an ensign flag variant that can be used with Template:Navy:

This template includes an army ensign flag variant that can be used with Template:Army:

Please see the following related country_data templates:

Other information

Country_data templates are also available for the two autonomous regions of Portugal:

TemplateData

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified

This is the documentation for Template:Country data Portugal. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please purge the cache after making any changes to this template.
This template has a /doc subpage for the purposes of categories and documentation specific to this template.