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 27: Line 27:
{{#if: {{{census-year|}}} |
{{#if: {{{census-year|}}} |
<div style="position: absolute; bottom: 0%;
<div style="position: absolute; bottom: 0%;
height: {{#expr: 100*74/(1.1*{{{max-tot|{{{curr-tot}}}}}}) }}%;
height: {{#expr: 100*{{{census-tot}}}/(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}}) }}%;
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>
box-sizing: border-box; border-left: 1px dotted rgba(0,0,0,0.3);"></div>

Revision as of 15:26, 28 March 2017

Template:Subtemplate Creates an annotation box at a specified date, with specified text.