In a caption
[[File:Celts in Europe.png|200px|thumb|right|The Celts in Europe, past and present: 
{{Legend|#1a8000|present-day Celtic-speaking areas}}
{{Legend|#27c600|other parts of the six most commonly recognized 'Celtic nations' and where a Celtic language is spoken but not the dominating language}}
{{Legend|#97ffb6|other parts of Europe once peopled by Celts; modern-day inhabitants of many of these areas often claim a Celtic heritage and/or culture}}]]

{{Legend}}


The Celts in Europe, past and present:
  present-day Celtic-speaking areas
  other parts of the six most commonly recognized 'Celtic nations' and where a Celtic language is spoken but not the dominating language
  other parts of Europe once peopled by Celts; modern-day inhabitants of many of these areas often claim a Celtic heritage and/or culture


{{Legend/sandbox}}


The Celts in Europe, past and present:
 present-day Celtic-speaking areas
 other parts of the six most commonly recognized 'Celtic nations' and where a Celtic language is spoken but not the dominating language
 other parts of Europe once peopled by Celts; modern-day inhabitants of many of these areas often claim a Celtic heritage and/or culture


Pre-text addition
{{Legend|black|Africa}}
{{Legend|green|Americas}}
{{Legend|blue|Oceania}}
{{Legend|#ffa|Europe|outline=silver}}
{{Legend|#ff2800|Asia}}

{{Legend}}


  Africa
  Americas
  Oceania
  Europe
  Asia


{{Legend/sandbox}}


 Africa
 Americas
 Oceania
 Europe
 Asia
Post-text addition
{{Legend|black|Africa|text=Af}}
{{Legend|black|Africa|text=Af|textcolor=red}}
{{Legend|black|Africa|textcolor=white}}
{{Legend|green|Americas|text=Am}}
{{Legend|blue|Oceania|text=Oc}}
{{Legend|#ffa|Europe|outline=silver|text=Eu}}
{{Legend|#ff2800|Asia|border=1px dashed yellow|text=As}}

{{Legend}}


Af Africa
Af Africa
  Africa
Am Americas
Oc Oceania
Eu Europe
As Asia


{{Legend/sandbox}}


Af Africa
Af Africa
 Africa
Am Americas
Oc Oceania
Eu Europe
As Asia
Without second parameter
{{Legend|black}}
{{Legend|green}}
{{Legend|blue}}
{{Legend|#ffa|outline=silver}}
{{Legend|#ff2800}}

{{Legend}}


  
  
  
  
  


{{Legend/sandbox}}


 
 
 
 
 
With alt text
{{Legend|black|Africa|alt=Af}}
{{Legend|green|Americas|alt=Am}}
{{Legend|blue|Oceania|alt=Oc}}
{{Legend|#ffa|Europe|outline=silver|alt=Eu}}
{{Legend|#ff2800|Asia|border=1px dashed yellow|alt=As}}

{{Legend}}


Af Africa
Am Americas
Oc Oceania
Eu Europe
As Asia


{{Legend/sandbox}}


Af Africa
Am Americas
Oc Oceania
Eu Europe
As Asia
With alt text and regular text (some missing, some blank)
{{Legend|black|Africa|text=Africa}}
{{Legend|green|Americas|text=Americas}}
{{Legend|blue|Oceania|alt=|text=Oceania}}
{{Legend|#ffa|Europe|outline=silver|alt=Eu|text=Europe}}
{{Legend|#ff2800|Asia|border=1px dashed yellow|alt=As|text=}}

{{Legend}}


Africa Africa
Americas Americas
Oceania Oceania
Eu Europe
As Asia


{{Legend/sandbox}}


Africa Africa
Americas Americas
Oceania Oceania
Eu Europe
As Asia
With alt text, no color or bad color specified (error)
{{Legend||Africa|alt=Af}}
{{Legend||Americas|alt=Am}}
{{Legend||Oceania|alt=Oc}}
{{Legend|Bar|Europe|outline=silver|alt=Eu}}
{{Legend|Foo|Asia|border=1px dashed yellow|alt=As}}

{{Legend}}


Af Africa
Am Americas
Oc Oceania
Eu Europe
As Asia


{{Legend/sandbox}}


Af Africa
Am Americas
Oc Oceania
Eu Europe
As Asia
{{Legend|#f0f8ff|Elected as [[President of the Philippines|President]]|text=*}}
{{Legend|#fcc|Appointed as [[Chief Justice of the Supreme Court of the Philippines|Chief Justice]]|text=*}}
{{Legend|#f0f8ff|Elected as [[President of the Philippines|President]]|text={{asterisk}}}}
{{Legend|#fcc|Appointed as [[Chief Justice of the Supreme Court of the Philippines|Chief Justice]]|text={{asterisk}}}}
{{Legend|#f0f8ff|Elected as [[President of the Philippines|President]]|text={{*}}}}
{{Legend|#fcc|Appointed as [[Chief Justice of the Supreme Court of the Philippines|Chief Justice]]|text={{*}}}}
{{Legend|#cfecd2|Green shading{{snd}}UNESCO designated [[List of World Heritage Sites in the United States|World Heritage Sites]] (WHS)|border=solid 1px #AAAAAA|text=*}}
{{Legend|#cfecd2|Green shading{{snd}}UNESCO designated [[List of World Heritage Sites in the United States|World Heritage Sites]] (WHS)|border=solid 1px #AAAAAA|text=#}}

{{Legend}}


* Elected as President
* Appointed as Chief Justice
 •  Elected as President
 •  Appointed as Chief Justice
  1.  Green shading – UNESCO designated World Heritage Sites (WHS)


{{Legend/sandbox}}


* Elected as President
* Appointed as Chief Justice
 •  Elected as President
 •  Appointed as Chief Justice
  1.  Green shading – UNESCO designated World Heritage Sites (WHS)