Difference between revisions of "Template:Homeworld"

From blackwiki
Jump to navigation Jump to search
imported>FleetCommand
("games" isn't needed.)
(layout)
Line 4: Line 4:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|group1=Games
+
|group1=Main series
|colstyle = text-align:center;
+
|list1=
|col1header = Main series
 
|col1=
 
 
* ''[[Homeworld]]''  
 
* ''[[Homeworld]]''  
 
* ''[[Homeworld 2]]''
 
* ''[[Homeworld 2]]''
 
+
|group2=Spin-offs
|col2header=Spin-offs
+
|list2=
|col2=
 
 
* ''[[Homeworld: Cataclysm|Cataclysm]]'' (a.k.a ''Emergence'')
 
* ''[[Homeworld: Cataclysm|Cataclysm]]'' (a.k.a ''Emergence'')
 
* ''[[Homeworld: Deserts of Kharak|Deserts of Kharak]]''
 
* ''[[Homeworld: Deserts of Kharak|Deserts of Kharak]]''
 
+
|group3=Related
|group2=Related
+
|list3=
|list2=
 
 
* [[Relic Entertainment]]  
 
* [[Relic Entertainment]]  
 
* [[Blackbird Interactive]]
 
* [[Blackbird Interactive]]

Revision as of 16:38, 12 August 2018

Initial visibility: currently defaults to autocollapse

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

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