Template:FloruitTimeLine: Difference between revisions

From London Book Trades
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly><div class="floruit-tl"><div class="floruit-tl__labels"><span>1463</span><span>1939</span></div><div class="floruit-tl__track">{{#if:{{{start|}}}|<div class="floruit-tl__band" style="left:{{#expr: 100 * ( ({{#ifexpr: {{{start}}} < 1463 | 1463 | {{#ifexpr: {{{start}}} > 1939 | 1939 | {{{start}}} }} }}) - 1463 ) / 476 }}%; width:{{#if:{{{end|}}}|{{#ifexpr:({{#ifexpr: {{{end}}} < 1463 | 1463 | {{#ifexpr: {{{end}}} > 1939 | 1939 | {{{end}}} }} }}) < ({{#ifexpr: {{{start}}} < 1463 | 1463 | {{#ifexpr: {{{start}}} > 1939 | 1939 | {{{start}}} }} }})|0.8|{{#expr: 100 * ( ({{#ifexpr: {{{end}}} < 1463 | 1463 | {{#ifexpr: {{{end}}} > 1939 | 1939 | {{{end}}} }} }}) - ({{#ifexpr: {{{start}}} < 1463 | 1463 | {{#ifexpr: {{{start}}} > 1939 | 1939 | {{{start}}} }} }}) ) / 476 }}}}|0.8}}%;"></div>}}</div><div class="floruit-tl__ticklabels"><span>1500</span><span>1600</span><span>1700</span><span>1800</span><span>1900</span></div><div class="floruit-tl__caption">Floruit: {{{start|?}}}{{#if:{{{end|}}}|–{{{end}}}|}}</div></div></includeonly>
<div class="floruit-tl">
<noinclude><pre>
  <div class="floruit-tl__labels">
{{FloruitTimeline|start=1608|end=1639}}
    <span>1463</span><span>1939</span>
</pre></noinclude>
  </div>
 
  <div class="floruit-tl__track">
    {{#if:{{{start|}}}|
      <div class="floruit-tl__band" style="left:{{#expr: 100 * ( ({{#ifexpr: {{{start}}} < 1463 | 1463 | {{#ifexpr: {{{start}}} > 1939 | 1939 | {{{start}}} }} }}) - 1463 ) / 476 }}%; width:{{#if:{{{end|}}}|
        {{#ifexpr:
          ({{#ifexpr: {{{end}}} < 1463 | 1463 | {{#ifexpr: {{{end}}} > 1939 | 1939 | {{{end}}} }} }}) < ({{#ifexpr: {{{start}}} < 1463 | 1463 | {{#ifexpr: {{{start}}} > 1939 | 1939 | {{{start}}} }} }})
          | 0.8
          | {{#expr: 100 * ( ({{#ifexpr: {{{end}}} < 1463 | 1463 | {{#ifexpr: {{{end}}} > 1939 | 1939 | {{{end}}} }} }}) - ({{#ifexpr: {{{start}}} < 1463 | 1463 | {{#ifexpr: {{{start}}} > 1939 | 1939 | {{{start}}} }} }}) ) / 476 }}
        }}
      | 0.8 }}%;"></div>
    }}
  </div>
 
  <div class="floruit-tl__ticklabels">
    <span>1500</span><span>1600</span><span>1700</span><span>1800</span><span>1900</span>
  </div>
 
  <div class="floruit-tl__caption">
    Floruit: {{{start|?}}}{{#if:{{{end|}}}|–{{{end}}}|}}
  </div>
</div>
</includeonly>
<noinclude>
<pre>
{{FloruitTimeline|start=1808|end=1839}}
</pre>
</noinclude>

Revision as of 18:14, 2 March 2026

{{FloruitTimeline|start=1608|end=1639}}