انتقل إلى المحتوى

قالب:رياضة ألعاب/شرح

من ويكيبيديا، الموسوعة الحرة

هذه نسخة قديمة من هذه الصفحة، وقام بتعديلها MenoBot (نقاش | مساهمات) في 02:35، 1 يوليو 2023 (بوت: إصلاح أخطاء فحص ويكيبيديا من 1 إلى 104). العنوان الحالي (URL) هو وصلة دائمة لهذه النسخة، وقد تختلف اختلافًا كبيرًا عن النسخة الحالية.

The GamesSport template is for usage on main multi-sport event articles only. The purpose of this template is to radically simplify the listing of sports on multi-sport event articles.

Typically, such articles will have a list of the sports held at the event and each listing comprises three or four parts:

  1. a رسم صوري of the sport
  2. a link to the main article of that sport
  3. a link to the detailed summary or results of that sport at that event.
  4. a figure denoting the total number of events held within that sport during the games

The GamesSport template allows you to render all these elements by simply entering the name of the sport. Its basic usage is:

  • {{GamesSport|SPORT}}

Plain example (without GamesSport)

Previously, each of these elements would need to be written out separately like the example below for the 2010 South Asian Games:


{{Col-begin}}
{{عمو-3}}
* [[File:Archery pictogram.svg|20px]] [[نبالة]] ({{detailslink|Archery at the 2010 South Asian Games}})
* [[File:Athletics pictogram.svg|20px]] [[سباقات المضمار والميدان]] ({{detailslink|Athletics at the 2010 South Asian Games}})
* [[File:Boxing pictogram.svg|20px]] [[ملاكمة]] ({{detailslink|Boxing at the 2010 South Asian Games}})
* [[File:Cycling pictogram.svg|20px]] [[ركوب الدراجات]] ({{detailslink|Cycling at the 2010 South Asian Games}})
* [[File:Football pictogram.svg|20px]] [[لعبة كرة القدم|Football]] ({{detailslink|Football at the 2010 South Asian Games}})
{{عمو-3}}
* [[File:Golf pictogram.svg|20px]] [[غولف]] ({{detailslink|Golf at the 2010 South Asian Games}})
* [[File:Field hockey pictogram.svg|20px]] [[هوكي الحقل]] ({{detailslink|Hockey at the 2010 South Asian Games}})
* [[File:Handball pictogram.svg|20px]] [[كرة اليد|Handball]] ({{detailslink|Handball at the 2010 South Asian Games}})
* [[File:Judo pictogram.svg|20px]] [[جودو]] ({{detailslink|Judo at the 2010 South Asian Games}})
* [[File:Karate pictogram.svg|20px]] [[كاراتيه]] ({{detailslink|Karate at the 2010 South Asian Games}})
{{عمو-3}}
* [[File:Shooting pictogram.svg|20px]] [[إطلاق النار]] ({{detailslink|Shooting at the 2010 South Asian Games}})
* [[File:Squash pictogram.svg|20px]] [[اسكواش|Squash]] ({{detailslink|Squash at the 2010 South Asian Games}})
* [[File:Swimming pictogram.svg|20px]] [[سباحة (رياضة)|Swimming]] ({{detailslink|Swimming at the 2010 South Asian Games}})
* [[File:Taekwondo pictogram.svg|20px]] [[تايكوندو]] ({{detailslink|Taekwondo at the 2010 South Asian Games}})
* [[File:Weightlifting pictogram.svg|20px]] [[رفع أثقال]] ({{detailslink|Weightlifting at the 2010 South Asian Games}})
{{نهاية-عمو}}

With GamesSport

This information can be rendered much more easily with the GamesSport template as it removes the need to spend time finding the correct article for each sport and its corresponding pictogram. The link to the results works off the name of the article in which it is placed. Therefore, if you use the template here it links to "SPORT at the GamesSport/doc"; on the الألعاب الأولمبية الصيفية 2008 article it would link to "SPORT at the 2008 Summer Olympics".


</nowiki></poem>

Adding number of events

The number of events contested within each sport may be listed if desired. This can be done as follows:

* {{GamesSport|Archery|Events=25}}

Would give you the following:

طالع أيضاً

  • قالب:GamesSport2 – as GamesSport template, but uses just a single link to the sport results
  • قالب:NoIcon – adding a blank space to align sports without relevant pictograms