সাঁচ:Flaglink
অৱয়ব
{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink = {{{2}}}
}}
Description
[সম্পাদনা কৰক]{{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 {{flagicon|Brazil}} [[Brazil at the 2007 Pan American Games|Brazil]], both producing: ব্ৰাজিল.
- Parameters
- nation — 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 — Specifies the suffix to append to the country's name to form the wikilink
- variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate country data template. This label can be specified as a named parameter, or as the third positional parameter.
- size (optional) — Can be used to change the flag icon size (use sparingly!)
- name (optional) — Can be used to change the wikilink display text
Examples
[সম্পাদনা কৰক]- {{flaglink|Netherlands|in the Eurovision Song Contest}} → নেডাৰলেণ্ডচ
- {{flaglink|ENG|at the 2006 Commonwealth Games}} → ইংলেণ্ড
- {{flaglink|Canada|at the 1930 British Empire Games|1921}} → কানাডা
- {{flaglink|Canada|variant=1921|at the 1930 British Empire Games}} → কানাডা
See also
[সম্পাদনা কৰক] The above documentation is transcluded from সাঁচ:Flaglink/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |