Использование [ править ]
Этот шаблон используется для создания карт изображений для президентских выборов в США. Он принимает два параметра: |year=
год выборов и |image=
используемое изображение.
Как правило, на каждый год создается шаблон, например, Шаблон: карта изображения президентских выборов в США 2020 года . Этот шаблон автоматически заполняет категорию Category: изображения президентских выборов в США.
Примеры [ править ]
{{United States presidential election imagemap|image=ElectoralCollege2020 with results.svg|year=2020}}
генерирует
Заметки [ править ]
Это не должно использоваться для выборов до 1960 года в связи с принятием Аляски и Гавайев. Будущая версия может быть более совместимой.
Для метатематики этот шаблон также выводит документацию при включении в пространство имен шаблона. Чтобы этого избежать, добавьте параметр |nodocs=yes
.