Template:Map of same-sex marriage in the United States prior to Obergefell

[[File:Same-sex marriage in the United States prior to Obergefell.svg|thumb||| State laws regarding same-sex marriage in the United States prior to Obergefell v. Hodges1

{{legend|#002255|Same-sex marriage legal (including by court decision)}}

{{legend|#cc9933|Same-sex marriage ban overturned, decision stayed indefinitely}}

{{legend|#ff9999|Same-sex marriage banned where federal circuit court has found similar bans unconstitutional}} {{legend|#990000|Same-sex marriage banned}} {{legend|#880088|Same-sex marriage legality complicated}}

1 Native American tribal nations have laws pertaining to same-sex marriage independent of state law. The federal government recognizes same-sex marriages, regardless of the current state of residence.

]]

Purpose

 * To allow 1-step changes to map legend, across all English Wikipedia articles this template is used on

Usage

 * To add the File:Same-sex marriage in the United States.svg map with legend to an article, add the following code:
 * align= and size= are both optional. If not used, image will default to right-justification and 400px image size.
 * Changes to this template may not show up immediately in various articles due to server caching. You can bypass this by purging the server cache while on an article page. For quick access to purging functions, activate the UTC live clock or Purge tab gadgets in your preferences.
 * Changes to this template may not show up immediately in various articles due to server caching. You can bypass this by purging the server cache while on an article page. For quick access to purging functions, activate the UTC live clock or Purge tab gadgets in your preferences.