Difference between revisions of "Template:FromSoftware"

From blackwiki
Jump to navigation Jump to search
(Fix Dark Souls games being collapsed)
Line 51: Line 51:
 
* ''[[Dark Souls III]]''
 
* ''[[Dark Souls III]]''
  
  | group5 = ''[[Elden Ring|Ring]]'' series
+
  | group6 = ''[[Elden Ring|Ring]]'' series
  | list5 =
+
  | list6 =
 
* ''[[Eternal Ring]]''
 
* ''[[Eternal Ring]]''
 
* ''[[Elden Ring]]''
 
* ''[[Elden Ring]]''
  
  | group6 = Other games
+
  | group7 = Other games
  | list6 =
+
  | list7 =
 
* ''[[3D Dot Game Heroes]]''
 
* ''[[3D Dot Game Heroes]]''
 
* ''[[The Adventures of Cookie & Cream]]''
 
* ''[[The Adventures of Cookie & Cream]]''
Line 83: Line 83:
 
* ''[[Yoshitsune Eiyūden: The Story of Hero Yoshitsune|Yoshitsune Eiyūden]]''
 
* ''[[Yoshitsune Eiyūden: The Story of Hero Yoshitsune|Yoshitsune Eiyūden]]''
  
  | group7 = Related
+
  | group8 = Related
  | list7 =
+
  | list8 =
 
* [[Hidetaka Miyazaki]]
 
* [[Hidetaka Miyazaki]]
 
* [[Kadokawa Corporation]]
 
* [[Kadokawa Corporation]]

Revision as of 23:13, 22 June 2019

Initial visibility: currently defaults to autocollapse

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

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