This is the template test cases page for the sandbox of Template:Legend. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
[[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}}
{{Legend/sandbox}}
{{Legend|black|Africa}} {{Legend|green|Americas}} {{Legend|blue|Oceania}} {{Legend|#ffa|Europe|outline=silver}} {{Legend|#ff2800|Asia}}
{{Legend}}
{{Legend/sandbox}}
{{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}}
{{Legend/sandbox}}
{{Legend|black}} {{Legend|green}} {{Legend|blue}} {{Legend|#ffa|outline=silver}} {{Legend|#ff2800}}
{{Legend}}
{{Legend/sandbox}}
{{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}}
{{Legend/sandbox}}
{{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}}
{{Legend/sandbox}}
{{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}}
{{Legend/sandbox}}
{{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}}
{{Legend/sandbox}}