Difference between revisions of "Template:Draw Bar"
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; | ||
| − | ">< | + | "><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}}}</ | + | ">{{{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. |