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 1: Line 1:
<includeonly>
<includeonly>
{{#ifexpr: {{datefmt|1/1/{{#expr: ({{{year-interval}}}*{{{1}}}-{{{year-interval}}})+2006}}}} < {{datefmt|{{{end-date}}}}}
<!--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;
bottom: -10px;
bottom: -10px;
Line 7: Line 9:
border-left: 1px solid; font-size: {{#expr: 90*{{{size|500}}}/500 }}%;">{{#ifexpr: ({{{year-interval}}}*{{{1}}}-{{{year-interval}}})+2006 < {{str rightc|{{{end-date}}}|4}} |''''{{str rightc|{{#expr: ({{{year-interval}}}*{{{1}}}-{{{year-interval}}})+2006}} |2}}'''|}}</div>
border-left: 1px solid; font-size: {{#expr: 90*{{{size|500}}}/500 }}%;">{{#ifexpr: ({{{year-interval}}}*{{{1}}}-{{{year-interval}}})+2006 < {{str rightc|{{{end-date}}}|4}} |''''{{str rightc|{{#expr: ({{{year-interval}}}*{{{1}}}-{{{year-interval}}})+2006}} |2}}'''|}}</div>


</includeonly><noinclude>
|}}</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 20:20, 11 January 2017

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