Difference between revisions of "Template:Chess"

From blackwiki
Jump to navigation Jump to search
imported>Quale
(if readers want to find chess articles they can without this enormous thing automatically expanded on nearly every chess page. And it isn't true that it's seen only by people who want to see it – I never want to see it and yet I do. Readers who want it can expand it)
imported>Randy Kryn
(Related, added 'Caïssa')
Line 252: Line 252:
 
| group10 = Related
 
| group10 = Related
 
| list10 =
 
| list10 =
 +
* [[Caïssa]]
 
* [[Cheating in chess]]
 
* [[Cheating in chess]]
 
* [[Chess aesthetics]]
 
* [[Chess aesthetics]]

Revision as of 02:41, 1 August 2020

Template documentation

Usage

Initial visibility: currently defaults to autocollapse

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

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

Note to editors on how to manage spelling

  • Use {{Chess|sp=us}} to use US spelling (color and defense).

See also