قالب:رياضة ألعاب
( )
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:
- a رسم صوري of the sport
- a link to the main article of that sport
- a link to the detailed summary or results of that sport at that event.
- 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}}
* [[ملف:Archery pictogram.svg|20px]] [[نبالة]] ({{detailslink|Archery at the 2010 South Asian Games}})
* [[ملف:Athletics pictogram.svg|20px]] [[سباقات المضمار والميدان]] ({{detailslink|Athletics at the 2010 South Asian Games}})
* [[ملف:Boxing pictogram.svg|20px]] [[ملاكمة]] ({{detailslink|Boxing at the 2010 South Asian Games}})
* [[ملف:Cycling pictogram.svg|20px]] [[ركوب الدراجات]] ({{detailslink|Cycling at the 2010 South Asian Games}})
* [[ملف:Football pictogram.svg|20px]] [[لعبة كرة القدم|Football]] ({{detailslink|Football at the 2010 South Asian Games}})
{{عمو-3}}
* [[ملف:Golf pictogram.svg|20px]] [[غولف]] ({{detailslink|Golf at the 2010 South Asian Games}})
* [[ملف:Field hockey pictogram.svg|20px]] [[هوكي الحقل]] ({{detailslink|Hockey at the 2010 South Asian Games}})
* [[ملف:Handball pictogram.svg|20px]] [[كرة اليد|Handball]] ({{detailslink|Handball at the 2010 South Asian Games}})
* [[ملف:Judo pictogram.svg|20px]] [[جودو]] ({{detailslink|Judo at the 2010 South Asian Games}})
* [[ملف:Karate pictogram.svg|20px]] [[كاراتيه]] ({{detailslink|Karate at the 2010 South Asian Games}})
{{عمو-3}}
* [[ملف:Shooting pictogram.svg|20px]] [[إطلاق النار]] ({{detailslink|Shooting at the 2010 South Asian Games}})
* [[ملف:Squash pictogram.svg|20px]] [[اسكواش|Squash]] ({{detailslink|Squash at the 2010 South Asian Games}})
* [[ملف:Swimming pictogram.svg|20px]] [[سباحة (رياضة)|Swimming]] ({{detailslink|Swimming at the 2010 South Asian Games}})
* [[ملف:Taekwondo pictogram.svg|20px]] [[تايكوندو]] ({{detailslink|Taekwondo at the 2010 South Asian Games}})
* [[ملف: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:
- نبالة (25) ( )
طالع أيضاً
[عدل]- قالب: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