Difference between revisions of "Template:Draw Bar"
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}}}</ | + | ">{{{text}}}</div></div></div></includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 00:20, 5 April 2020
Produces the bars used in {{Graphical timeline}}.
| The above documentation is transcluded from Template:Draw Bar/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |