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 15: Line 15:
right: {{max|0|{{#expr: 100-{{NPVIC chart/percent|date={{#if: {{component|{{{1}}}|end}}|{{component|{{{1}}}|end}}|12/31/{{roundup|{{str rightc|{{#if: {{component|{{{1}}}|start}}|{{component|{{{1}}}|start}}|{{#expr: {{component|{{{1}}}|census}}+1}}}}|4}}|-1}}}}|updated={{{updated}}}}}}}}}%;
right: {{max|0|{{#expr: 100-{{NPVIC chart/percent|date={{#if: {{component|{{{1}}}|end}}|{{component|{{{1}}}|end}}|12/31/{{roundup|{{str rightc|{{#if: {{component|{{{1}}}|start}}|{{component|{{{1}}}|start}}|{{#expr: {{component|{{{1}}}|census}}+1}}}}|4}}|-1}}}}|updated={{{updated}}}}}}}}}%;
margin-bottom: 1px;
margin-bottom: 1px;
border-left: 10px solid green;"></div>
border-left: 1px solid green;"></div>
|
|
<!--state label:--><div style="display: inline-block; position: absolute; align: right;
<!--state label:--><div style="display: inline-block; position: absolute; align: right;

Revision as of 17:08, 31 January 2017

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