Template:Infobox uncontested presidential election small: Difference between revisions
Jump to navigation
Jump to search
en>Number 57 (Add module function to allow embedding of Template:Infobox legislative election on general election articles (have tested in the sandbox and it seemed to work fine)) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:07, 18 January 2023
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
File:Lua-Logo.svg | This template uses Lua: |
Script error: No such module "Parameter names example".
This is a miniature alternative to Template:Infobox election, including only the uppermost parts. It is used for navigation purposes at the top of pages, where a leader ran unopposed and election did not take place.
Usage
{{Infobox uncontested presidential election small | election_name = | election_date = | flag_image = | flag_year = | country = | previous_election = | previous_year = | next_election = | next_year = | after_election = }}
Example
Example usage is as follows:
File:Flag of Aerica.svg | |
June 2016 | |
Not held | |
---|---|
John Smith ran unopposed | |
←2012 2020→ |
{{Infobox uncontested presidential election small | election_name = Utopian presidential election, 2016 | election_date = June 2016 | country = Utopia | previous_election = Utopian presidential election, 2012 | previous_year = 2012 | next_election = Utopian presidential election, 2020 | next_year = 2020 | after_election = [[John Smith (disambiguation)|John Smith]] }}
Notes:
- If election_name is omitted, the title of the page is used instead.
- previous_election and next_election refer to page titles.
- country may be replaced with flag_image for a custom flag.