Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Description  



1.1  TemplateData  







2 Examples  





3 See also  














Template:Flag link






العربية

Azərbaycanca
تۆرکجه
Basa Bali


Bosanski
Català
Dansk
Ελληνικά
فارسی
Føroyskt
Galego

Bahasa Indonesia


Kurdî
Latviešu
Македонски
Bahasa Melayu
Монгол



Norsk bokmål
ି
Oʻzbekcha / ўзбекча

Português
Scots
Simple English
سنڌي
Slovenščina
Српски / srpski
Suomi
Svenska
ி


Тоҷикӣ
Türkçe
Українська
اردو
Tiếng Vit
Yorùbá

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink =

}}

{{flaglink|country|link|variant=optional|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked article. The name of the country is the prefix of the wikilink, but the display text is just the name of the country by itself.

For example, {{flaglink|Brazil|at the 2007 Pan American Games}} has the same effect as {{flagdeco|Brazil}} [[Brazil at the 2007 Pan American Games|Brazil]], both producing:  Brazil.

For the first parameter, see Category:Country data templates and Category:Country data redirects for acceptable values.

TemplateData

Produces a flag icon attached to a wikilinked article.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Nation1

Use the name of the country/region as per the set of templates in [[:Category:Country data templates]] or an "alias" (such as a three-letter country code) as per the set of templates in [[:Category:Country data redirects]]

Stringrequired
Link2

Specifies the suffix to append to the country's name to form the wikilink

Stringsuggested
Variant3 variant

Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate country data template.

Stringoptional
Sizesize

Changes the flag icon size (use sparingly!)

Unknownoptional
Namename

Changes the wikilink display text

Unknownoptional

Examples

See also

  • talk
  • edit
  • Flag templates
    Output style → Country name Country name (code) Athlete (country code) Athlete Country Name Country code
    Olympic Games {{Flag IOC}} {{Flag IOC team}} {{FlagIOCathlete}} {{Flag IOC medalist}} {{Flag IOC short}}
    Other games {{Flag IOC 2}} {{FlagIOC2team}} {{Flag IOC 2 athlete}} {{Flag IOC 2 medalist}} {{Flag IOC 2 short}}
    Paralympic Games {{Flag IPC}} {{Flag IPC team}} {{Flag IPC athlete}} {{Flag IPC medalist}} {{Flag IPC short}}
    Pan American {{Flag PASO}} {{Flag PASO team}} {{Flag PASO athlete}} {{Flag PASO medalist}}
    Parapan American {{Flag PPASO}}
    Commonwealth {{Flag CGF}} {{Flag CGF team}} {{Flag CGF athlete}} {{Flag CGF medalist}}
    Southeast Asian {{Flag SEAGF}} {{Flag SEAGF team}} {{Flag SEAGF athlete}} {{Flag SEAGF medalist}}
    World Games {{Flag IWGA}}
    Central American and Caribbean Games {{Flag CAC}}
    Asian Games {{Flag OCA}}
    European Games {{Flag EOC}}
    African Games {{Flag AFOC}}
    Mediterranean Games {{FlagCIJM}}
    Summer Universiade {{FlagFISU}}
    "Nation at Championships"-style {{Flag link team}}
    Generic {{Flag}} {{Flag team}} {{Flag athlete}} {{Flag medalist}}
    Generic (variant) {{Flag link}} {{Flag link athlete}} {{Flag link medalist}}

    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Flag_link&oldid=1224870536"

    Category: 
    Flag template system
    Hidden category: 
    Wikipedia semi-protected templates
     



    This page was last edited on 20 May 2024, at 23:52 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki