Difference between revisions of "Template:Infobox country multimap"

From OpenGeofiction Encyclopedia
Jump to: navigation, search
(Attempt multimap for infobox country (box 34a))
 
m
Line 53: Line 53:
 
30-->{{#if:{{{image_map|}}}|<!--
 
30-->{{#if:{{{image_map|}}}|<!--
 
31--><tr><td colspan="2"><table align="center" style="width:100%;background:none;"><!--
 
31--><tr><td colspan="2"><table align="center" style="width:100%;background:none;"><!--
32-->{{#if:{{{image_map|}}}|<tr><td align="center">[[File:{{{image_map}}}|250px|alt={{{alt_map|}}}]]</td></tr><!--
+
32-->{{#if:{{{image_map|}}}|<tr><td align="center">{{{image_map}}}</td></tr><!--
 
33-->{{#if:{{{map_caption|}}}|<tr><td align="center" style="font-size:85%;">{{{map_caption}}}</td></tr>|}}|}}<!--
 
33-->{{#if:{{{map_caption|}}}|<tr><td align="center" style="font-size:85%;">{{{map_caption}}}</td></tr>|}}|}}<!--
 
34--></table></td></tr>|}}<!--
 
34--></table></td></tr>|}}<!--
34a-->{{ #If:{{{zoom|}}}{{{latitude|}}}{{{longitude|}}} |
 
{{!}} colspan="2" align="center" {{!}} {{#multimaps: | center = {{{latitude|}}},{{{longitude|}}} | width = 280px | height = 230px | zoom = {{#expr: {{{zoom|}}} - 1}} | maxzoom = {{#expr: {{{zoom|}}} + 1}} | minzoom = {{#expr: {{{zoom|}}} - 2}} | {{ #If:{{{polygon|}}} | polygon = {{{polygon}}} ~{{PAGENAME}} ~ {{ #If:{{{relation_id|}}} | [http://opengeofiction.net/relation/{{{relation_id}}}/#map={{{zoom|}}}/{{{latitude|}}}/{{{longitude|}}} View Relation #{{{relation_id}}} on map] }} ~#FF0000~ ~ ~#CCB4C0 ; {{ #If:{{{exclave_polygon|}}} | {{{exclave_polygon}}} ~{{PAGENAME}} (Exclave) ~ ~#FF0000~ ~ ~#CCB4C0 ; }} }} }}
 
{{!}}- }}<!---
 
  
 
*** CAPITAL
 
*** CAPITAL

Revision as of 14:48, 3 May 2017