模板:Infobox games/doc

![]() | 此頁面是Template:Infobox games的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
{{{name}}} | |
---|---|
[[File:{{{logo}}}|{{{size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]] {{{caption}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|{{{image_alt}}}]] {{{image_caption}}} | |
主辦城市 | {{{host_city}}} |
主辦地 | {{{country}}} |
口號 | {{{motto}}} |
舉辦組織 | {{{organiser}}} |
屆次 | {{{edition}}} |
賽事級別 | {{{Level}}} |
賽事類型 | {{{Type}}} |
參賽國家和地區 | {{{nations}}} |
參賽隊伍 | {{{teams}}} |
首次參賽國家 | {{{debuting_countries}}} |
參賽運動員 | {{{athletes}}} |
比賽項目 | {{{events}}} |
運動大項 | {{{sports}}} |
開幕城市 | {{{opening_city}}} |
[[{{{opening_link}}}|開幕典禮]] | {{{opening}}} |
[[{{{closing_link}}}|閉幕典禮]] | {{{closing}}} |
日期 | {{{dates}}} |
開幕宣布者 | {{{opened_by}}} |
閉幕宣布者 | {{{closed_by}}} |
運動員宣誓代表 | {{{athlete_oath}}} |
裁判宣誓代表 | {{{judge_oath}}} |
教練宣誓代表 | {{{coach_oath}}} |
聖火點燃 | {{{torch_lighter}}} |
帕運聖火點燃 | {{{Paralympic_torch}}} |
女王權杖傳遞最後一棒 | {{{Queens_Baton}}} |
會歌 | {{{anthem}}} |
主場館 | {{{stadium}}} |
場館 | {{{venues}}} |
帕運會主場館 | {{{Paralympic_stadium}}} |
典禮場館 | {{{ceremony_venue}}} |
比賽長度 | {{{length}}} |
個人獎金(美元) | {{{ind_prize}}} |
團體獎金(美元) | {{{team_prize}}} |
網站 | {{{website}}} |
{{{module}}} | |
夏季: | |
冬季: | |
此模板用於生成體育賽事的資訊框。
用法
[編輯]{{Infobox games
| name =
| logo =
| size =
| logo_alt =
| caption =
| image =
| image_size =
| image_alt =
| image_caption =
| host_city =
| country =
| motto =
| organiser =
| edition =
| nations =
| teams =
| debuting_countries =
| athletes =
| events =
| sports =
| opening_city =
| opening =
| closing_link =
| closing =
| dates =
| opened_by =
| closed_by =
| athlete_oath =
| judge_oath =
| coach_oath =
| torch_lighter =
| Paralympic_torch =
| Queens_Baton =
| anthem =
| stadium =
| venues =
| Paralympic_stadium =
| ceremony_venue =
| length =
| ind_prize =
| team_prize =
| website = <!-- {{URL|example.com}} -->
| module =
| previous =
| next =
| SpreviousS =
| SnextS =
| Sprevious =
| Snext =
}}
模板資料
[編輯]用於生成體育賽事的資訊框。在使用時,請注意避免一些已經過時的參數。
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
名稱 | name Name | 運動會的名稱
| 行 | 建議 |
圖標 | logo Logo | 沒有描述
| 檔案 | 非必填 |
圖標大小 | size Size | 圖標的大小
| 字串 | 非必填 |
圖標說明 | caption Caption Optional caption | 顯示在圖標下方的說明文字。
| 內容 | 非必填 |
圖標替代文字 | logo_alt | 圖標的替代文字,用於在無法顯示圖片時或者供視覺障礙用於呈現時使用。
| 行 | 非必填 |
圖片 | image | 與這次賽事有關的圖片,可選。
| 檔案 | 非必填 |
圖片大小 | image_size | 沒有描述
| 字串 | 非必填 |
圖片替代文字 | image_alt | 圖片的替代文字。 | 行 | 非必填 |
圖片說明文字 | image_caption | 顯示在圖片下方的說明文字。 | 行 | 非必填 |
主辦城市 | host_city host city Host city Host City | 沒有描述
| 行 | 非必填 |
主辦方 | host | 活動的主辦方,當主辦方不是城市時使用。此參數與host_city互斥。 | 行 | 非必填 |
主辦國家(或地區) | country | 沒有描述 | 行 | 非必填 |
口號 | motto Motto | 運動會的口號
| 行 | 非必填 |
舉辦組織 | organizer organiser | 活動的組織者 | 內容 | 非必填 |
屆次 | edition | 沒有描述
| 行 | 非必填 |
參賽國家和地區 | nations nations participating Nations participating Nations | 沒有描述 | 內容 | 非必填 |
參賽隊伍 | teams teams participating Teams participating | 沒有描述 | 內容 | 非必填 |
首次參賽國家 | debuting_countries debuting countries Debuting countries | 沒有描述 | 內容 | 非必填 |
參賽運動員 | athletes athletes participating Athletes participating Athletes | 沒有描述 | 內容 | 非必填 |
比賽項目 | events Events | 沒有描述 | 內容 | 非必填 |
運動大項 | sports Sports | 沒有描述 | 不明 | 非必填 |
開幕城市 | opening_city opening city Opening city | 沒有描述 | 行 | 非必填 |
開幕典禮連結 | opening_link | 沒有描述 | 頁面名稱 | 非必填 |
開幕典禮 | opening opening ceremony Opening ceremony | 沒有描述 | 行 | 非必填 |
閉幕典禮連結 | closing_link | 沒有描述 | 頁面名稱 | 非必填 |
閉幕典禮 | closing Closing ceremony closing ceremony | 沒有描述 | 行 | 非必填 |
日期 | dates Dates | 沒有描述 | 內容 | 非必填 |
開幕宣布者 | opened_by officially opened by Officially opened by | 沒有描述 | 行 | 非必填 |
閉幕宣布者 | closed_by officially closed by Officially closed by | 沒有描述 | 行 | 非必填 |
運動員宣誓代表 | athlete_oath athlete's oath Athlete's Oath athletes' oath | 沒有描述 | 行 | 非必填 |
裁判宣誓代表 | judge_oath judge's oath Judge's oath | 沒有描述 | 行 | 非必填 |
教練宣誓代表 | coach_oath | 沒有描述 | 行 | 非必填 |
聖火點燃 | torch_lighter torch lighter Torch Lighter Torch All-Africa Torch Pan Am Torch Olympic Torch Olympic Flame | 建議使用標準的參數名稱torch_lighter,其他參數名稱均為棄用。 | 內容 | 非必填 |
帕運聖火點燃 | Paralympic_torch Paralympic torch Paralympic Torch | 當帕運聖火點燃與普通賽事的聖火點燃不同時,請使用此參數。 | 行 | 非必填 |
女王權杖傳遞最後一棒 | Queens_Baton Queen's Baton | 用於英國。 | 行 | 非必填 |
會歌 | anthem Anthem | 沒有描述 | 行 | 非必填 |
主場館 | stadium Stadium Main_venue | 沒有描述 | 行 | 非必填 |
場館 | venues Venues | 沒有描述 | 行 | 非必填 |
帕運會主場館 | Paralympic_stadium Paralympic stadium Paralympic Stadium | 沒有描述 | 行 | 非必填 |
典禮場館 | ceremony_venue ceremony venue Ceremony venue | 沒有描述 | 行 | 非必填 |
比賽長度 | length | 沒有描述 | 行 | 非必填 |
個人獎金 | ind_prize | 沒有描述 | 行 | 非必填 |
團體獎金 | team_prize | 沒有描述 | 行 | 非必填 |
網站 | website | 沒有描述 | 行 | 非必填 |
模組 | module | 顯示在數據下方的額外內容。 | 內容 | 非必填 |
SpreviousS | SpreviousS | 沒有描述 | 不明 | 非必填 |
SnextS | SnextS | 沒有描述 | 不明 | 非必填 |
Sprevious | Sprevious | 沒有描述 | 不明 | 非必填 |
Snext | Snext | 沒有描述 | 不明 | 非必填 |
Wprevious | Wprevious | 沒有描述 | 不明 | 非必填 |
Wnext | Wnext | 沒有描述 | 不明 | 非必填 |
WpreviousS | WpreviousS | 沒有描述 | 不明 | 非必填 |
WnextS | WnextS | 沒有描述 | 不明 | 非必填 |
上一屆 | previous prev | 沒有描述 | 行 | 非必填 |
下一屆 | next | 沒有描述 | 行 | 非必填 |
注意:除了prev
和organiser
是previous
和organizer
的參數別稱之外,參數的各個別稱都已經棄用,使用這些參數將會顯示警告。
微格式
[編輯]此模板產生的HTML標記包含了hCalendar微格式,能夠讓電腦解析事件的詳情,便於維基百科將該條目歸類,或讓使用者透過瀏覽器將該事件添加進日曆或日記應用程式中。關於微格式的更多使用資訊,請參閱維基百科的微格式專題。
日期只會在使用了{{Start date}}或{{End date}}的情況下顯示,URL只會在使用了{{Url}}的情況下被包含。
hCalendar使用的HTML class包括:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
請勿移除或修改這些class,也請勿變更或移除有相關設定之模板及設定。
追蹤分類
[編輯]參見
[編輯]