Template:Navbox province-es

On main article or category for area
Just put at the top of the main category or article for the county etc. Follow it with  to link to the Wikipedia equivalent, if any; where the WP page has a different name, include that after a pipe, e.g..

See Template:ctycat for a way to incorporate the above and other features of main county pages. Adaptations for other countries should be possible. This template itself has been adapted from Template:Navbox county-uk.

Derived pages
The template's form assumes that BASEPAGENAME (i.e. the name without any subpage additions) is the name of the county or other division. That is true for the subpages. However, it is not true on the category pages (such as all of the "People" group) or most other pages where the template may be used. For those pages, override with the parameter |mainpage=NEWNAME (where NEWNAME is the county name). For example, on a page called "Category:Born in Andalusia" or "List of libraries in Andalusia", the template will look like this: If that page is a category, it is a good idea to add so as to encourage readers to create an article instead of writing on the category page. Recently developed county category templates such as Template:Born in UK (which has the shortcut B-uk) have that and other enhancements built in; please use them and help to create equivalents for other countries.

Countries
This should work anywhere in Europe, but may need some tweaking depending on state and county relationships and naming standards. If in doubt or having problems, check