قالب:Flag+link
[[{{{1}}} {{{2}}}|{{{2}}}]]
This template uses Lua: |
Due to a server limit of 500 "expensive parser function" calls (#ifexist:, PAGESIZE:, and PAGESINCATEGORY:), this template or module will only work properly if the page using it has not already exceeded the limit. When the limit is exceeded, the page using this template or module is categorised Category:Pages with too many expensive parser function calls. (further information) |
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 |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|المانيا}}
, for instance, produces المانيا with "البانيا" as a link to البانيا 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 |size=
and/or |variant=
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).
التوثيق في الأعلى مضمن من قالب:Flag+link/شرح. (عدل | تاريخ) يمكن للمحررين تجريب تعديلاتهم على القالب في صفحات ملعب (أنشئ | مرآة) و مختبر (أنشئ). من فضلك أضف التصنيفات في الصفحة الفرعية للقالب /شرح. الصفحات الفرعية لـ قالب. |