Difference between revisions of "Template:Elections in Puerto Rico footer"

From blackwiki
Jump to navigation Jump to search
imported>Number 57
(Unnecessary and males a mess)
imported>GoldRingChip
m (GoldRingChip moved page Template:Puerto Rican elections to Template:Elections in Puerto Rico footer: Consistency with other states and territories)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = Puerto Rican elections
+
| name = Elections in Puerto Rico footer
 
| title = {{flagdeco|Puerto Rico}} [[Elections in Puerto Rico|Elections and referendums in Puerto Rico]]
 
| title = {{flagdeco|Puerto Rico}} [[Elections in Puerto Rico|Elections and referendums in Puerto Rico]]
 
| listclass = hlist
 
| listclass = hlist
Line 24: Line 24:
 
*[[2012 Puerto Rico gubernatorial election|2012]]
 
*[[2012 Puerto Rico gubernatorial election|2012]]
 
*[[2016 Puerto Rico gubernatorial election|2016]]
 
*[[2016 Puerto Rico gubernatorial election|2016]]
*[[2020 Puerto Rico gubernatorial election|''2020'']]
+
*[[2020 Puerto Rico gubernatorial election|2020]]
  
 
| group2 = General elections
 
| group2 = General elections
Line 63: Line 63:
 
*[[2012 Puerto Rican general election|2012]]
 
*[[2012 Puerto Rican general election|2012]]
 
*[[2016 Puerto Rican general election|2016]]
 
*[[2016 Puerto Rican general election|2016]]
*''[[2020 Puerto Rican general election|2020]]''
+
*[[2020 Puerto Rican general election|2020]]
  
 
| group3 = U.S. House
 
| group3 = U.S. House
Line 92: Line 92:
 
*[[2012 United States House of Representatives election in Puerto Rico|2012]]
 
*[[2012 United States House of Representatives election in Puerto Rico|2012]]
 
*[[2016 United States House of Representatives election in Puerto Rico|2016]]
 
*[[2016 United States House of Representatives election in Puerto Rico|2016]]
*''[[2020 United States House of Representatives election in Puerto Rico|2020]]''
+
*[[2020 United States House of Representatives election in Puerto Rico|2020]]
  
 
| group4 = [[Municipalities of Puerto Rico|Municipal elections]]
 
| group4 = [[Municipalities of Puerto Rico|Municipal elections]]
Line 99: Line 99:
 
*[[2012 Puerto Rican municipal elections|2012]]
 
*[[2012 Puerto Rican municipal elections|2012]]
 
*[[2016 Puerto Rican municipal elections|2016]]
 
*[[2016 Puerto Rican municipal elections|2016]]
*[[2020 Puerto Rican municipal elections|''2020'']]
+
*[[2020 Puerto Rican municipal elections|2020]]
  
 
| group5 = Referendums
 
| group5 = Referendums
Line 119: Line 119:
 
*[[2012 Puerto Rican status referendum|2012 (Nov)]]
 
*[[2012 Puerto Rican status referendum|2012 (Nov)]]
 
*[[2017 Puerto Rican status referendum|2017]]
 
*[[2017 Puerto Rican status referendum|2017]]
*[[2020 Puerto Rican status referendum|''2020'']]
+
*[[2020 Puerto Rican status referendum|2020]]
  
  
Line 125: Line 125:
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Caribbean election year templates|Puerto Rico]]
 
[[Category:Caribbean election year templates|Puerto Rico]]
[[Category:United States election year navbox templates|Puerto Rico]]
+
[[Category:United States election year templates|Puerto Rico]]
[[Category:Elections in Puerto Rico| ]]
+
[[Category:Elections in Puerto Rico|Footer]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:31, 5 October 2020

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Elections in Puerto Rico footer|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Elections in Puerto Rico footer|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Elections in Puerto Rico footer|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.