Difference between revisions of "Template:Infobox chess opening"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(converting to use Template:infobox)
imported>SamCordes
(add short description)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{Infobox  
+
<includeonly>{{short description|Chess opening|noreplace}}{{Infobox  
 
| title = {{{openingname|{{PAGENAMEBASE}}}}}
 
| title = {{{openingname|{{PAGENAMEBASE}}}}}
| image       = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|220px}}}|alt={{{alt|}}}}}
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|220px}}}|alt={{{alt|}}}}}
| caption     = {{{caption|}}}
+
| caption = {{{caption|}}}
 
 
 
| label1 = Moves
 
| label1 = Moves
 
| data1 = {{{moves|}}}
 
| data1 = {{{moves|}}}
| label2 = [[Encyclopaedia of Chess Openings|ECO]]
+
| label2 = ''[[Encyclopaedia of Chess Openings|ECO]]''
 
| data2 = {{{ECO|}}}
 
| data2 = {{{ECO|}}}
 
| label3 = Origin
 
| label3 = Origin

Latest revision as of 23:46, 19 December 2018

50px Template documentation[view] [edit] [history] [purge]

Template:Parameter names example


Usage

{{Infobox chess opening
|openingname = {{PAGENAME}}
|image = 
|moves =
|ECO = 
|birth =
|nameorigin =
|parentopening =
|AKA = 
}}
  • openingname defaults to PAGENAME and can be left out
  • image should be used to display Template:Chess diagram
  • moves shows the distinguishing moves
  • ECO is the code or codes of the opening in the Encyclopaedia of Chess Openings
  • birth should specify the event where this opening was first used, or the first known documented mention of it.
  • nameorigin specifies where the name comes from
  • parentopening defines the hierarchical parent of this opening
  • AKA provides alternative names for the opening