Template:Country data Canada: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '{{#if: {{{country flag}}} | {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Canada.gif|border=border|alt=Canada|size={{{size|}}}}} | }} {{#if: {{{name}}} | [[Ca…' |
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 = Canada | |||
| alias = Canada | |||
| flag alias = Flagicon Canada.png | |||
| flag full = Flag of Canada.PNG | |||
| flag logo = Country data Canada.png | |||
{{DEFAULTSORT:Canada}} | | size = {{{size|}}} | ||
| altlink = {{{alt|}}} | |||
<noinclude> | |||
| redir1 = CAN | |||
</noinclude>}}<noinclude>{{DEFAULTSORT:Canada}} | |||
[[Category:Country data templates]] | [[Category:Country data templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:40, 30 March 2020
[edit]
Template documentation
Template:Country data Canada 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 | Canada | Main article name | (Canada) |
| alias | Canada | English name | - |
| flag alias | Flagicon Canada.png | Flag icon | (File:Flagicon Canada.png) |
| flag full | Flag of Canada.PNG | Full size flag | (File:Flag of Canada.PNG) |
| flag logo | Country data Canada.png | "Ball" logo flag | (File:Country data Canada.png) |
Example usage
| * {{flag|Canada}} → | |
| * {{flaglink|Canada}} → | |
| * {{flagicon|Canada}} → | |
| * {{flagfull|Canada|showlink}} → |
Canada |
| * {{flaglogo|Canada|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 |
|---|---|---|
| CAN (view) |
Using a redirect alias
- {{flagicon|CAN}} →

- {{flaglink|CAN}} →

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