Template:Country data Portugal: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '{{#if: {{{country flag}}} | {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Portugal.gif|border=border|alt=Portugal|size={{{size|}}}}} | }} {{#if: {{{name}}} | …' |
as optional: full size flag, logo flag, alt name |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| name = Portugal | |||
| alias = Portugal | |||
| flag alias = Flagicon Portugal.png | |||
| flag full = Flag of Portugal.PNG | |||
| flag logo = Country data Portugal.png | |||
{{DEFAULTSORT:Portugal}} | | size = {{{size|}}} | ||
| altlink = {{{alt|}}} | |||
<noinclude> | |||
| redir1 = POR | |||
</noinclude>}}<noinclude>{{DEFAULTSORT:Portugal}} | |||
[[Category:Country data templates]] | [[Category:Country data templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:29, 1 March 2020
[edit]
Template documentation
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 | Link |
|---|---|---|---|
| name | Portugal | Main article name | (Portugal) |
| alias | Portugal | English name | - |
| flag alias | Flagicon Portugal.png | Flag icon | (File:Flagicon Portugal.png) |
| flag full | Flag of Portugal.PNG | Full size flag | (File:Flag of Portugal.PNG) |
| flag logo | Country data Portugal.png | "Ball" logo flag | (File:Country data Portugal.png) |
Example usage
| * {{flag|Portugal}} → | |
| * {{flaglink|Portugal}} → | |
| * {{flagicon|Portugal}} → | |
| * {{flagfull|Portugal|showlink}} → |
Portugal |
| * {{flaglogo|Portugal|size=x60px}} → |
|
Redirect
This template can also be used via an alternative name (up to 5 and implemented as a redirect to this template):| Alternative name | {{flag|alias}} output | {{flaglink|alias}} output |
|---|---|---|
| POR (view) |
Using a redirect alias
- {{flagicon|POR}} →

- {{flaglink|POR}} →

- {{flag|POR}} →
Portugal
This is the documentation for Template:Country data Portugal. It is automatically generated by Template:Country showdata.
Please after making any changes to this template.