ਫਰਮਾ:Flag link
{{country data {{{1}}} | flag link/core | variant = | size = | name = | altlink =
}}
Description
[ਸੋਧੋ]{{flag link|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, {{flag link|Brazil|at the 2007 Pan American Games}} has the same effect as {{flag decoration|Brazil}} [[Brazil at the 2007 Pan American Games|Brazil]], both producing:
ਬ੍ਰਾਜ਼ੀਲ.
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.
| ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
|---|---|---|---|---|
| Nation | 1 | 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]] | ਸਤਰ | ਲੋੜੀਂਦਾ ਏ |
| Link | 2 | Specifies the suffix to append to the country's name to form the wikilink | ਸਤਰ | ਸੁਝਾਏ ਗਏ |
| Variant | 3 variant | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate country data template. | ਸਤਰ | ਚੋਣਵਾਂ |
| Size | size | Changes the flag icon size (use sparingly!) | Unknown | ਚੋਣਵਾਂ |
| Name | name | Changes the wikilink display text | Unknown | ਚੋਣਵਾਂ |
Examples
[ਸੋਧੋ]See also
[ਸੋਧੋ]| Output style → | Country name | Country Name (code) | Athlete (country code) | Athlete Country Name | Country code |
|---|---|---|---|---|---|
| Olympic Games | {{FlagIOC}} | {{FlagIOCteam}} | {{FlagIOCathlete}} | {{FlagIOCmedalist}} | {{FlagIOCshort}} |
| Other games | {{FlagIOC2}} | {{FlagIOC2team}} | {{FlagIOC2athlete}} | {{FlagIOC2medalist}} | {{FlagIOC2short}} |
| Paralympic Games | {{FlagIPC}} | {{FlagIPCteam}} | {{FlagIPCathlete}} | {{FlagIPCmedalist}} | {{FlagIPCshort}} |
| Pan American | {{FlagPASO}} | {{FlagPASOteam}} | {{FlagPASOathlete}} | {{FlagPASOmedalist}} | |
| Parapan American | {{FlagPPASO}} | ||||
| Commonwealth | {{FlagCGF}} | {{FlagCGFteam}} | {{FlagCGFathlete}} | {{FlagCGFmedalist}} | |
| Southeast Asian | {{FlagSEAGF}} | {{FlagSEAGFteam}} | {{FlagSEAGFathlete}} | {{FlagSEAGFmedalist}} | |
| World Games | {{FlagIWGA}} | ||||
| Central American and Caribbean Games | {{FlagCAC}} | ||||
| Asian Games | {{FlagOCA}} | ||||
| European Games | {{FlagEOC}} | ||||
| African Games | {{FlagAFOC}} | ||||
| Mediterranean Games | {{FlagCIJM}} | ||||
| Summer Universiade | {{FlagFISU}} | ||||
| "Nation at Championships"-style | {{Flaglinkteam}} | ||||
| Generic | {{Flag}} | {{Flagteam}} | {{Flagathlete}} | {{Flagmedalist}} | |
| Generic (variant) | {{Flaglink}} | {{Flaglinkathlete}} | {{Flaglinkmedalist}} | ||