الگو:Flaglinkmedalist/توضیحات
این زیرصفحهٔ مستندات الگو:Flaglinkmedalist است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
Usage
[ویرایش]{{flaglinkmedalist|Athlete's name|Country code|optional link modifer|flag variant}}
The purpose of this template is to automatically provide a country link to a specific country page of a championships or games (for example ایالات متحده آمریکا در بازیهای المپیک تابستانی ۲۰۱۲) on results articles for those competitions. The competition is derived automatically from the page title, so for example on the article دو و میدانی در بازیهای المپیک تابستانی ۲۰۱۲ – دو ۱۰۰ متر مردان a link will be automatically generated for "X at the 2012 Summer Olympics". The template will return any text in the title that is after " at the " and before " – ". Titles without those elements will be returned in full (e.g. مسابقات جهانی دو و میدانی ۲۰۱۵)
The optional link modifier is for athletics championships and should be a prefix to a competition named "...Championships in Athletics". For example, if "2013 World" is entered in this modifier, the outputted link will be for that country at the "2013 World Championships in Athletics".
Variants to the flag (for a country's historical flags, for example) can be generated by placing the variant code in the fourth field.
Examples
[ویرایش]- Note that the current page title is generated in the examples
{{flaglinkmedalist|[[مایکل فلپس]]|USA}} | مایکل فلپس ایالات متحده آمریکا (USA) |
{{flaglinkmedalist|[[گرت وایتس]]|NOR|2011 World}} | گرت وایتس نروژ (NOR) |
{{flaglinkmedalist|[[ندو نادی]]|ITA||1861}} | ندو نادی ایتالیا (ITA) |
{{flaglinkmedalist|[[کوجی موروفوشی]]|JPN|2013 Asian|naval}} | کوجی موروفوشی ژاپن (JPN) |
{{flaglinkmedalist|[[دیلی تامپسون]]|ENG}} | دیلی تامپسون انگلستان (ENG) |
See also
[ویرایش]- الگو:Flagmedalist for a similar template for use with athletes at the Olympics
- Template:FlagATHCHathlete for a similar template that shows only the country code and athlete name on one line
- الگو:Flagathlete for a similar template that renders output on a single line
- الگو:FlagIOCmedalist for a similar template for use with athletes at the Olympics
- الگو:پرچم and الگو:پرچمک for additional discussion about flag variations
حالت خروجی → | نام کشور | کشور (کد) | ورزشکار (کشور) | ورزشکار کشور |
کد کشور |
---|---|---|---|---|---|
بازیهای المپیک | {{FlagIOC}} | {{FlagIOCteam}} | {{FlagIOCathlete}} | {{FlagIOCmedalist}} | {{FlagIOCshort}} |
دیگر بازیها | {{FlagIOC2}} | {{FlagIOC2team}} | {{FlagIOC2athlete}} | {{FlagIOC2medalist}} | {{FlagIOC2short}} |
بازیهای پارالمپیک | {{FlagIPC}} | {{FlagIPCteam}} | {{FlagIPCathlete}} | {{FlagIPCmedalist}} | {{FlagIPCshort}} |
پان آمریکا | {{FlagPASO}} | {{FlagPASOteam}} | {{FlagPASOathlete}} | {{FlagPASOmedalist}} | |
Parapan American | {{FlagPPASO}} | ||||
همسود | {{FlagCGF}} | {{FlagCGFteam}} | {{FlagCGFathlete}} | {{FlagCGFmedalist}} | |
آسیای جنوب شرقی | {{FlagSEAGF}} | {{FlagSEAGFteam}} | {{FlagSEAGFathlete}} | {{FlagSEAGFmedalist}} | |
بازیهای جهانی | {{FlagIWGA}} | ||||
بازیهای آمریکای مرکزی و کارائیب | {{FlagCAC}} | ||||
بازیهای آسیایی | {{FlagOCA}} | ||||
"کشورها در مسابقات"-حالت | {{Flaglinkteam}} | {{FlagATHCHathlete}} | |||
عمومی | {{Flag}} | {{Flagteam}} | {{Flagathlete}} | {{Flagmedalist}} | |
عمومی (متغیر) | {{Flaglink}} | {{Flaglinkmedalist}} | |||