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 23: Line 23:


</div><includeonly><noinclude>
</div><includeonly><noinclude>
<!--dotted line at census redistribution-->
{{#if: {{{census-year|}}} |
<div style="position: absolute; bottom: 0%;
height: {{#expr: 100*74/(1.1*{{{max-tot|{{{curr-tot}}}}}}) }}%;
left: {{#expr: 100*({{MDY to Julian|1/1/{{{census-year}}}}}-{{MDY to Julian|1/1/2006}})/({{MDY to Julian|{{{updated|}}}}}-{{MDY to Julian|1/1/2006}}) }}%;
box-sizing: border-box; border-left: 1px dotted rgba(0,0,0,0.3);"></div>
|}}
{{subtemplate}}
{{subtemplate}}
Creates an annotation box at a specified date, with specified text.
Creates an annotation box at a specified date, with specified text.
</noinclude>
</noinclude>

Revision as of 15:15, 28 March 2017