Template:Chess diagram alt text

Permanently protected template
From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Quale (talk | contribs) at 04:55, 9 August 2012 (fix bungled merge of old version with correct empty square handling). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

|link=

This template takes 2 arguments:

  • {{{1}}} is the cell number, eg "a1", "b8", etc.
  • {{{2}}} is the icon reference, eg: "kd", "kl", "bl", etc

It produces alt text. Cells with content read like "b8 black king".

Empty cells - which are just spaces or "__" - have no alt text (they emit |link= to fit with alt text guidelines.