Template:Country data: Difference between revisions

From Hattrick
Jump to navigationJump to search
Jhattara (talk | contribs)
Created page with '{{#if: {{{country flag}}} | {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Unknown.png|border=border|alt=N/A|size={{{size|}}}}} | }} {{#if: {{{name}}} | N/A | …'
 
Para Para (talk | contribs)
m Undo revision 442265 by Para Para (talk)
Tag: Undo
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if: {{{country flag}}} |
{{ {{{1<noinclude>|country showdata</noinclude>}}}
  {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Unknown.png|border=border|alt=N/A|size={{{size|}}}}} |
| flag alias = Unknown.png
}} {{#if: {{{name}}} |
| alias =  
  N/A |
| size = {{{size|}}}
| name =
| altlink = {{{altlink|}}}
<noinclude>
| redir1 =
</noinclude>
}}<noinclude>
}}<noinclude>
{{documentation|docpage=Template:Country data/doc}}
{{DEFAULTSORT:*}}
{{DEFAULTSORT: }}
[[Category:Country data templates]]
[[Category:Country data templates]]
</noinclude>
</noinclude>

Latest revision as of 10:01, 6 August 2021

[edit] Template documentation

Template:Country data is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

Icon


Standard parameters

Parameter nameValueMeaningLink
name undefined! Main article name ([[]])
flag alias Unknown.png Flag icon(File:Unknown.png)

Example usage


* {{flag|}} [[|]]
* {{flaglink|}}
* {{flagicon|}}


This is the documentation for Template:Country data. It is automatically generated by Template:Country showdata.
Please purge the cache after making any changes to this template. [[Category:Country data templates|]]