EpiMedDat
The Open Data Collection for Historical Epidemics and Medieval Diseases

Template:Disease: Difference between revisions

From EpiMedDat
No edit summary
No edit summary
 
(43 intermediate revisions by the same user not shown)
Line 8: Line 8:
<div class="card"><div class="mw-collapsible"><div class="card-header bg-light"><h4>Map</h4></div>
<div class="card"><div class="mw-collapsible"><div class="card-header bg-light"><h4>Map</h4></div>
<div class="card-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{#ask:[[{{FULLPAGENAME}}]]|?Coordinates|valuesep=;|format=leaflet}}
{{#display_map:{{#arraymap:{{{Place|}}}|;|@@@@|{{#show:@@@@|?Coordinates}}|;}}|maxzoom=9}}
</div>
</div>
</div></div>
</div></div>
Line 15: Line 15:
{| class="table table-hover table-responsive table-sm"
{| class="table table-hover table-responsive table-sm"
| style="width: 30%"|[[Date start::@@@]]
| style="width: 30%"|[[Date start::@@@]]
|{{{Date start|}}}{{#set:Date start={{{Date start|}}} }}
|{{{Date start|}}} <sup>{{#iferror:{{#ifexpr:{{#len:{{{Date start|}}}}}=10|{{#time: l|{{{Date start|}}}}}| }} }}</sup>{{#set:Date start={{{Date start|}}}}}
|<span class="smwsearch">[[Special:SearchByProperty/:Date start/{{#replace:{{{Date start|}}}| |-20}}|+]]</span>
|<span class="smwsearch">[[Special:SearchByProperty/:Date start/{{#replace:{{{Date start|}}}| |-20}}|+]]</span>
|-
|-
|[[Date end::@@@]]
|[[Date end::@@@]]
|{{{Date end|}}}{{#set:Date start={{{Date end|}}} }}
|{{{Date end|}}} <sup>{{#iferror:{{#ifexpr:{{#len:{{{Date end|}}}}}=10|{{#time: l|{{{Date end|}}}}}| }} }}</sup>{{#set:Date end={{{Date end|}}}}}
|<span class="smwsearch">[[Special:SearchByProperty/:Date end/{{#replace:{{{Date end|}}}| |-20}}|+]]</span>
|<span class="smwsearch">[[Special:SearchByProperty/:Date end/{{#replace:{{{Date end|}}}| |-20}}|+]]</span>
|-
|-
|[[Date indication::@@@]]
|[[Season::@@@]]
|{{#arraymap:{{{Date indication|}}}|;|@@@@|@@@@{{#set:Date indication=@@@@ }} }}
|{{#arraymap:{{{Season|}}}|;|@@@@|[[Season::@@@@]]{{#set:Month={{#switch:@@@@|Spring=March,April,May|Summer=June,July,August|Autumn=September,October,November|Winter=December,January,February}}|+sep=,}}}}
|<span class="smwsearch">[[Special:SearchByProperty/:Date indication/{{#replace:{{{Date indication|}}}| |-20}}|+]]</span>
|
|-
|-
|[[Date other::@@@]]
|[[Date other::@@@]]
Line 30: Line 30:
|-
|-
|[[Place::@@@]]
|[[Place::@@@]]
|{{#arraymap:{{{Place|}}}|;|@@@@|@@@@{{#set:Place=@@@@|Coordinates={{#geocode:@@@@}}}}<span class="smwsearch">[[Special:SearchByProperty/:Place/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Place|}}}|;|@@@@|[[@@@@]]{{#set:Place=@@@@}}}}
|
|
|-
|[[Region::@@@]]
|{{#arraymap:{{{Region|}}}|;|@@@@|[[Region::@@@@]]}}
|-
|-
|[[Country::@@@]]
|[[Country::@@@]]
|{{#arraymap:{{{Country|}}}|;|@@@@|@@@@{{#set:Country=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Country/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Country|}}}|;|@@@@|[[Country::@@@@]]}}
|
|
|-
|-
|[[River::@@@]]
|[[River::@@@]]
|{{#arraymap:{{{River|}}}|;|@@@@|@@@@{{#set:River=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:River/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{River|}}}|;|@@@@|[[River::@@@@]]}}
|
|
|-
|-
|[[Natural event::@@@]]
|[[Natural event::@@@]]
|{{#arraymap:{{{Natural event|}}}|;|@@@@|@@@@{{#set:Natural event=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Natural event/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Natural event|}}}|;|@@@@|[[Natural event::@@@@]]}}
|
|
|-
|-
|[[Person::@@@]]
|[[Person::@@@]]
|{{#arraymap:{{{Person|}}}|;|@@@@|@@@@{{#set:Person=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Person/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Person|}}}|;|@@@@|[[Person::@@@@]]}}
|
|
|-
|-
|[[Group::@@@]]
|[[Group::@@@]]
|{{#arraymap:{{{Group|}}}|;|@@@@|@@@@{{#set:Group=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Group/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Group|}}}|;|@@@@|[[Group::@@@@]]}}
|
|
|-
|-
|[[Victim::@@@]]
|[[Victim::@@@]]
|{{{Victim|}}}{{#set:Date start={{{Victim|}}} }} <sup>{{{Victim count type|}}}{{#set:Victim count type={{{Victim count type|}}} }}</sup>
|{{{Victim|}}}{{#set:Victim={{{Victim|}}}}} <sup>{{{Victim count type|}}}{{#set:Victim count type={{{Victim count type|}}} }}</sup>{{#switch:{{{Victim count type|}}}
| absolute = {{#set:Victim number={{#expr:{{{Victim|}}}}} }}
| relative = {{#set:Victim share={{#expr:{{{Victim|}}}}}% }}
| per day = {{#set:Victim daily={{#expr:{{{Victim|}}}}} }}
}}
|<span class="smwsearch">[[Special:SearchByProperty/:Victim/{{#replace:{{{Victim|}}}| |-20}}|+]]</span>
|<span class="smwsearch">[[Special:SearchByProperty/:Victim/{{#replace:{{{Victim|}}}| |-20}}|+]]</span>
|-
|-
|[[Animal::@@@]]
|[[Animal::@@@]]
|{{#arraymap:{{{Animal|}}}|;|@@@@|@@@@{{#set:Animal=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Animal/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Animal|}}}|;|@@@@|[[Animal::@@@@]]}}
|
|
|-
|-
|[[Disease::@@@]]
|[[Disease::@@@]]
|{{#arraymap:{{{Disease|}}}|;|@@@@|@@@@{{#set:Disease=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Disease/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Disease|}}}|;|@@@@|[[Disease::@@@@]]}}
|
|
|-
|-
|[[Epidemic wave::@@@]]
|[[Epidemic wave::@@@]]
|{{#arraymap:{{{Epidemic wave|}}}|;|@@@@|@@@@{{#set:Epidemic wave=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Epidemic wave/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Epidemic wave|}}}|;|@@@@|@@@@{{#set:Epidemic wave=@@@@ }}}}
|
|
|-
|-
|[[Social response::@@@]]
|[[Social response::@@@]]
|{{#arraymap:{{{Social response|}}}|;|@@@@|@@@@{{#set:Social response=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Social response/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Social response|}}}|;|@@@@|[[Social response::@@@@]]}}
|
|
|-
|-
|[[Language::@@@]]
|[[Language::@@@]]
|{{#arraymap:{{{Language|}}}|;|@@@@|@@@@{{#set:Language=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Language/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Language|}}}|;|@@@@|[[Language::@@@@]]}}
|-
|-
|[[Keyword::@@@]]
|[[Keyword::@@@]]
|{{#arraymap:{{{Keyword|}}}|;|@@@@|@@@@{{#set:Keyword=@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:Keyword/{{#replace:@@@@| |-20}}|+]]</span> }}
|{{#arraymap:{{{Keyword|}}}|;|@@@@|[[Keyword::@@@@]]}}
|
|-
|[[Reference::@@@]]
|{{#arraymap:{{{Reference|}}}|;|@@@@|@@@@{{#set:Reference=@@@@|}}<span class="smwsearch">[[Special:SearchByProperty/:Reference/{{#replace:@@@@| |-20}}|+]]</span>[[CiteRef::{{#explode:@@@@|,|0}}]]}}
|
|
|-
|[[User::@@@]]
|{{#arraymap:{{{User|}}}|;|@@@@|[[{{ns:user}}:@@@@|@@@@]]{{#set:User={{ns:user}}:@@@@ }}<span class="smwsearch">[[Special:SearchByProperty/:User/{{#replace:{{ns:user}}:@@@@| |-20}}|+]]</span> }}
|-
|-
|[[Special:Diff/{{REVISIONID}}|last edited]]
|[[Special:Diff/{{REVISIONID}}|last edited]]
|{{REVISIONDAY}}. {{REVISIONMONTH}}. {{REVISIONYEAR}} by [[{{ns:user}}:{{REVISIONUSER}}|{{REVISIONUSER}}]].
|{{REVISIONDAY}}. {{REVISIONMONTH}}. {{REVISIONYEAR}} by [[{{ns:user}}:{{REVISIONUSER}}|{{REVISIONUSER}}]].
|}
|}
</div><div class="card-footer">
</div><div class="card-footer">Export: [[Special:ExportRDF/{{FULLPAGENAME}}|RDF]]
</div></div></div>
</div></div></div>
</div>
</div>
{{{Summary|''summary missing''}}}
{{{Summary|''summary missing''}}}{{#set:Summary={{{Summary|}}}}}
<div class="row">
<div class="row">
<div class="col-md-6"><div class="card"><div class="card-header bg-light"><h4>[[Text original::@@@]]</h4></div>
<div class="col-md-6"><div class="card"><div class="card-header bg-light"><h4>[[Text original::@@@]]</h4></div>
<div class="card-body">
<div class="card-body">
{{{Text|}}}
''{{{Text|}}}''{{#set:Text original={{{Text|}}}}}
</div>
<div class="card-footer">
{{{Reference|}}}{{#set:Reference={{{Reference|}}}}} [[CiteRef::{{#explode:{{{Reference|}}}|,|0}}]]
</div></div></div>
</div></div></div>
<div class="col-md-6"><div class="card"><div class="card-header bg-light"><h4>[[Text translation::@@@]]</h4></div>
<div class="col-md-6"><div class="card"><div class="card-header bg-light"><h4>[[Text translation::@@@]]</h4></div>
<div class="card-body">
<div class="card-body">
{{{Translation|''Tranlsation needed''[[Category:Needs Translation]]}}}
{{{Translation|''Translation needed''[[Category:Needs Translation]]}}}{{#set:Text translation={{{Translation|}}}}}
</div>
<div class="card-footer">
{{{Reference translation|}}}{{#set:Reference translation={{{Reference translation|}}}}} [[CiteRef::{{#explode:{{{Reference translation|}}}|,|0}}]]
</div></div></div>
</div></div></div>
</div>
</div>
[[Category:Diseases]]{{#default_form:Disease}}{{#titleicon_file:Disease.png|Diseases}}
[[Category:Diseases]]{{#default_form:Disease}}{{#titleicon_file:Disease.png|Diseases}}
</includeonly>
</includeonly>

Latest revision as of 16:02, 22 December 2025

Template for deseases

{{Disease}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.