Difference between revisions of "Template:Diablo"

From blackwiki
Jump to navigation Jump to search
imported>EchoBlu
imported>Soetermans
(no reason to shorten piped links)
Line 12: Line 12:
 
* ''[[Diablo (video game)|Diablo]]''
 
* ''[[Diablo (video game)|Diablo]]''
 
** ''[[Diablo: Hellfire|Hellfire]]''
 
** ''[[Diablo: Hellfire|Hellfire]]''
* ''[[Diablo II|II]]''
+
* ''[[Diablo II]]''
 
** ''[[Diablo II: Lord of Destruction|Lord of Destruction]]''
 
** ''[[Diablo II: Lord of Destruction|Lord of Destruction]]''
** ''[[Diablo II Soundtrack|Soundtrack]]''
+
** [[Diablo II Soundtrack|soundtrack]]
* ''[[Diablo III|III]]''
+
* ''[[Diablo III]]''
 
** ''[[Diablo III: Reaper of Souls|Reaper of Souls]]''
 
** ''[[Diablo III: Reaper of Souls|Reaper of Souls]]''
  
Line 32: Line 32:
 
** ''[[The Kingdom of Shadow]]''
 
** ''[[The Kingdom of Shadow]]''
 
* [[Characters of Diablo|Characters]]
 
* [[Characters of Diablo|Characters]]
* [[Heroes of the Storm]]
+
* ''[[Heroes of the Storm]]''
  
 
| below =  
 
| below =  

Revision as of 11:36, 24 October 2016

Initial visibility: currently defaults to autocollapse

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

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