Template:Disease: Difference between revisions
From EpiMedDat
No edit summary |
No edit summary |
||
| (70 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly>__NOTOC____NOEDITSECTION__ | </noinclude><includeonly>__NOTOC____NOEDITSECTION__ | ||
<div class="col-md-4 pull-right"><div class="card"><div class="mw-collapsible"><div class="card-header bg-light"><h4>Factbox</h4></div> | <div class="col-md-4 pull-right"> | ||
<div class="card"><div class="mw-collapsible"><div class="card-header bg-light"><h4>Map</h4></div> | |||
<div class="card-body mw-collapsible-content"> | |||
{{#display_map:{{#arraymap:{{{Place|}}}|;|@@@@|{{#show:@@@@|?Coordinates}}|;}}|maxzoom=9}} | |||
</div> | |||
</div></div> | |||
<div class="card"><div class="mw-collapsible"><div class="card-header bg-light"><h4>Factbox</h4></div> | |||
<div class="card-body mw-collapsible-content"> | <div class="card-body mw-collapsible-content"> | ||
{| class="table table-hover table-responsive table-sm" | {| class="table table-hover table-responsive table-sm" | ||
|[[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 | |{{{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> | ||
|- | |- | ||
|[[ | |[[Season::@@@]] | ||
|{{#arraymap:{{{ | |{{#arraymap:{{{Season|}}}|;|@@@@|[[Season::@@@@]]{{#set:Month={{#switch:@@@@|Spring=March,April,May|Summer=June,July,August|Autumn=September,October,November|Winter=December,January,February}}|+sep=,}}}} | ||
| | | | ||
|- | |- | ||
|[[Date other::@@@]] | |[[Date other::@@@]] | ||
|{{{Dates|}}} | |||
|- | |||
|[[Place::@@@]] | |||
|{{#arraymap:{{{Place|}}}|;|@@@@|[[@@@@]]{{#set:Place=@@@@}}}} | |||
| | |||
|- | |||
|[[Region::@@@]] | |||
|{{#arraymap:{{{Region|}}}|;|@@@@|[[Region::@@@@]]}} | |||
|- | |||
|[[Country::@@@]] | |||
|{{#arraymap:{{{Country|}}}|;|@@@@|[[Country::@@@@]]}} | |||
| | |||
|- | |||
|[[River::@@@]] | |||
|{{#arraymap:{{{River|}}}|;|@@@@|[[River::@@@@]]}} | |||
| | |||
|- | |||
|[[Natural event::@@@]] | |||
|{{#arraymap:{{{Natural event|}}}|;|@@@@|[[Natural event::@@@@]]}} | |||
| | |||
|- | |||
|[[Person::@@@]] | |||
|{{#arraymap:{{{Person|}}}|;|@@@@|[[Person::@@@@]]}} | |||
| | |||
|- | |||
|[[Group::@@@]] | |||
|{{#arraymap:{{{Group|}}}|;|@@@@|[[Group::@@@@]]}} | |||
| | |||
|- | |||
|[[Victim::@@@]] | |||
|{{{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> | |||
|- | |||
|[[Animal::@@@]] | |||
|{{#arraymap:{{{Animal|}}}|;|@@@@|[[Animal::@@@@]]}} | |||
| | |||
|- | |||
|[[Disease::@@@]] | |||
|{{#arraymap:{{{Disease|}}}|;|@@@@|[[Disease::@@@@]]}} | |||
| | |||
|- | |||
|[[Epidemic wave::@@@]] | |||
|{{#arraymap:{{{Epidemic wave|}}}|;|@@@@|@@@@{{#set:Epidemic wave=@@@@ }}}} | |||
| | |||
|- | |||
|[[Social response::@@@]] | |||
|{{#arraymap:{{{Social response|}}}|;|@@@@|[[Social response::@@@@]]}} | |||
| | | | ||
|- | |- | ||
|{{{ | |[[Language::@@@]] | ||
|} | |{{#arraymap:{{{Language|}}}|;|@@@@|[[Language::@@@@]]}} | ||
|- | |- | ||
|[[ | |[[Keyword::@@@]] | ||
|{{#arraymap:{{{ | |{{#arraymap:{{{Keyword|}}}|;|@@@@|[[Keyword::@@@@]]}} | ||
| | | | ||
|- | |||
|[[Special:Diff/{{REVISIONID}}|last edited]] | |||
|{{REVISIONDAY}}. {{REVISIONMONTH}}. {{REVISIONYEAR}} by [[{{ns:user}}:{{REVISIONUSER}}|{{REVISIONUSER}}]]. | |||
|} | |} | ||
</div><div class="card-footer">Export: [[Special:ExportRDF/{{FULLPAGENAME}}|RDF]] | |||
<div class=" | |||
</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|}}} | {{{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}}
