Difference between revisions of "Template:Demo-inline"
Jump to navigation
Jump to search
test>Swpb |
test>Swpb |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly>{{#ifexpr: ({{{1}}}+2005) < {{str rightc|{{{end-date}}}|4}} | |
| − | {{#ifexpr | + | {{#ifexpr: ({{{1}}}+2005) mod 2 | |
| − | + | <div style="display: inline-block; position: absolute; | |
| − | + | left: {{NPVIC chart/percent| date=1/1/{{#expr: {{{1}}}+2005}} | end-date={{{end-date}}} }}%; | |
| − | + | right: {{max|0|{{#expr: 100-{{NPVIC chart/percent| date=12/31/{{#expr: {{{1}}}+2005}} | end-date={{{end-date}}} }} }} }}%; | |
| − | + | bottom: 0%; | |
| − | left: {{ | + | top: 0%; |
| − | right: {{max|0|{{#expr: 100- | + | background-color: #EEEEEE;"></div> |
| − | + | |}} | |
| − | |||
|}}</includeonly><noinclude> | |}}</includeonly><noinclude> | ||
{{subtemplate}} | {{subtemplate}} | ||
| − | Draws | + | Draws interior gray bars on odd years |
</noinclude> | </noinclude> | ||
Revision as of 13:51, 23 January 2017
Template:Subtemplate Draws interior gray bars on odd years