Difference between revisions of "Template:Diablo"

From blackwiki
Jump to navigation Jump to search
imported>Izno
(merged sin war)
imported>ClassicOnAStick
Line 12: Line 12:
 
* ''[[Diablo (video game)|Diablo]]''
 
* ''[[Diablo (video game)|Diablo]]''
 
** ''[[Diablo: Hellfire|Hellfire]]''
 
** ''[[Diablo: Hellfire|Hellfire]]''
* ''[[Diablo II]]''
+
* ''[[Diablo II|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]]''
+
* ''[[Diablo III|III]]''
 
** ''[[Diablo III: Reaper of Souls|Reaper of Souls]]''
 
** ''[[Diablo III: Reaper of Souls|Reaper of Souls]]''
  

Revision as of 03:00, 24 December 2015

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.