Difference between revisions of "Template:Country data Barbados"

From Hattrick
Jump to navigationJump to search
(Created page with '{{#if: {{{country flag}}} | {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Flag Barbados.png|border=border|alt=Barbados|size={{{size|}}}}} | }} {{#if: {{{name}}}…')
 
(as optional: full size flag, logo flags, alt name)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if: {{{country flag}}} |
+
{{ {{{1<noinclude>|country showdata</noinclude>}}}
  {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Flag Barbados.png|border=border|alt=Barbados|size={{{size|}}}}} |
+
| name      = Barbados
}} {{#if: {{{name}}} |
+
| alias      = Barbados
  [[Barbados]] |
+
| flag alias = Flag Barbados.png
}}<noinclude>
+
| flag full  = Flag-of-Barbados.png
{{documentation|docpage=Template:Country data/doc}}
+
| flag logo  = Country data Barbados.png
{{DEFAULTSORT:Barbados}}
+
| size       = {{{size|}}}
 +
| altlink    = {{{alt|}}}
 +
<noinclude>
 +
| redir1 = BRB
 +
</noinclude>}}<noinclude>{{DEFAULTSORT:Barbados}}
 
[[Category:Country data templates]]
 
[[Category:Country data templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:52, 10 March 2020

[edit] Template documentation

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

Standard parameters

Parameter nameValueMeaningLink
name Barbados Main article name (Barbados)
aliasBarbadosEnglish name-
flag alias Flag Barbados.png Flag icon(File:Flag Barbados.png)
flag fullFlag-of-Barbados.pngFull size flag(File:Flag-of-Barbados.png)
flag logoCountry data Barbados.png"Ball" logo flag(File:Country data Barbados.png)

Example usage

* {{flag|Barbados}} Barbados
* {{flaglink|Barbados}}Barbados
* {{flagicon|Barbados}}Barbados
* {{flagfull|Barbados|showlink}} Flag-of-Barbados.png
Barbados
* {{flaglogo|Barbados|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
BRB (view) BarbadosBarbados

Using a redirect alias

  • {{flagicon|BRB}}Barbados
  • {{flaglink|BRB}}Barbados
  • {{flag|BRB}} Barbados


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