Difference between revisions of "Template:Dice games"

From blackwiki
Jump to navigation Jump to search
imported>The Grid
m (+Petals)
imported>Lord Belbury
(split into types)
Line 6: Line 6:
 
|listclass = hlist
 
|listclass = hlist
 
|image = [[File:Two red dice 01.svg|110px]]
 
|image = [[File:Two red dice 01.svg|110px]]
 
+
|group1=Traditional games
 
|list1 =
 
|list1 =
 
*[[Bar dice]]
 
*[[Bar dice]]
*[[Battle Dice]]
 
 
*[[Bunco]]
 
*[[Bunco]]
 
*[[Crag (dice game)|Crag]]
 
*[[Crag (dice game)|Crag]]
*[[Cthulhu Dice]]
 
*[[Dead Man's Dice]]
 
*[[Demon Dice]]
 
*[[Dragon Dice]]
 
 
*[[Farkle]]
 
*[[Farkle]]
 
*[[Kismet (dice game)|Kismet]]
 
*[[Kismet (dice game)|Kismet]]
Line 23: Line 18:
 
*[[Petals Around the Rose]]
 
*[[Petals Around the Rose]]
 
*[[Swipe (dice game)|Swipe]]
 
*[[Swipe (dice game)|Swipe]]
*[[The Game (dice game)|The Game]]
 
 
*[[Yacht (dice game)|Yacht]]
 
*[[Yacht (dice game)|Yacht]]
 
*[[Yamb (game)|Yamb]]
 
*[[Yamb (game)|Yamb]]
 +
|group2=Commercial games
 +
|list2 =
 +
*[[Battle Dice]]
 +
*[[Cthulhu Dice]]
 +
*[[Dead Man's Dice]]
 +
*[[Demon Dice]]
 +
*[[Dragon Dice]]
 +
*[[The Game (dice game)|The Game]]
 
*[[Yahtzee]]
 
*[[Yahtzee]]
 
*[[Zombie Dice]]
 
*[[Zombie Dice]]

Revision as of 12:07, 16 April 2019

Initial visibility: currently defaults to autocollapse

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

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