Template:ShowMa

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Usage

Use the function {{ShowMa|Million years ago}} to include a timeline with the date marked with a red bar.

Use a positive number. Non-integers are fine. Only the timelines including the date range will be shown.


Example

{{ShowMa|60}} will produce:


Timeline

This timeline shows how 60 million years relates to the planetary timescale.

<timeline> ImageSize = width:800 height:100 PlotArea = left:65 right:15 bottom:20 top:5 AlignBars = justify

Colors =

 id:phanerozoic value:rgb(0.435,0.854,0.929)
 id:cenozoic value:rgb(0.964,0.925,0.223)
 id:quaternary value:rgb(0.996,0.964,0.568)
 id:neogene value:rgb(0.996,0.866,0.176)
 id:paleogene value:rgb(0.996,0.631,0.388)
 id:mesozoic value:rgb(0.027,0.792,0.917)
 id:cretaceous value:rgb(0.435,0.784,0.419)
 id:jurassic value:rgb(0,0.733,0.905)
 id:triassic value:rgb(0.6,0.305,0.588)
 id:paleozoic value:rgb(0.572,0.764,0.627)
 id:permian value:rgb(0.941,0.345,0.235)
 id:carboniferous value:rgb(0.247,0.682,0.678)
 id:devonian value:rgb(0.866,0.588,0.317)
 id:silurian value:rgb(0.65,0.874,0.772)
 id:ordovician value:rgb(0,0.662,0.541)
 id:cambrian value:rgb(0.505,0.666,0.447)
 id:precambrian value:rgb(0.996,0.356,0.443)
 id:proterozoic value:rgb(0.996,0.298,0.407)
 id:neoproterozoic value:rgb(0.996,0.717,0.341)
 id:ediacaran value:rgb(0.996,0.84,0.48)
 id:cryogenian value:rgb(0.996,0.8,0.43)
 id:tonian value:rgb(0.996,0.76,0.38)
 id:mesoproterozoic value:rgb(0.996,0.721,0.446)
 id:stenian value:rgb(0.996,0.84,0.63)
 id:ectasian value:rgb(0.996,0.8,0.58)
 id:calymmian value:rgb(0.996,0.76,0.53)
 id:paleoproterozoic value:rgb(0.996,0.356,0.443)
 id:statherian value:rgb(0.996,0.52,0.63)
 id:orosirian value:rgb(0.996,0.48,0.58)
 id:rhyacian value:rgb(0.996,0.44,0.53)
 id:siderian value:rgb(0.996,0.40,0.48)
 id:archean value:rgb(0.996,0,0.486)
 id:neoarchean value:rgb(0.996,0.65,0.729)
 id:mesoarchean value:rgb(0.996,0.486,0.639)
 id:paleoarchean value:rgb(0.996,0.356,0.592)
 id:eoarchean value:rgb(0.933,0,0.490)
 id:hadean value:rgb(0.796,0.011,0.505)
 id:black  value:black
 id:white  value:white

Period = from:-4567.17 till:0 TimeAxis = orientation:horizontal ScaleMajor = unit:year increment:500 start:-4500 ScaleMinor = unit:year increment:100 start:-4500

Define $markred = text:"*" textcolor:red shift:(0,3) fontsize:10

PlotData=

 align:center textcolor:black fontsize:8 mark:(line,black) width:25 shift:(0,-5)
 bar:eon
 at:      0   align:right  $markred
 at:   -542   align:left   $markred shift:(2,3)
 from: -542   till:    0   text:Phanerozoic  color:phanerozoic   
 from:-2500   till: -542   text:Proterozoic  color:proterozoic   
 from:-4000   till: -2500  text:Archean      color:archean   
 from: start  till: -4000  text:Hadean       color:hadean


 bar:era
 from:  -65.5 till:    0   text:C~z shift:(0,1.5)        color:cenozoic        
 from: -251   till:  -65.5 text:Meso~zoic shift:(0,1.5)  color:mesozoic        
 from: -542   till: -251 text:Paleozoic  color:paleozoic 
 from: -1000  till:  -542  text:Neoproterozoic color:neoproterozoic   
 from:-1600   till:  -1000  text:Mesoproterozoic color:mesoproterozoic  
 from:-2500   till: -1600  text:Paleoproterozoic color:paleoproterozoic 
 from:-2800   till: -2500  text:Neo-~archean shift:(0,1.5)     color:neoarchean       
 from:-3200   till: -2800  text:Meso-~archean shift:(0,1.5)   color:mesoarchean      
 from:-3600   till: -3200  text:Paleo-~archean shift:(0,1.5) color:paleoarchean     
 from:-4000   till: -3600  text:Eoarchean color:eoarchean    
 from:start   till: -4000  color:white
 bar:period
 fontsize:6
 from: -2.588 till: 0 color:quaternary
 from: -23.03 till: -2.588 color:neogene
 from: -65.5 till: -23.03 color:paleogene
 from: -145.5 till: -65.5 color:cretaceous
 from: -199.6 till: -145.5 color:jurassic
 from: -251 till: -199.6 color:triassic
 from: -299 till: -251 color:permian
 from: -359.2 till: -299 color:carboniferous
 from: -416 till: -359.2 color:devonian
 from: -443.7 till: -416 color:silurian
 from: -488.3 till: -443.7 color:ordovician
 from: -542 till: -488.3 color:cambrian
 from: -630 till: -542  text:Ed. color:ediacaran
 from: -850 till: -630  text:Cryo-~genian color:cryogenian shift:(0,0.5)
 from: -1000 till: -850  text:Tonian color:tonian
 from: -1200 till: -1000 text:Ste-~nian color:stenian shift:(0,0.5)
 from: -1400 till: -1200 text:Ect-~asian color:ectasian shift:(0,0.5)
 from: -1600 till: -1400 text:Calym-~mian color:calymmian shift:(0,0.5)
 from: -1800 till: -1600 text:Stath-~erian color:statherian shift:(0,0.5)
 from: -2050 till: -1800 text:Oro-~sirian color:orosirian shift:(0,0.5)
 from: -2300 till: -2050 text:Rhy-~acian color:rhyacian shift:(0,0.5)
 from: -2500 till: -2300 text:Sid-~erian color:siderian shift:(0,0.5)
 from: start till: -2500 color:white

</timeline>

60 million years ago

<timeline> ImageSize = width:800 height:100 PlotArea = left:65 right:15 bottom:20 top:5 AlignBars = justify

Colors =

 id:phanerozoic value:rgb(0.435,0.854,0.929)
 id:cenozoic value:rgb(0.964,0.925,0.223)
 id:quaternary value:rgb(0.996,0.964,0.568)
 id:neogene value:rgb(0.996,0.866,0.176)
 id:paleogene value:rgb(0.996,0.631,0.388)
 id:mesozoic value:rgb(0.027,0.792,0.917)
 id:cretaceous value:rgb(0.435,0.784,0.419)
 id:jurassic value:rgb(0,0.733,0.905)
 id:triassic value:rgb(0.6,0.305,0.588)
 id:paleozoic value:rgb(0.572,0.764,0.627)
 id:permian value:rgb(0.941,0.345,0.235)
 id:carboniferous value:rgb(0.247,0.682,0.678)
 id:devonian value:rgb(0.866,0.588,0.317)
 id:silurian value:rgb(0.65,0.874,0.772)
 id:ordovician value:rgb(0,0.662,0.541)
 id:cambrian value:rgb(0.505,0.666,0.447)
 id:black  value:black
 id:white  value:white
 id:darkgreen value:rgb(0,0.35,0)


Period = from:-542 till:0 TimeAxis = orientation:horizontal ScaleMajor = unit:year increment:100 start:-500 ScaleMinor = unit:year increment:10 start:-540

Define $markred = text:"*" textcolor:red shift:(0,3) fontsize:10 Define $markgreen = text:"*" textcolor:darkgreen shift:(0,3) fontsize:10

PlotData=

 align:center textcolor:black fontsize:8 mark:(line,black) width:25 shift:(0,-5)
 bar:eon
 at: 0 align:right $markred 
 at: -542 align:left $markred shift:(2,3)
 from: -542 till: 0 text:Phanerozoic color:phanerozoic
 bar:era
 at: 0   align:right $markgreen
 at: -65.5 align:left $markgreen shift:(2,3)
 from: -65.5 till: 0 text:Cenozoic color:cenozoic
 from: -251 till: -65.5 text:Mesozoic color:mesozoic
 from: -542 till: -251 text:Paleozoic color:paleozoic
 bar:period fontsize:8
 from: -2.588 till: 0 text:Q color:quaternary
 from: -23.03 till: -2.588 text:Neo-~gene shift:(0,0.5) color:neogene
 from: -65.5 till: -23.03 text:Paleogene color:paleogene
 from: -145.5 till: -65.5 text:Cretaceous color:cretaceous
 from: -199.6 till: -145.5 text:Jurassic color:jurassic
 from: -251 till: -199.6 text:Triassic color:triassic
 from: -299 till: -251 text:Permian color:permian
 from: -359.2 till: -299 text:Carboniferous color:carboniferous
 from: -416 till: -359.2 text:Devonian color:devonian
 from: -443.7 till: -416 text:Silurian color:silurian
 from: -488.3 till: -443.7 text:Ordovician color:ordovician
 from: -542 till: -488.3 text:Cambrian color:cambrian

</timeline>

60 million years ago
   Template:ShowMa3 
Millions of years ago

Script error: No such module "Check for unknown parameters".