Difference between revisions of "Template:Draw Bar"

From blackwiki
Jump to navigation Jump to search
imported>Smith609
m (Replace id with class)
imported>Tholme
(try again)
 
(5 intermediate revisions by 4 users not shown)
Line 18: Line 18:
 
         ({{{to|502}}}-{{{from|5}}}) /
 
         ({{{to|502}}}-{{{from|5}}}) /
 
         ({{{tl-to|21}}}-{{{tl-from|10}}})
 
         ({{{tl-to|21}}}-{{{tl-from|10}}})
         ){{#ifeq:{{border-style}}|none|| - ( 2*0{{{border|}}} ) }}
+
         ){{#ifeq:{{{border-style}}}|none|| - ( 2*0{{{border|}}} ) }}
 
     }}{{{tl-hu}}};
 
     }}{{{tl-hu}}};
 
     margin-left:{{#expr:{{{left}}}*{{{tl-width}}}}}{{{tl-wu}}};
 
     margin-left:{{#expr:{{{left}}}*{{{tl-width}}}}}{{{tl-wu}}};
Line 27: Line 27:
 
     top:{{#expr:{{{nudgedown|0}}}-0.86}}em;  
 
     top:{{#expr:{{{nudgedown|0}}}-0.86}}em;  
 
     left:{{{nudgeright|0}}}em;
 
     left:{{{nudgeright|0}}}em;
"><span style="
+
"><div style="
 
     position:relative;
 
     position:relative;
 
     align:center;{{#if:{{{textsize|}}}|
 
     align:center;{{#if:{{{textsize|}}}|
Line 37: Line 37:
 
         ({{{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}}.