Usage

This template fetches the locations from Wikidata from a variety of properties, and combines them in a comma-separated list. Specifically, it uses (P706), (P276), (P131), (P17) (fallback to (P30) for Antarctica).