Difference between revisions of "Template:Chess"
Jump to navigation
Jump to search
Template documentation
imported>Randy Kryn (not too big, please don't collapse regular templates when that's not needed, on individual pages you can write 'state=collapsed' if it's really needed) |
|||
Line 2: | Line 2: | ||
|name = Chess | |name = Chess | ||
|title = [[Chess]] | |title = [[Chess]] | ||
− | |||
|listclass = hlist | |listclass = hlist | ||
+ | |state = {{{state|}}} | ||
|group1 = [[Outline of chess|Outline]] | |group1 = [[Outline of chess|Outline]] | ||
Line 211: | Line 211: | ||
[[Category:Chess navigational boxes]] | [[Category:Chess navigational boxes]] | ||
+ | |||
</noinclude> | </noinclude> |
Revision as of 00:15, 20 August 2015

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}}
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
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |