Difference between revisions of "Template:Marriage amendments"

From blackwiki
Jump to navigation Jump to search
imported>Lguipontes
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name = Marriage amendments
 
|name = Marriage amendments
 
|title = [[Image:gay_flag.svg|24px|Gay pride flag]] [[Constitutional amendment]]s banning [[same-sex union]]s around the world [[Image:globe.svg|24px|Globe]]
 
|title = [[Image:gay_flag.svg|24px|Gay pride flag]] [[Constitutional amendment]]s banning [[same-sex union]]s around the world [[Image:globe.svg|24px|Globe]]
 +
|state = {{{state|autocollapse}}}|
  
 
|group1 = '''[[Same-sex marriage]] prohibited by <br> [[constitutional amendment]]'''
 
|group1 = '''[[Same-sex marriage]] prohibited by <br> [[constitutional amendment]]'''
Line 14: Line 15:
 
|group4 = '''Constitutional amendments pending to prohibit<br>recognition of a form of same-sex unions'''<br>
 
|group4 = '''Constitutional amendments pending to prohibit<br>recognition of a form of same-sex unions'''<br>
 
|list4 = [[LGBT rights in the Dominican Republic|Dominican Republic]] - [[LGBT rights in El Salvador#Recognition_of_same-sex_couples|El Salvador]] - [[Same-sex marriage in Nigeria|Nigeria]]  
 
|list4 = [[LGBT rights in the Dominican Republic|Dominican Republic]] - [[LGBT rights in El Salvador#Recognition_of_same-sex_couples|El Salvador]] - [[Same-sex marriage in Nigeria|Nigeria]]  
}}<noinclude>[[Category:LGBT templates|{{PAGENAME}}]]
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:LGBT templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 01:36, 10 February 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Marriage amendments|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Marriage amendments|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Marriage amendments|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.