跳转到内容

Template:Infobox Olympics/doc

维基百科,自由的百科全书

模板介紹

[编辑]

參數及使用方法

[编辑]
{{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]]
}}

注意事项

[编辑]

參見

[编辑]

给模板编辑者的说明

[编辑]

模板结构

[编辑]

实现方法

[编辑]

编辑注意

[编辑]