Template:Country data Malta: 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=Malta2.gif|border=border|alt=Malta|size={{{size|}}}}} | }} {{#if: {{{name}}} | [[Mal…'
 
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=Malta2.gif|border=border|alt=Malta|size={{{size|}}}}} |
| name      = Malta
}} {{#if: {{{name}}} |
| alias      = Malta
  [[Malta]] |
| flag alias = Flagicon Malta.png
}}<noinclude>
| flag full  = Flag of Malta.PNG
{{documentation|docpage=Template:Country data/doc}}
| flag logo  = Country data Malta.png
{{DEFAULTSORT:Malta}}
| size       = {{{size|}}}
| altlink    = {{{alt|}}}
<noinclude>
| redir1 = MLT
</noinclude>}}<noinclude>{{DEFAULTSORT:Malta}}
[[Category:Country data templates]]
[[Category:Country data templates]]
</noinclude>
</noinclude>

Latest revision as of 00:37, 18 April 2020

[edit] Template documentation

Template:Country data Malta 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 Malta (alternative)
Country logo

Standard parameters

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

Example usage

* {{flag|Malta}} Malta
* {{flaglink|Malta}}Malta
* {{flagicon|Malta}}Malta
* {{flagfull|Malta|showlink}}
Malta
* {{flaglogo|Malta|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
MLT (view) MaltaMalta

Using a redirect alias

  • {{flagicon|MLT}}Malta
  • {{flaglink|MLT}}Malta
  • {{flag|MLT}} Malta


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