Hi scottplan!
I tried several ways and I think that I get a very nice infobox with some useful automatisms using your suggestion.
Let's see the infobox code:
http://terrasdeportugal.wikidot.com/infobox-concelho:_template
here is the maps storage page:
http://terrasdeportugal.wikidot.com/ilustrar:mapas
now, here is the infobox in a page:
http://terrasdeportugal.wikidot.com/trofa
As you can see, the map is included automatically! Try other page, like Lisboa or Porto and you will see the municipalities map changing. Unfortunately, I can't use that %%title%% solution because certain cities have more than one word in their designation. Per example: "Vila do Conde" has three words and the image module can't deal with spaces. To solve that, I will use %%name%% instead and I need to rename all the pictures to words-separated-by-hifen and witout first capital letters. No problem…
Imagine the advantage to use that solution in an Infobox for my encyclopedia of all the Portuguese villages:
Memória Portuguesa. It's only necessary to use the infobox template, containing the code:
, and the respective map is included automatically!
Also, an image of that city is automatically included form the Flickr Gallery concerning that city. Nice touch!
However, I have another problem, as you can see on the bottom of this post: http://community.wikidot.com/forum/t-205144/choosing-an-efficient-infobox#post-658611