Difference between revisions of "Template:Infobox chess opening"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(converting to use Template:infobox)
imported>Ihardlythinkso
(MOS:TITLE#Abbreviation of long titles if this is not right then someone plz let me know)
Line 1: Line 1:
 
<includeonly>{{Infobox  
 
<includeonly>{{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

Revision as of 19:20, 26 March 2017

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