Difference between revisions of "Template:Draw Bar"
Jump to navigation
Jump to search
imported>Smith609 m (Add text size funtionality) |
imported>Mr.Z-man m (what is wrong with this mess?) |
||
| Line 8: | Line 8: | ||
position:absolute; | position:absolute; | ||
text-align:center; | text-align:center; | ||
| − | margin-top: | + | margin-top:{{{tl-hu}}}; |
| − | + | height:{{{tl-hu}}}; | |
| − | |||
| − | |||
| − | |||
| − | height: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
margin-left:{{#expr:{{{left}}}*{{{tl-width}}}}}{{{tl-wu}}}; | margin-left:{{#expr:{{{left}}}*{{{tl-width}}}}}{{{tl-wu}}}; | ||
width:{{#expr:({{{right}}}-{{{left}}})*{{{tl-width}}}}}{{{tl-wu}}}; | width:{{#expr:({{{right}}}-{{{left}}})*{{{tl-width}}}}}{{{tl-wu}}}; | ||
"><div id=nudge style=" | "><div id=nudge style=" | ||
font-size:100%; | font-size:100%; | ||
| − | position:relative | + | position:relative; |
| − | |||
left:{{{nudgeright|0}}}em; | left:{{{nudgeright|0}}}em; | ||
"><span style=" | "><span style=" | ||
| Line 32: | Line 21: | ||
font-size:{{{textsize}}};}} | font-size:{{{textsize}}};}} | ||
vertical-align:middle; | vertical-align:middle; | ||
| − | bottom:- | + | bottom:-{{{tl-hu|em}}}; |
| − | |||
| − | |||
| − | |||
| − | |||
">{{{text}}}</span></div></div></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ">{{{text}}}</span></div></div></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ||
Revision as of 05:37, 31 January 2008
Produces the bars used in {{Graphical timeline}}.