User talk:Dundradal: Difference between revisions

The Terran Knowledge Bank
Jump to: navigation, search
No edit summary
No edit summary
Line 34: Line 34:
</timeline>
</timeline>
</td>
</td>
<toggledisplay>
BLAH BLAH BLAH
</toggledisplay>

Revision as of 19:10, 13 September 2010

Timeline using year/no month/no day

<toggledisplay> BLAH BLAH BLAH </toggledisplay>

<timeline> ImageSize = width:200 height:550 PlotArea = width:50 height:530 left:50 bottom:10

Colors =

  id:gray value:gray(0.6)

BackgroundColors = canvas:gray

DateFormat = yyyy Period = from:2634 till:2669 TimeAxis = orientation:vertical ScaleMajor = unit:year increment:5 start:2634

  1. there is no automatic collision detection,
  2. so shift texts up or down manually to avoid overlap

Define $dx = 25 # shift text to right side of bar

PlotData=

 bar:Leaders color:red width:25 textcolor:white mark:(line,white) align:left fontsize:S
 from:2634 till:2634 shift:($dx,5)   text:McAuliffe Ambush
 from:2654  till:2654 shift:($dx,5)    text:Wing Commander 1
 from:2655  till:2655 shift:($dx,5)    text:Secret Missions 1
 from:2656  till:2658 shift:($dx,5)    text:Leonid~Brezhnev
 from:2660  till:2664 shift:($dx,5)  text:Yuri~Andropov
 from:2665  till:2667 shift:($dx,5)    text:Konstantin~Chernenko 
 from:2668  till:2669  shift:($dx,5)   text:Mikhail~Gorbachev

</timeline>