Template:Country data Andorra: 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=Flag Andorra.png|border=border|alt=Andorra|size={{{size|}}}}} | }} {{#if: {{{name}}} |…'
 
Para Para (talk | contribs)
as optional: full size flag, logo flags, alt name
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{country flag}}} |
{{ {{{1<noinclude>|country showdata</noinclude>}}}
  {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Flag Andorra.png|border=border|alt=Andorra|size={{{size|}}}}} |
| name      = Andorra
}} {{#if: {{{name}}} |
| alias      = Andorra
  [[Andorra]] |
| flag alias = Flag Andorra.png
}}<noinclude>
| flag full  = Flag of Andorra.PNG
{{documentation|docpage=Template:Country data/doc}}
| flag logo  = Country data Andorra.png
{{DEFAULTSORT:Andorra}}
| size       = {{{size|}}}
| altlink    = {{{alt|}}}
<noinclude>
| redir1 = AND
</noinclude>}}<noinclude>{{DEFAULTSORT:Andorra}}
[[Category:Country data templates]]
[[Category:Country data templates]]
</noinclude>
</noinclude>

Latest revision as of 18:04, 12 February 2020

[edit] Template documentation

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

Icon
Full size flag of Andorra (alternative)
Country logo

Standard parameters

Parameter nameValueMeaningLink
name Andorra Main article name (Andorra)
aliasAndorraEnglish name-
flag alias Flag Andorra.png Flag icon(File:Flag Andorra.png)
flag fullFlag of Andorra.PNGFull size flag(File:Flag of Andorra.PNG)
flag logoCountry data Andorra.png"Ball" logo flag(File:Country data Andorra.png)

Example usage

* {{flag|Andorra}} Andorra
* {{flaglink|Andorra}}Andorra
* {{flagicon|Andorra}}Andorra
* {{flagfull|Andorra|showlink}}
Andorra
* {{flaglogo|Andorra|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
AND (view) AndorraAndorra

Using a redirect alias

  • {{flagicon|AND}}Andorra
  • {{flaglink|AND}}Andorra
  • {{flag|AND}} Andorra


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