Template:Graphical timeline/doc

From blackwiki
Jump to navigation Jump to search

|bar14-from=-530 |bar14-to=-520 |bar14-left=0.95 |bar14-right=1.05 |bar14-colour=red |legend14=Cambrian explosion

| |bar5-text=Ediacaran |bar5-to=-540 |bar5-left=0.2 |bar5-border-width=1 |bar5-border-colour= #996666 |bar5-colour=#cc9999

|bar6-text=Nemakit-Daldynian |bar6-from=-542 |bar6-to=-534 |bar6-left=0.2 |bar6-border-width=0.1 |bar6-colour=#99cc99

|bar7-text=Tommotian |bar7-from=-534 |bar7-to=-530 |bar7-left=0.1 |bar7-colour=#99cc99 |bar7-border-width=0.1

|bar8-from=-530.1 |bar8-to=-529.9 |bar8-left=0.2 |bar8-colour=black

|bar9-text=Atdabanian |bar9-from=-530 |bar9-to=-524 |bar9-left=0.1 |bar9-right=0.95 |bar9-colour=#99cc99

|bar10-text=Botomian |bar10-from=-524 |bar10-to=-518 |bar10-left=0.1 |bar10-colour=#99cc99 |bar10-border-width=0.1

|bar11-text=Toyonian |bar11-from=-518 |bar11-to=-513 |bar11-left=0.1 |bar11-border-width=0.1 |bar11-colour=#99cc99


|note1=Base of the Cambrian |note1-at=-542 |note1-colour=green

|note2=Middle Cambrian |note2-nudge-left=8.5 |note2-nudge-down=0 |note2-at=-507 |note2-remove-arrow=yes

|caption=An approximate time-scale of events
at the base of the Cambrian Period.
Axis scale is in millions of years ago. }}

Notes on the example

  • {{!}} must be used wherever you want a | to appear (e.g. the caption)
  • If you do not specify when a bar should start or end, it will continue to the edge of the plot
  • Text should not be too long for the bar
  • The way that overflowing text wraps is also handled differently in the two borders - it pokes out of the right of the bar on Firefox, but is wrapped within it by IE. Try to manually enter newlines when required rather than relying on browsers to sort it out. Or position a note over the bar - check out note2, which is nudged left over the plot background.