Template:BasicTimeline: Difference between revisions

From ReplayResources
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<timeline>
<timeline>
Define $skip = at:end # Force a blank line
Define $skip = at:end # Force a blank line
ImageSize  = width:1200 height:auto barincrement:18
Define $broad  = width:0.1in
Define $narrow = width:0.03in
 
# with shift:(0,..) the left/right aligned text starts/stops exactly below supplied date
# a small adjustment centers the date part of the text below the line mark
# extra adjustments may be needed to avoid overlapping texts
 
Define $dy  = -15
Define $leftneg2  = align:left    shift:(-20, $dy)
Define $leftneg1  = align:left    shift:(-10, $dy)
Define $left      = align:left    shift:(  0, $dy)
Define $leftpos1  = align:left    shift:( 10, $dy)
Define $leftpos2  = align:left    shift:( 20, $dy)
Define $center    = align:center  shift:(  0, $dy)
Define $right    = align:right  shift:(  0, $dy)
Define $rightneg1 = align:right  shift:(-10, $dy)
Define $rightpos1 = align:right  shift:( 10, $dy)
Define $rightpos2 = align:right  shift:( 20, $dy)
 
ImageSize  = width:1200 height:800
TimeAxis  = orientation:horizontal format:yyyy
TimeAxis  = orientation:horizontal format:yyyy


PlotArea  = left:95 right:415 bottom:85 top:20
PlotArea  = left:95 bottom:85 right:20 top:20
Legend    = columns:3 left:220 top:57 columnwidth:160
Legend    = columns:3 left:220 top:57 columnwidth:160
AlignBars  = late
AlignBars  = late
Line 12: Line 31:


Colors =
Colors =
id:bg    value:white
  id:canvas value:gray(0.95)        # background for whole image
  id:canvas value:gray(0.95)        # background for whole image
  id:bars  value:white            # background for bars
  id:bars  value:white            # background for bars
Line 35: Line 55:
     id:header    value:rgb(0.8,0.8,0.9)
     id:header    value:rgb(0.8,0.8,0.9)
     id:lighttext  value:rgb(0.5,0.5,0.5)
     id:lighttext  value:rgb(0.5,0.5,0.5)
    id:current    value:rgb(0.9,0.9,0.9) legend:Still_currently_produced


BackgroundColors = canvas:bg
BackgroundColors = canvas:bg
Line 47: Line 66:


BarData =
BarData =
   bar:Action Replay       text:[[Action_Replay]]
   bar:Action_Replay       text:[[Action_Replay]]
 
  bar:Capture            text:[[Capture]]
Define $broad  = width:0.1in
Define $narrow = width:0.03in
 
# with shift:(0,..) the left/right aligned text starts/stops exactly below supplied date
# a small adjustment centers the date part of the text below the line mark
# extra adjustments may be needed to avoid overlapping texts
 
Define $dy  = -15
Define $leftneg2  = align:left    shift:(-20, $dy)
Define $leftneg1  = align:left    shift:(-10, $dy)
Define $left      = align:left    shift:(  0, $dy)
Define $leftpos1  = align:left    shift:( 10, $dy)
Define $leftpos2  = align:left    shift:( 20, $dy)
Define $center    = align:center  shift:(  0, $dy)
Define $right    = align:right  shift:(  0, $dy)
Define $rightneg1 = align:right  shift:(-10, $dy)
Define $rightpos1 = align:right  shift:( 10, $dy)
Define $rightpos2 = align:right  shift:( 20, $dy)
Define $leftPH    = align:left    shift:(  3, $dy) # avoid collision with
                                                  # Pearl Harbour red line
Define $dy2 =  10
Define $leftWW2  = align:left    shift:(  0, $dy2)
Define $rightWW2  = align:right  shift:(  0, $dy2)
 


LineData=
LineData=
   at:start      color:red layer:front
   at:start      color:red layer:front
   at:end        color:red layer:front
   at:end        color:red layer:front
   at:07/12/1941 color:red layer:back
   at:07/12/1990 color:red layer:back


PlotData=
PlotData=
   fontsize:XS $broad
   fontsize:S $broad


   bar:Action Replay           from:start      till:19/02/1990 color:AR
   bar:Action_Replay           from:start      till:19/02/1990 color:AR
  bar:Capture                from:start      till:19/02/1990 color:CP


   $narrow
   $narrow
   bar:Action Replay   from:14/03/1984 till:02/09/1991 color:AR
   bar:Action_Replay   from:14/03/1984 till:02/09/1991 color:AR
 
   bar:Capture        from:14/03/1984 till:02/09/1991 color:CP
   bar:Japan textcolor:red fontsize:S
  at:01/09/1939 $leftWW2  text:"< WW2 starts in Europe"
  at:02/09/1945 $rightWW2  text:"end of WW2 >"
  at:07/12/1941 $leftWW2  text:"< WW2 reaches Asia"
 
  textcolor:black fontsize:XS
  at:27/07/1940 $rightpos2 text:"[[Greater East Asia Co-Prosperity Sphere|Co-Prosperity Sphere]] 27/7" mark:(line,white)


TextData =
  fontsize:S
  textcolor:gray2
  pos:(735,22)  tabs:(100-left)
  text:Date format dd/mm
  pos:(10,50)
</timeline>
</timeline>

Revision as of 00:11, 3 March 2010

CaptureAction Replay