Template:Timebar/doc

From MOASSpedia
Jump to navigation Jump to search

Template constructed by the Cladogram Creation Team


Settings: length=6; taxon=''[[Shunosaurus]]''; color=red
This template creates miniature timescales for usage in describing evolution of clades

Parameters

  • |length= - Sets the length of the bar that is displayed (in em)
  • |taxon= - Sets the text to be displayed following the bar (links and italics must be manually entered)
  • |color= optional - Sets the color for the bar that is displayed (can use words, rbg or hex)
  • |cont= optional - Sets the bar to fade out at the end (only in black)

Usage

Best works in conjunction with {{Geological timeline}} to create time-calibrated cladograms.

Jurassic
Early Jurassic Middle Jurassic Late Jurassic
H S P To A Bj Bt C O K Ti
h
h
h
h
h
h
h
h

Code:

{{Geological timeline|period=jurassic}}
{{clade| style=font-size: 100%; line-height: 100%;
|1={{clade|label1=<span style="display:block;width: 21.5em; color: white;">h</span>|1={{timebar|length=2|taxon=''[[Shunosaurus]]''|color=red}} }}
|2={{clade
 |1={{clade|label1=<span style="display:block;width: 4.5em; color: white;">h</span>|1={{timebar|length=2|taxon=''[[Barapasaurus]]''|color=red}} }}
 |2={{clade
  |1={{clade|label1=<span style="display:block;width: 21.5em; color: white;">h</span>|1={{timebar|length=3|taxon=''[[Omeisaurus]]''|color=red}} }}
  |2={{clade
   |1={{clade|label1=<span style="display:block;width: 24em; color: white;">h</span>|1={{timebar|length=13.5|taxon=''[[Mamenchisaurus]]''|color=red}} }}
   |2={{clade
    |1={{clade|label1=<span style="display:block;width: 18.5em; color: white;">h</span>|1={{timebar|length=1.5|taxon=''[[Patagosaurus]]''|color=blue}} }}
    |2={{clade
     |1={{clade|label1=<span style="display:block;width: 17em; color: white;">h</span>|1={{timebar|length=0.5|taxon=''[[Cetiosaurus]]''|color=green}} }}
      |2={{clade
       |1={{clade|label1=<span style="display:block;width: 15.5em; color: white;">h</span>|1={{timebar|length=0.5|taxon=''[[Jobaria]]''|color=purple}} }}
       |2={{clade|label1=<span style="display:block;width: 10em; color: white;">h</span>|1={{timebar|length=25|taxon=[[Neosauropoda]]|cont=yes}} }} }} }} }} }} }} }} }}