Bản mẫu:Sidebar timeline/doc

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

This template may be used to generate a sidebar which summarizes a sequence of events, including changes in affiliation or membership.

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

Sử dụng cơ bản cho các ban nhạc[sửa mã nguồn]

{{Sidebar timeline
| title = 

| years1 =
| color1 = 
| members1 =
| years2 =
| color2 = 
| members2 =
| years3 =
| color3 = 
| members3 =
| years4 =
| color4 = 
| members4 =
| years5 =
| color5 = 
| members5 =
...
| years15 =
| color15 = 
| members15 =

| below =
}}

Sử dụng cơ bản cho người[sửa mã nguồn]

{{Sidebar timeline
| title = 

| years1 =
| color1 = 
| group1 =
| years2 =
| color2 = 
| group2 =
| years3 =
| color3 = 
| group3 =
| years4 =
| color4 = 
| group4 =
| years5 =
| color5 = 
| group5 =
...
| years15 =
| color15 = 
| group15 =

| below =
}}

Sử dụng cơ bản cho các sự kiện[sửa mã nguồn]

{{Sidebar timeline
| title = 

| years1 =
| color1 = 
| events1 =
| years2 =
| color2 = 
| events2 =
| years3 =
| color3 = 
| events3 =
| years4 =
| color4 = 
| events4 =
| years5 =
| color5 = 
| events5 =
...
| years15 =
| color15 = 
| events15 =

| below =
}}

Chiều cao[sửa mã nguồn]

To adjust the height of each row, use heightX = , where X is the row number. The value for the height should be a raw number corresponding to a multiple of a standard row height (e.g., 2 for a row with twice the height of a normal row).

Kiểu tiêu đề[sửa mã nguồn]

To change the color of the title, use titlestyle = , with background: XX; color: YY, where XX and YY are background and font colors.

Xem thêm[sửa mã nguồn]