Template:Legend-table

     {{{2}}}

Documentation icon Template documentation

Working example

See for example Image:Kosovo relations.svg.

Usage

{{legend-table|title=This is an optional title
|#000000|Kosovo
|#0052ff|States which formally recognise Kosovo as independent.<sup>1</sup>
|#5fadff|States which have stated they intend to recognise formally Kosovo as independent.
|#cdcd9c|States with undecided, unclear or ambiguous positions.
|#E5A238|States which have expressed disagreement with unilateral moves or expressed wish for further negotiations.
|#FF4500|States which have stated they will not recognise Kosovo as independent.
|#a3a3a3|States with no reported position at present.
|notes=<sup>1</sup>This is an optional area for footnotes.
}}

Gives:

This is an optional title

     Kosovo      States which formally recognise Kosovo as independent.1      States which have stated they intend to recognise formally Kosovo as independent.      States with undecided, unclear or ambiguous positions.      States which have expressed disagreement with unilateral moves or expressed wish for further negotiations.      States which have stated they will not recognise Kosovo as independent.      States with no reported position at present. 1This is an optional area for footnotes.

Style

To change the default style, use the |style= parameter. To change the alignment of the title, use |title-align=.