Template:Sidebar timeline/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}} This template may be used to generate a sidebar which summarizes a sequence of events, including changes in affiliation or membership.

Usage

Basic usage for bands

{{Sidebar timeline
| title = 

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

| below =
}}

Basic usage for people

{{Sidebar timeline
| title = 

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

| below =
}}

Basic usage for events

{{Sidebar timeline
| title = 

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

| below =
}}

Height

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).

Title style

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

See also