Difference between revisions of "Template:Chess"

From blackwiki
Jump to navigation Jump to search
imported>Keithman3
imported>Mrjulesd
(condensed slightly)
Line 164: Line 164:
 
** [[Scotch Game]]
 
** [[Scotch Game]]
 
* [[Pirc Defence|Pirc Defen{{#ifeq:{{{sp}}}|us|s|c}}e]]
 
* [[Pirc Defence|Pirc Defen{{#ifeq:{{{sp}}}|us|s|c}}e]]
 +
*[[Sicilian Defence|Sicilian Defen{{#ifeq:{{{sp}}}|us|s|c}}e]]
 +
** [[Sicilian Defence, Najdorf Variation|Najdorf]]
 +
** [[Sicilian Defence, Dragon Variation|Dragon]]/[[Sicilian Defence, Accelerated Dragon|Accelerated Dragon]]
 +
** [[Sicilian Defence, Alapin Variation|Alapin]]
 +
** [[Sicilian Defence, Scheveningen Variation|Scheveningen]]
  
| group3 = [[Sicilian Defence|Sicilian Defen{{#ifeq:{{{sp}}}|us|s|c}}e]]
+
| group3 = [[Queen's Pawn Game]]
|list3 =
+
| list3 =
* [[Sicilian Defence, Najdorf Variation|Najdorf]]
 
* [[Sicilian Defence, Dragon Variation|Dragon]]
 
** [[Sicilian Defence, Accelerated Dragon|Accelerated Dragon]]
 
* [[Sicilian Defence, Alapin Variation|Alapin]]
 
* [[Sicilian Defence, Scheveningen Variation|Scheveningen]]
 
 
 
| group4 = [[Queen's Pawn Game]]
 
| list4 =
 
 
* [[Benoni Defense|Benoni Defen{{#ifeq:{{{sp}}}|us|s|c}}e]]
 
* [[Benoni Defense|Benoni Defen{{#ifeq:{{{sp}}}|us|s|c}}e]]
 
* [[Dutch Defence|Dutch Defen{{#ifeq:{{{sp}}}|us|s|c}}e]]
 
* [[Dutch Defence|Dutch Defen{{#ifeq:{{{sp}}}|us|s|c}}e]]
Line 190: Line 187:
 
** [[Catalan Opening]]
 
** [[Catalan Opening]]
  
| group5 = Other
+
| group4 = Other
| list5 =
+
| list4 =
 
* [[List of chess openings|List of openings]]
 
* [[List of chess openings|List of openings]]
 
** [[Chess opening theory table|theory table]]
 
** [[Chess opening theory table|theory table]]

Revision as of 20:21, 1 July 2016

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