模板:Infobox Olympics

維基百科,自由的百科全書
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

模板介紹[編輯]

參數及使用方法[編輯]

{{Infobox Olympics|年份|季节| <!-- 注意:在此标注举办年份以及是夏季还是冬季奥运会,若是夏季则写Summer,冬季则写Winter,否则一些参数会显示不全。 -->
| Name                   =  <!-- 名称 -->
| Logo                   =  <!-- 标志 -->
| Alt                    =  <!-- 注解 -->
| Image_size             =  <!-- 标志大小 -->
| Caption                =  <!-- 标志注解 -->
| Motto                  =  <!-- 口号 -->
| Nations participating  =  <!-- 参加国家和地区的数目 -->
| Athletes participating =  <!-- 参加运动员的数目 -->
| Officially opened by   =  <!-- 宣布开幕者 -->
| Athlete's oath         =  <!-- 宣誓运动员 -->
| Judge's oath           =  <!-- 宣誓裁判员 -->
| Coach's oath           =  <!-- 宣誓教练员 -->
| Olympic torch          =  <!-- 点火炬者 -->
| previous               =  <!-- for events with no Summer/Winter: The previous Games -->
| next                   =  <!-- For events with no Summer/Winter: The next Games -->
| SpreviousS             =  <!-- for Summer articles only: The previous Olympic Summer Games -->
| SnextS                 =  <!-- for Summer articles only: The next Olympic Summer Games -->
| Sprevious              =  <!-- for Summer articles only: The previous Olympic Winter Games -->
| Snext                  =  <!-- for Summer articles only: The next Olympic Winter Games -->
| Wprevious              =  <!-- for Winter articles only: The previous Olympic Winter Games -->
| Wnext                  =  <!-- for Winter articles only: The next Olympic Winter Games -->
| WpreviousS             =  <!-- for Winter articles only: The previous Olympic Summer Games -->
| WnextS                 =  <!-- for Winter articles only: The next Olympic Summer Games -->
}}

有一些項目是由年份季节所決定的

  • 主辦城市
由{{Infobox Olympics/host city}}模板決定
  • 比賽項目
由{{Infobox Olympics/events}}模板決定
  • 主體育場
由{{Infobox Olympics/stadium}}模板決定

範例[編輯]

以2000年夏季奧運會為例:

第二十七屆夏季奧林匹克運動會
Example image
Official logo of the Sydney 2000 Olympic Games
主辦城市 澳洲悉尼
口號Share the spirit
參賽國家及地區199
參賽運動員10,651
(6,582 men, 4,069 women)
比賽項目28大項300小項
正式宣佈開幕William Deane
裁判員代表宣誓Peter Kerr
奧運聖火燃點Cathy Freeman
主體育場澳大利亞體育場
{{Infobox Olympics|2000|Summer
| name                   = 第二十七届夏季奥林匹克运动会
| image                  =  Example.svg 
| alt                    =  Example image
| image_size             =  250
| caption                =  Official logo of the Sydney 2000 Olympic Games
| motto                  =  Share the spirit
| nations_participating  =  199
| athletes_participating =  10,651<br/>(6,582 men, 4,069 women)
| officially_opened_by   =  [[William Deane]]
| athlete's_oath         =  [[Rechelle Hawkes]]
| judge's_oath           =  [[Peter Kerr (water polo)|Peter Kerr]]
| Olympic_torch          =  [[Cathy Freeman]]
}}

注意事項[編輯]

參見[編輯]

給模板編輯者的說明[編輯]

模板結構[編輯]

實現方法[編輯]

編輯注意[編輯]