Difference between revisions of "Template:Demo-inline"

From blackwiki
Jump to navigation Jump to search
test>Swpb
test>Swpb
Line 1: Line 1:
<includeonly>{{#if: {{{1}}}|<!--color:--><div style="display: inline-block; position: absolute;
+
<includeonly>{{#if: {{component|{{{1}}}|2}}|<!--color:--><div style="display: inline-block; position: absolute;
 
bottom: {{#expr: 100*({{component|{{{1}}}|3}}-{{component|{{{1}}}|2}})/(1.1*{{{max-tot|}}}) }}%;
 
bottom: {{#expr: 100*({{component|{{{1}}}|3}}-{{component|{{{1}}}|2}})/(1.1*{{{max-tot|}}}) }}%;
 
height: {{#expr: 100*{{component|{{{1}}}|2}}/(1.1*{{{max-tot|}}}) }}%;
 
height: {{#expr: 100*{{component|{{{1}}}|2}}/(1.1*{{{max-tot|}}}) }}%;

Revision as of 16:10, 31 January 2017

Template:Subtemplate Draws a div bar with the specified bottom, height, and start and end dates