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 13: Line 13:
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}})) }} }}%;
border-left: 1px solid; font-size: {{#expr: 90*{{{size|500}}}/500 }}%;">{{#ifexpr: {{{1}}}+2005 < {{str rightc|{{{end-date}}}|4}} |''''{{str rightc|{{#expr: {{{1}}}+2005}}|2}}'''|}}</div></includeonly><noinclude>
border-left: 1px solid; font-size: {{#expr: 90*{{{size|500}}}/500 }}%;">{{#ifexpr: {{{1}}}+2005 < {{str rightc|{{{end-date}}}|4}} |''''{{str rightc|{{#expr: {{{1}}}+2005}}|2}}'''|}}</div>
 
|}}</includeonly><noinclude>
{{subtemplate}}
{{subtemplate}}
Draws outside marker and label, and interior gray bar, for the given year
Draws outside marker and label, and interior gray bar, for the given year
</noinclude>
</noinclude>
|}}

Revision as of 18:42, 11 January 2017

{{#ifexpr: Template:Datefmt < Template:Datefmt

|

Template:Subtemplate Draws outside marker and label, and interior gray bar, for the given year