Difference between revisions of "Template:Draw Bar"

From blackwiki
Jump to navigation Jump to search
imported>Tholme
(try again)
 
(3 intermediate revisions by 2 users not shown)
Line 25: Line 25:
 
     font-size:100%;  
 
     font-size:100%;  
 
     position:relative;
 
     position:relative;
     }} *
+
     top:{{#expr:{{{nudgedown|0}}}-0.86}}em;
 +
    left:{{{nudgeright|0}}}em;
 +
"><div style="
 +
    position:relative;
 +
    align:center;{{#if:{{{textsize|}}}|
 +
    font-size:{{{textsize}}};}}
 +
    vertical-align:middle;
 +
    bottom:-{{#expr:
 +
        {{{tl-height}}} *
 
         ({{{to}}}-{{{from}}}) /
 
         ({{{to}}}-{{{from}}}) /
 
         ({{{tl-to}}}-{{{tl-from}}})
 
         ({{{tl-to}}}-{{{tl-from}}})
 
         /2}}{{{tl-hu|em}}};  
 
         /2}}{{{tl-hu|em}}};  
">{{{text}}}</span></div></div></includeonly><noinclude>{{documentation}}</noinclude>
+
">{{{text}}}</div></div></div></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 00:20, 5 April 2020

Template documentation[view] [edit] [history] [purge]

Produces the bars used in {{Graphical timeline}}.