Difference between revisions of "Template:Donkey Kong"

From blackwiki
Jump to navigation Jump to search
imported>Crimsonite~enwiki
m (Color restore)
Line 2: Line 2:
 
|name = Donkey Kong
 
|name = Donkey Kong
 
|title = ''[[Donkey Kong]]''
 
|title = ''[[Donkey Kong]]''
|titlestyle = background:#D2691E;color:#fda;
 
|basestyle = background:#F4A460;color:#901;
 
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 11: Line 9:
 
|group1 = Original series
 
|group1 = Original series
 
|list1 = {{navbox|child|evenodd=swap
 
|list1 = {{navbox|child|evenodd=swap
|titlestyle = background:#D2691E;color:#fda;
 
|basestyle = background:#F4A460;color:#901;
 
 
   | group1 = Arcade
 
   | group1 = Arcade
 
   | list1  =  
 
   | list1  =  
Line 28: Line 24:
 
|group2 = Platform games
 
|group2 = Platform games
 
|list2 = {{navbox|child|evenodd=swap
 
|list2 = {{navbox|child|evenodd=swap
|titlestyle = background:#D2691E;color:#fda;
 
|basestyle = background:#F4A460;color:#901;
 
 
   |group1 = Console
 
   |group1 = Console
 
   |list1 =  
 
   |list1 =  

Revision as of 08:06, 8 June 2020

Initial visibility: currently defaults to autocollapse

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

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