Difference between revisions of "Template:Legend-table"
Jump to navigation
Jump to search
Template documentation
imported>Gjs238 (move to existing category) |
(Add inline Template:Documentation) |
||
| Line 14: | Line 14: | ||
{{legend|{{{23}}}|{{{24}}}}}|}} | {{legend|{{{23}}}|{{{24}}}}}|}} | ||
{{#if:{{{notes|}}}|<small>{{{notes}}}</small>|}} | {{#if:{{{notes|}}}|<small>{{{notes}}}</small>|}} | ||
| − | |}<noinclude> | + | |}<noinclude>{{Documentation |
| − | + | | content = | |
== Working example == | == Working example == | ||
See for example [[:Image:Kosovo relations.svg]]. | See for example [[:Image:Kosovo relations.svg]]. | ||
| Line 52: | Line 52: | ||
[[Category:Wikipedia metatemplates|Legend-table]] | [[Category:Wikipedia metatemplates|Legend-table]] | ||
[[Category:Legend templates]] | [[Category:Legend templates]] | ||
| − | </noinclude> | + | }}</noinclude> |
Latest revision as of 16:43, 3 September 2018
|
{{{2}}}
|
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.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |