Difference between revisions of "Template:Chess piece"

From blackwiki
Jump to navigation Jump to search
imported>DASHBot
m (Bot: Bypassing redirects in navboxes, in order to improve article navigability;details/shutoff)
imported>EdGl
(rm link to deleted (from PROD) article)
 
(59 intermediate revisions by 30 users not shown)
Line 2: Line 2:
 
|name  = Chess piece
 
|name  = Chess piece
 
|title = [[Chess piece]]s
 
|title = [[Chess piece]]s
|liststyle = line-height:1.5em;
+
|listclass = hlist
|list1 = [[Rook (chess)|Rook]]{{·}} [[Knight (chess)|Knight]]{{·}} [[Bishop (chess)|Bishop]]{{·}} [[Queen (chess)|Queen]]{{·}} [[King (chess)|King]]{{·}} [[Pawn (chess)|Pawn]]
+
|state = {{{state|plain}}}
|list2 = [[Fairy chess piece|Fairy pieces]] ([[Grasshopper (chess piece)|Grasshopper]]{{·}} [[Hippogonal]]){{·}} [[Chess piece relative value|Piece point values]]
+
| group1 = Orthodox pieces
 +
|list1 =
 +
* [[Rook (chess)|Rook]]
 +
* [[Knight (chess)|Knight]]
 +
* [[Bishop (chess)|Bishop]]
 +
* [[Queen (chess)|Queen]]
 +
* [[King (chess)|King]]
 +
* [[Pawn (chess)|Pawn]]
 +
| group2 = [[Fairy chess piece|Fairy pieces]]
 +
| list2 =
 +
* [[Alfil]]
 +
* [[Amazon (chess)|Amazon]]
 +
* [[Berolina chess#Berolina pawn specifics|Berolina Pawn]]
 +
* [[Camel (chess)|Camel]]
 +
* [[Centaur (chess)|Centaur]]
 +
* [[Dabbaba (chess)|Dabbaba]]
 +
* [[Empress (chess)|Empress]]
 +
* [[Ferz]]
 +
* [[Giraffe (chess)|Giraffe]]
 +
* [[Grasshopper (chess)|Grasshopper]]
 +
* [[Kirin (chess)|Kirin]]
 +
* [[Mann (chess)|Mann]]
 +
* [[Nightrider (chess)|Nightrider]]
 +
* [[Phoenix (chess)|Phoenix]]
 +
* [[Princess (chess)|Princess]]
 +
* [[Threeleaper]]
 +
* [[Wazir (chess)|Wazir]]
 +
* [[Zebra (chess)|Zebra]]
 +
| group3 = Related
 +
|list3 =
 +
* [[Chess set]]
 +
* [[Chess box]]
 +
* [[Hippogonal]]
 +
|below=
 +
[[Chess piece relative value|Piece point values]]
 
}}<noinclude>
 
}}<noinclude>
 
+
{{collapsible option}}
[[Category:Chess navigation templates]]
+
[[Category:Chess navigational boxes]]
[[ca:Plantilla:Peces escacs]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:09, 9 October 2020

Initial visibility: currently defaults to autocollapse

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

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