Template:Country data Scotland: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '{{#if: {{{country flag}}} | {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Scotland.gif|border=border|alt=Scotland|size={{{size|}}}}} | }} {{#if: {{{name}}} | …' |
as optional: full size flag, logo flags, alt name |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| name = Scotland | |||
| alias = Scotland | |||
| flag alias = Flagicon Scotland.png | |||
| flag full = Flag of Scotland.PNG | |||
| flag logo = Country data Scotland.png | |||
{{DEFAULTSORT:Scotland}} | | size = {{{size|}}} | ||
| altlink = {{{alt|}}} | |||
<noinclude> | |||
| redir1 = SCO | |||
| redir2 = Alba | |||
</noinclude>}}<noinclude>{{DEFAULTSORT:Scotland}} | |||
[[Category:Country data templates]] | [[Category:Country data templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:40, 20 April 2020
[edit]
Template documentation
Template:Country data Scotland 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 | Scotland | Main article name | (Scotland) |
| alias | Scotland | English name | - |
| flag alias | Flagicon Scotland.png | Flag icon | (File:Flagicon Scotland.png) |
| flag full | Flag of Scotland.PNG | Full size flag | (File:Flag of Scotland.PNG) |
| flag logo | Country data Scotland.png | "Ball" logo flag | (File:Country data Scotland.png) |
Example usage
| * {{flag|Scotland}} → | |
| * {{flaglink|Scotland}} → | |
| * {{flagicon|Scotland}} → | |
| * {{flagfull|Scotland|showlink}} → |
Scotland |
| * {{flaglogo|Scotland|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 |
|---|---|---|
| SCO (view) | ||
| Alba (view) | Template:Country data Alba | Template:Country data Alba |
Using a redirect alias
- {{flagicon|SCO}} →

- {{flaglink|SCO}} →

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