Template:EradicationMap: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
{{#if:{{{note|}}}|<div class="lw-ermap-card__note">{{{note}}}</div>}} | {{#if:{{{note|}}}|<div class="lw-ermap-card__note">{{{note}}}</div>}} | ||
</div> | </div> | ||
<div class="lw-map lw-ermap" data-map-type="eradication" data-smw-query="[[Category:News Item]] | |||
<div class="lw-map lw-ermap" | |||
data-map-type="eradication" | |||
data-smw-query="[[Category:News Item]] | |||
{{#if:{{{country|}}}|[[Has country::{{{country}}}]]|}} | {{#if:{{{country|}}}|[[Has country::{{{country}}}]]|}} | ||
{{#if:{{{growing_region|}}}|[[Has growing region::{{{growing_region}}}]]|}} | {{#if:{{{growing_region|}}}|[[Has growing region::{{{growing_region}}}]]|}} | ||
| Line 27: | Line 24: | ||
|sort=Has event date | |sort=Has event date | ||
|order=desc | |order=desc | ||
|limit={{{limit|1000}}}" | |limit={{{limit|1000}}}" style="height:{{{height|520px}}};"></div> | ||
style="height:{{{height|520px}}};"></div> | |||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
<pre>{{EradicationMap|country=Cambodia|title=Cambodia eradication locations|height=600px|limit=2000}}</pre> | |||
<pre>{{EradicationMap|country=Cambodia|title=Cambodia eradication locations | Slider appears automatically only if the dataset contains multiple years. | ||
[[Category:Utility templates]] | [[Category:Utility templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 14:56, 22 February 2026
Usage
{{EradicationMap|country=Cambodia|title=Cambodia eradication locations|height=600px|limit=2000}}
Slider appears automatically only if the dataset contains multiple years.