Difference between revisions of "Template:Draw Bar"

From blackwiki
Jump to navigation Jump to search
(fix the red-link"Template:Border-style"-problem at Template:Graphical timeline)
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 05:37, 25 November 2017

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

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