Bước tới nội dung

Bản mẫu:Motorsport season/doc

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

Cách sử dụng[sửa mã nguồn]

{{Motorsport season
| series         = 
| title          =       ; optional
| subheader      =       ; optional
| link           =       ; optional
| year           = YYYY
| previous       = YYYY  ; optional
| next           = YYYY  ; optional
| previouslink   =       ; optional
| nextlink       =       ; optional
| previoussuffix =       ; optional
| nextsuffix     =       ; optional
| footer         =       ; optional
}}

Tham số[sửa mã nguồn]

  • series: Tên của giải đua
  • title: Thay đổi tiêu đề hiển thị trên bản mẫu; mặc định là [[series]] với một liên kết wiki khi không được đặt.
  • subheader: Optional additional information to display in the middle of the template, e.g. season champions
  • link: Sets the destination of the previous/next year links; defaults to series when not set.
  • year: The year covered by the article. For multi-year championships, use format XXYY–YY.
  • previous: The previous year of the championship; defaults to year - 1 when not set.
  • next: The next year of the championship; defaults to year + 1 when not set.
  • previouslink/nextlink: Sets custom previous/next year links. Use when championship changes name between articles.
  • previoussuffix/nextsuffix: Adds a suffix in brackets after the previous/next links.
  • footer: Adds additional text below the previous and next links.

Ví dụ[sửa mã nguồn]

{{Motorsport season
|series = FIA World Endurance Championship
|subheader = Tay đua vô địch: [[Mark Webber]], [[Timo Bernhard]] and [[Brendon Hartley]]<br>Xưởng đua vô địch: [[Porsche in motorsport|Porsche]]
|year = 2015
}}
{{Motorsport season
|series = GP2 Series
|year = 2005
|previouslink = 2004 International Formula 3000 Championship
|next = none
|footer = <small>Hỗ trợ mùa giải:</small><br>[[2015 GP3 Series|GP3 Series]]
}}
{{Motorsport season
|series = Grand Prix
|title = [[Grand Prix motor racing|Grand Prix]] season
|link = Grand Prix season
|year = 1919
|previous = 1916
}}