Мавод аз Википедиа — донишномаи озод
Jump to navigation Jump to search

{{country data {{{2}}}|flagdeco/core|variant=|size=}} [[{{{2}}}]]

Template-info.svg Ҳуҷҷатҳои шаблон

Use {{flag+link}} to produce output such as


i.e. an icon-sized flag representing something like a country/region/place/organization/etc followed by a link, labelled using that country/region/etc's name, to an article on some aspect of that country/region/etc.

Syntax and parameters

{{[[Шаблон:flag+link |flag+link ]]|string |name}}

...where name is something represented by a flag and the combination of string followed by name is the name of an article. The example above, for instance, was produced by:

{{flag+link|Agriculture in|India}}

If no article exists with the name formed by the combination of string and name, the link will default to [[name]]. {{flag+link|Blah of|Albania}}, for instance, produces Albania with "Albania" as a link to Albania because Blah of Albania does not exist.

To specify a width for the icon and/or a particular variant/version of the flag, set the parameters |flagsize= and/or |flagvariant= in the same manner as {{flagicon}}'s size and variant parameters. (See {{flagicon}}'s documentation for more details.)

Example use

For examples of this template's use in articles, see the tables here or here (leftmost columns).