Difference between revisions of "Template:Genocide navbox"

From blackwiki
Jump to navigation Jump to search
imported>Σ
m (Reverted edits by 68.192.37.175 (talk) to last version by Matthewcgirling)
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
Line 3: Line 3:
 
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
|title      = '''[[Genocide]]'''
 
|title      = '''[[Genocide]]'''
 +
|listclass = hlist
 
|above =  
 
|above =  
  
 
|group1 = Genocides
 
|group1 = Genocides
|list1  = [[Armenian Genocide|Armenian]] (1915-23) {{·}} [[Greek genocide|Greek]] (1914-23) {{·}} [[Holodomor]] (1932-33) {{·}} [[The Holocaust]] (1939-1945) {{·}} [[Cambodian Genocide|Cambodian]] (1975-79) {{·}} [[Rwandan Genocide|Rwandan]] (1994) {{·}} [[War in Darfur|Darfur]] (2003 - 2010)
+
|list1  =
 +
* [[Armenian Genocide|Armenian]] (1915-23)  
 +
* [[Greek genocide|Greek]] (1914-23)  
 +
* [[Holodomor]] (1932-33)  
 +
* [[The Holocaust]] (1939-1945)  
 +
* [[Cambodian Genocide|Cambodian]] (1975-79)  
 +
* [[Rwandan Genocide|Rwandan]] (1994)  
 +
* [[War in Darfur|Darfur]] (2003 - 2010)
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 22:09, 11 October 2012

Usage

Initial visibility: currently defaults to autocollapse

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

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