Template:Demo-inline: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Swpb
No edit summary
meta>Swpb
No edit summary
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