Difference between revisions of "Template:Portal series"

From blackwiki
Jump to navigation Jump to search
test>Netoholic
(bypass redirect after page move)
test>Dissident93
(no other games navbox does this, don't think it used to be like this either)
Line 13: Line 13:
 
|list1 =  
 
|list1 =  
 
* ''[[Portal (video game)|Portal]]''
 
* ''[[Portal (video game)|Portal]]''
**"[[Still Alive]]"
 
 
* ''[[Portal 2]]''
 
* ''[[Portal 2]]''
**[[Music of Portal 2|music]]
 
**[[Potato Sack|ARG]]
 
  
 
|group2 = Spin-offs
 
|group2 = Spin-offs
Line 23: Line 20:
 
* ''[[The Lab (video game)|The Lab]]''
 
* ''[[The Lab (video game)|The Lab]]''
 
* ''[[Lego Dimensions]]''
 
* ''[[Lego Dimensions]]''
 
 
}}
 
}}
  
Line 41: Line 37:
 
* ''[[Thinking with Time Machine]]''
 
* ''[[Thinking with Time Machine]]''
  
|group4 = Related games
+
|group4 = Related
 
|list4 =  
 
|list4 =  
 
* ''[[Half-Life (series)|Half-Life]]''
 
* ''[[Half-Life (series)|Half-Life]]''
 +
* [[Music of Portal 2]]
 
* ''[[Narbacular Drop]]''
 
* ''[[Narbacular Drop]]''
 +
* [[Potato Sack]]
 +
* "[[Still Alive]]"
 
* ''[[Tag: The Power of Paint]]''
 
* ''[[Tag: The Power of Paint]]''
 
}}<noinclude>
 
}}<noinclude>

Revision as of 19:01, 10 February 2018

Initial visibility: currently defaults to autocollapse

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

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