Template:Legend-shell

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
English (en):
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Legend-shell/doc.


Purpose

[edit]

Example usage

[edit]

Example usage, from File:World homosexuality laws.svg:

{{legend-shell|lang=en|title=Laws regarding same-sex sexuality
|{{legend|#808080|No information}}{{Cols|
'''Homosexuality legal'''
{{legend|#025|Same-sex marriage<sup>1</sup>}}
{{legend|#06F|Other type of partnership (or unregistered cohabitation)<sup>1</sup>}}
{{legend|#7FBCFF|Foreign same-sex marriages recognized<sup>1</sup>}}
{{legend|#CCC|No recognition of same-sex couples}}
|
'''Homosexuality illegal'''
{{Legtab
|#f9dc36|Minimal penalty
|#ec8028|Large penalty
|#e73e21|Life in prison
|#8c210f|Death penalty}}
}}
<sup>1</sup>May include recent laws or court decisions which have created legal recognition of same-sex relationships, but which have not entered into effect yet
}}

gives:

English (en): Laws regarding same-sex sexuality
 
No information

1May include recent laws or court decisions which have created legal recognition of same-sex relationships, but which have not entered into effect yet