Template:Country data Belarus: 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 Belarus.png|border=border|alt=Belarus|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 Belarus.png|border=border|alt=Belarus|size={{{size|}}}}} |
| name      = Belarus
}} {{#if: {{{name}}} |
| alias      = Belarus
  [[Belarus]] |
| flag alias = Flag Belarus.png
}}<noinclude>
| flag full  = Flag of Belarus.PNG
{{documentation|docpage=Template:Country data/doc}}
| flag logo  = Country data Belarus.png
{{DEFAULTSORT:Belarus}}
| size       = {{{size|}}}
| altlink    = {{{alt|}}}
<noinclude>
| redir1 = BLR
| redir2 = Byelarus
| redir3 = Byelorussia
</noinclude>}}<noinclude>{{DEFAULTSORT:Belarus}}
[[Category:Country data templates]]
[[Category:Country data templates]]
</noinclude>
</noinclude>

Latest revision as of 22:22, 5 March 2020

[edit] Template documentation

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

Standard parameters

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

Example usage

* {{flag|Belarus}} Belarus
* {{flaglink|Belarus}}Belarus
* {{flagicon|Belarus}}Belarus
* {{flagfull|Belarus|showlink}}
Belarus
* {{flaglogo|Belarus|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
BLR (view) BelarusBelarus
Byelarus (view)Template:Country data ByelarusTemplate:Country data Byelarus
Byelorussia (view)Template:Country data ByelorussiaTemplate:Country data Byelorussia

Using a redirect alias

  • {{flagicon|BLR}}Belarus
  • {{flaglink|BLR}}Belarus
  • {{flag|BLR}} Belarus


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