Form:Timeline: Difference between revisions
From EpiMedDat
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
</noinclude><includeonly>__NOTOC____NOEDITSECTION__{{{info|query form at bottom|query title=Interactive Timeline}}} | </noinclude><includeonly>__NOTOC____NOEDITSECTION__{{{info|query form at bottom|query title=Interactive Timeline}}} | ||
{{{for template|Interactive Timeline|label= | {{{for template|Interactive Timeline|label=|intro=Display a timeline based on your selection}}} | ||
<div class="row"> | <div class="row"> | ||
<div class="col-md-4">[[Disease::@@@]]<br/>{{{field|Disease|input type=tokens|delimiter=;|default=Plague|property=disease|class=form-control}}}</div> | <div class="col-md-4">[[Disease::@@@]]<br/>{{{field|Disease|input type=tokens|delimiter=;|default=Plague|property=disease|class=form-control}}}</div> | ||
| Line 15: | Line 15: | ||
<div class="col-md-4">[[Country::@@@]]<br/>{{{field|Country|input type=tokens|delimiter=;|property=country|class=form-control}}}</div> | <div class="col-md-4">[[Country::@@@]]<br/>{{{field|Country|input type=tokens|delimiter=;|property=country|class=form-control}}}</div> | ||
</div> | </div> | ||
{{{end template}}}{{{standard input|run query|label= | <div class="row"> | ||
<div class="col-md-6">[[Date start::@@@]]<br/>{{{field|Date start|input type=year|class=form-control}}}</div> | |||
<div class="col-md-6">[[Date end::@@@]]<br/>{{{field|Date end|input type=year|class=form-control}}}</div> | |||
</div> | |||
{{{end template}}}{{{standard input|run query|label=Show timeline}}} | |||
{{#titleicon_file:Timeline.png|Timelines}} | {{#titleicon_file:Timeline.png|Timelines}} | ||
</includeonly> | </includeonly> | ||
