פתיחת התפריט הראשי

משתמש:Sokuya/תבנית:תבנית מידע משחקים אולימפיים

המידע מטה מוצג מתוך הדף משתמש:Sokuya/תבנית:תבנית מידע משחקים אולימפיים/תיעוד.


{{documentation subpage}} תבנית:Bad documentation תבנית:Esoteric

Usageעריכה

{{Infobox Olympic games|Year|Season| <!-- IMPORTANT: keep the pipe after "Season" on the same line for the template to work properly -->
| image                  =  <!-- internal link to the logo image file -->
| alt                    =  <!-- alternative text for the logo image -->
| image_size             =  <!-- custom size for the logo image -->
| caption                =  <!-- optional caption for the logo-->
| motto                  =  <!-- the motto/slogan of the Games -->
| nations_participating  =  <!-- total number of participating National Olympic Committees (NOCs) -->
| athletes_participating =  <!-- total number of participating athletes -->
| officially_opened_by   =  <!-- person who officially opened the Games -->
| athlete's_oath         =  <!-- athlete who swore the Olympic Oath -->
| judge's_oath           =  <!-- judge/official who swore the Olympic Oath -->
| coach's_oath           =  <!-- coach who swore the Olympic Oath -->
| Olympic_torch          =  <!-- last torch bearer -->
}}

Some parameters are not customizable and display a default value according to mandatory parameters Year and Season:

  • Host city
Name of the city where the Games were hosted (values provided by sub-template {{Infobox Olympic games/host city}}

)

  • Events
Total number of events and sports contested at the Games (values provided by sub-template {{Infobox Olympic games/events}}

)

  • Opening ceremony
Date of the opening ceremony of the Games (values provided by sub-template {{Infobox Olympic games/opening ceremony}}

)

  • Closing ceremony
Date of the closing ceremony of the Games (values provided by sub-template {{Infobox Olympic games/closing ceremony}}

)

Exampleעריכה

Here is an example of the infobox displaying content about the 2000 Summer Olympics: תבנית:Infobox Olympic games

{{Infobox Olympic games|1984|Summer|
<!-- Commented out: | image                  =  1984 Summer Olympics logo.svg --> 
| alt                    =  
| image_size             =  250
| caption                =  Los Angeles 1984 Olympic Games official emblem
| motto                  =  
| nations_participating  =  144
| athletes_participating =  6,829 (5,263 men, 1,566 women)
| events                 =  221 in 21 sports
| officially_opened_by   =  [[President of the United States|President]] [[Ronald Reagan]]
| athlete's_oath         =  [[Edwin Moses]] (athlete)
| judge's_oath           =  Sharon Heber
| Olympic_torch          =  [[Rafer Johnson]] (decathlete)
}}

Microformatעריכה

תבנית:UF-hcal


[[Category:Olympics infobox templates|Games]]