Template:Country data Portugal: Difference between revisions
meta>Get It mNo edit summary |
meta>Andrwsc "naval" is reserved for ensigns not jacks, and there is no template to parse a "military" alias |
||
| Line 8: | Line 8: | ||
| flag alias-1707 = Flag Portugal (1707).svg | | flag alias-1707 = Flag Portugal (1707).svg | ||
| flag alias-1830 = Flag Portugal (1830).svg | | flag alias-1830 = Flag Portugal (1830).svg | ||
| link alias-naval = Portuguese Navy | | link alias-naval = Portuguese Navy | ||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| Line 23: | Line 20: | ||
| var5 = 1707 | | var5 = 1707 | ||
| var6 = 1830 | | var6 = 1830 | ||
| redir1 = PRT | | redir1 = PRT | ||
| redir2 = POR | | redir2 = POR | ||
Revision as of 05:55, 17 September 2007
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.

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 | PortugueseFlag1248.svg | |
1385 | PortugueseFlag1385.svg | |
1578 | Flag Portugal (1578).svg | |
1640 | Flag Portugal (1640).svg | |
1707 | Flag Portugal (1707).svg | |
1830 | Flag Portugal (1830).svg |
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{Navy|Portugal}}→
Portuguese Navy
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) | ||
POR (view) |
See What links here for a full list of redirects.
Example usage
{{Flag|Portugal}}→
Portugal{{Flagicon|Portugal}}→
Using a flag variant
{{Flag|Portugal|1248}}→
Portugal{{Flagicon|Portugal|1248}}→
Using a redirect alias
Other information
Country_data templates are also available for the two autonomous regions of Portugal:
| Template:Country data Azores | |
| Template:Country data Madeira |
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:Flagicon. 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 | ||||||