قالب:Flaglink/شرح

من ويكيبيديا، الموسوعه الحره
هذه صفحة توثيق فرعية تخص قالب:Flaglink.
تحتوي هذه الصفحة على معلومات و تصنيف ومحتويات أخرى تتعلق بشرح القالب ولا تعتبر جزءا منه.
للاطلاع على صفحة القالب نفسه، انظر قالب:Flaglink.

Description[تعديل]

{{رابط علم|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, {{رابط علم|البرازيل|at the 2007 Pan American Games}} has the same effect as {{رمز علم|البرازيل}} {{Ill-WD2|البرازيل في 2007 ألعاب عموم أمريكا|id=Q4958663}}, both producing:  البرازيل.

Parameters
  • nation — Use the name of the country/region as per the set of templates in Category:قوالب بيانات بلد or an "alias" (such as a three-letter country code) as per the set of templates in Category:تحويلات قوالب بيانات بلد
  • 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

أمثلة[تعديل]

  • {{رابط علم|هولندا|in the Eurovision Song Contest}} نيديرلاند
  • {{رابط علم|ENG|at the 2006 Commonwealth Games}} انجلترا
  • {{رابط علم|كندا|at the 1930 British Empire Games|1921}} كندا
  • {{رابط علم|كندا|variant=1921|at the 1930 British Empire Games}} كندا

طالع أيضاً[تعديل]