Difference between revisions of "Template:Country data Costa Rica"

From Hattrick
Jump to navigationJump to search
(Created page with '{{#if: {{{country flag}}} | {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Costa rica.gif|border=border|alt=Costa Rica|size={{{size|}}}}} | }} {{#if: {{{name}}} …')
 
(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=Costa rica.gif|border=border|alt=Costa Rica|size={{{size|}}}}} |
+
| name      = Costa Rica
}} {{#if: {{{name}}} |
+
| alias      = Costa Rica
  [[Costa Rica]] |
+
| flag alias = Flagicon Costa Rica.png
}}<noinclude>
+
| flag full  = Flag of Costa Rica.PNG
{{documentation|docpage=Template:Country data/doc}}
+
| flag logo  = Country data Costa Rica.png
{{DEFAULTSORT:Costa Rica}}
+
| size       = {{{size|}}}
 +
| altlink    = {{{alt|}}}
 +
<noinclude>
 +
| redir1 = CRC
 +
</noinclude>}}<noinclude>{{DEFAULTSORT:Costa Rica}}
 
[[Category:Country data templates]]
 
[[Category:Country data templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:05, 12 March 2020

[edit] Template documentation

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

Standard parameters

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

Example usage

* {{flag|Costa Rica}} Costa Rica
* {{flaglink|Costa Rica}}Costa Rica
* {{flagicon|Costa Rica}}Costa Rica
* {{flagfull|Costa Rica|showlink}} Flag of Costa Rica.PNG
Costa Rica
* {{flaglogo|Costa Rica|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
CRC (view) Costa RicaCosta Rica

Using a redirect alias

  • {{flagicon|CRC}}Costa Rica
  • {{flaglink|CRC}}Costa Rica
  • {{flag|CRC}} Costa Rica


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