Template:List of former Latvian counties and districts

The above template is generated using the following code: