Difference between revisions of "Template:Draw Bar"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
m (Reverted edits by 43.239.205.197 (talk) to last version by 88.152.193.207)
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;
 +
"><span 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}}}</span></div></div></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 23:01, 26 November 2017

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

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