Difference between revisions of "Template:Demo-inline"
Jump to navigation
Jump to search
test>Swpb |
test>Swpb |
||
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> |