قالب:رابط علم

 [[منتخب {{{2}}}|]]

توثيق القالب[عرض] [عدل] [تاريخ] [مسح الكاش] [استخدامات]

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}} كندا

انظر أيضًا تعديل

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

الألعاب الأولمبية {{FlagIOC}} {{FlagIOCteam}} {{FlagIOCathlete}} {{FlagIOCmedalist}}
ألعاب أخرى {{FlagIOC2}} {{FlagIOC2team}} {{FlagIOC2athlete}} {{FlagIOC2medalist}}
ألعاب البارالمبية {{FlagIPC}} {{FlagIPCteam}} {{FlagIPCathlete}} {{FlagIPCmedalist}}
للبلدان الأمريكية {{FlagPASO}} {{FlagPASOteam}} {{FlagPASOathlete}} {{FlagPASOmedalist}}
ألعاب أمريكا الوسطى والكاريبي {{FlagCAC}}
الكومنولث {{FlagCGF}} {{FlagCGFteam}} {{FlagCGFathlete}} {{FlagCGFmedalist}}
جنوب شرق آسيا {{FlagSEAGF}} {{FlagSEAGFteam}} {{FlagSEAGFathlete}} {{FlagSEAGFmedalist}}
"منتخب وطني في بطولة" الطراز {{FlagATHCH}} {{FlagATHCHathlete}} {{FlagATHCHmedalist}}
عام {{علم}} {{Flagteam}} {{علم رياضي}} {{Flagmedalist}}
عام (متغير variant) {{رابط علم}} {{Flaglinkmedalist}}