Bước tới nội dung

Bản mẫu:Sidebar games events/doc

Bách khoa toàn thư mở Wikipedia

Cách sử dụng Bản mẫu:Sidebar games events/doc

{{Sidebar games events| name = {{thế:PAGENAME}}| event = | games = | image = | title1 =| event1 = | image1 = | event1.1 =| results1.1a =| results1.1b = | results1.1c = | event1.2 = | results1.2a =| results1.2b =| results1.2c =| title2 =| event2 = | image2 = | event2.1 =| results2.1a =| results2.1b = | results2.1c = | event2.2 = | results2.2a =| results2.2b =| results2.2c =| prev = | next = }}

Các liên kết thanh điều hướng

Để ngăn chặn chế độ xem, sửa, thảo luận (các liên kết thanh điều hướng), loại bỏ tham số |name=.

Các tham số phổ thông

Tham sốGiá trịMiêu tả
eventBobsled, Cycling, ...The name of the event (used to generate the title "event at games"). If you use this parameter, don't use |title=.
games2016 Olympics, ...The name of the games (used to generate the title "event at games"). If you use this parameter, don't use |title=.
name{{thế:PAGENAME}}The name of the template, used for the view, edit, talk (navbar links). To suppress these links, omit this parameter.
image[[Tập tin:Example.png|20px]], ...An image icon to be placed below the title
captionTextA caption for the image
imageright[[Tập tin:Example.png|20px]], ...An image icon to be placed to the right of the title
aboveTextHeader text to be placed below the title and top image
titlexxTextTitle text for the XX series of events (supersedes event and is rarely used)
eventXXTextHeader text for the XX series of events
imageXX[[Tập tin:Example.png|20px]], ...An image icon to be placed below the eventXX header
typeXXaTextFirst data column header for the XX series of events
typeXXbTextSecond data column header for the XX series of events
typeXXcTextThird data column header for the XX series of events
typeXXdTextFourth data column header for the XX series of events
eventXX.YYTextLabel for the XX.YY subevents
resultsXX.YYaTextFirst results data column for the XX.YY subevents
resultsXX.YYbTextSecond results data column for the XX.YY subevents
resultsXX.YYcTextThird results data column for the XX.YY subevents
resultsXX.YYdTextFourth results data column for the XX.YY subevents
resultsXX.YYTextData for the XX.YY subevents (spans all data columns)
borderXX.YYy or omitAny non-blank value will trigger the inclusion of a horizontal border below the XX.YY subevents row

Các tham số khác

Tham sốGiá trịMiêu tả
titleEvent at the Games, ...A free-form title for the sidebar. If you use this parameter, don't use |event= and |games=.
alignresultsleft, right, or centerAlignment of the results columns (default: left)
aligneventsleft, right, or centerAlignment of the subevents columns (default: left)
width22em, 200px, ... or autoOverall width of the sidebar (default: auto)
maxwidth22em, 200px, ... or autoOverall maximum width of the sidebar (default: 25em)
floatleft, right, or noneFloating alignment of the sidebar on the page (default: right)
classplainlist, hlist, ...CSS class for the sidebar (default: hlist)

Các ví dụ Bản mẫu:Sidebar games events/doc

Cho ví dụ cách sử dụng, hãy xem bất kỳ bản mẫu nào sử dụng siêu bản mẫu này.

Thể loại theo dõi Bản mẫu:Sidebar games events/doc

Xem thêm Bản mẫu:Sidebar games events/doc