Difference between revisions of "Template:Demo-inline"
Jump to navigation
Jump to search
test>Swpb |
test>Swpb |
||
| Line 2: | Line 2: | ||
| | | | ||
| − | <includeonly><!--color bar--> | + | <includeonly><!--color bar-->{{#ifexpr: {{{1}}}+2005 mod 2 |<div style="display: inline-block; position: absolute; |
left: {{#expr: 100*({{datefmt|1/1/{{#expr: {{{1}}}+2005}}}}-{{datefmt|1/1/2006}})/({{datefmt|{{{end-date}}}}}-{{datefmt|1/1/2006}}) }}%; | left: {{#expr: 100*({{datefmt|1/1/{{#expr: {{{1}}}+2005}}}}-{{datefmt|1/1/2006}})/({{datefmt|{{{end-date}}}}}-{{datefmt|1/1/2006}}) }}%; | ||
right: {{max|0|{{#expr: 100-(100*({{datefmt|1/1/{{#expr:{{{1}}}+2006}} }}-{{datefmt|1/1/2006}})/({{datefmt|{{{end-date}}}}}-{{datefmt|1/1/2006}})) }} }}%; | right: {{max|0|{{#expr: 100-(100*({{datefmt|1/1/{{#expr:{{{1}}}+2006}} }}-{{datefmt|1/1/2006}})/({{datefmt|{{{end-date}}}}}-{{datefmt|1/1/2006}})) }} }}%; | ||
bottom: 0%; | bottom: 0%; | ||
| − | height: 100%; background-color: #EEEEEE;"></div>|}} | + | height: 100%; background-color: #EEEEEE;"></div>|}} |
| − | |||
| − | |||
| − | |||
<!--outer marker and label--><!--<div style="display: inline-block; position: absolute; text-align:center; | <!--outer marker and label--><!--<div style="display: inline-block; position: absolute; text-align:center; | ||
Revision as of 18:41, 11 January 2017
Expression error: Unexpected < operator.