Difference between revisions of "User:Atlas/Template:Map locations"

From comp.tf
Jump to navigation Jump to search
(Adding support for more markers)
(Adding whitespaces to prevent unwanted linebreaks)
Line 4: Line 4:
 
|-
 
|-
 
| <div class="container">[[Image:{{{image}}}|800px]]
 
| <div class="container">[[Image:{{{image}}}|800px]]
{{#if:{{{area1|}}}|<div class="marker" style="left: {{{x1}}}; top: {{{y1}}};"><div>{{{area1}}}</div></div>|}}
+
{{#if:{{{area1|}}}|<div class="marker" style="left: {{{x1}}}; top: {{{y1}}};"><div>{{{area1}}}</div></div>|&nbsp;}}
{{#if:{{{area2|}}}|<div class="marker" style="left: {{{x2}}}; top: {{{y2}}};"><div>{{{area2}}}</div></div>|}}
+
{{#if:{{{area2|}}}|<div class="marker" style="left: {{{x2}}}; top: {{{y2}}};"><div>{{{area2}}}</div></div>|&nbsp;}}
{{#if:{{{area3|}}}|<div class="marker" style="left: {{{x3}}}; top: {{{y3}}};"><div>{{{area3}}}</div></div>|}}
+
{{#if:{{{area3|}}}|<div class="marker" style="left: {{{x3}}}; top: {{{y3}}};"><div>{{{area3}}}</div></div>|&nbsp;}}
{{#if:{{{area4|}}}|<div class="marker" style="left: {{{x4}}}; top: {{{y4}}};"><div>{{{area4}}}</div></div>|}}
+
{{#if:{{{area4|}}}|<div class="marker" style="left: {{{x4}}}; top: {{{y4}}};"><div>{{{area4}}}</div></div>|&nbsp;}}
{{#if:{{{area5|}}}|<div class="marker" style="left: {{{x5}}}; top: {{{y5}}};"><div>{{{area5}}}</div></div>|}}
+
{{#if:{{{area5|}}}|<div class="marker" style="left: {{{x5}}}; top: {{{y5}}};"><div>{{{area5}}}</div></div>|&nbsp;}}
{{#if:{{{area6|}}}|<div class="marker" style="left: {{{x6}}}; top: {{{y6}}};"><div>{{{area6}}}</div></div>|}}
+
{{#if:{{{area6|}}}|<div class="marker" style="left: {{{x6}}}; top: {{{y6}}};"><div>{{{area6}}}</div></div>|&nbsp;}}
{{#if:{{{area7|}}}|<div class="marker" style="left: {{{x7}}}; top: {{{y7}}};"><div>{{{area7}}}</div></div>|}}
+
{{#if:{{{area7|}}}|<div class="marker" style="left: {{{x7}}}; top: {{{y7}}};"><div>{{{area7}}}</div></div>|&nbsp;}}
{{#if:{{{area8|}}}|<div class="marker" style="left: {{{x8}}}; top: {{{y8}}};"><div>{{{area8}}}</div></div>|}}
+
{{#if:{{{area8|}}}|<div class="marker" style="left: {{{x8}}}; top: {{{y8}}};"><div>{{{area8}}}</div></div>|&nbsp;}}
{{#if:{{{area9|}}}|<div class="marker" style="left: {{{x9}}}; top: {{{y9}}};"><div>{{{area9}}}</div></div>|}}
+
{{#if:{{{area9|}}}|<div class="marker" style="left: {{{x9}}}; top: {{{y9}}};"><div>{{{area9}}}</div></div>|&nbsp;}}
{{#if:{{{area10|}}}|<div class="marker" style="left: {{{x10}}}; top: {{{y10}}};"><div>{{{area10}}}</div></div>|}}
+
{{#if:{{{area10|}}}|<div class="marker" style="left: {{{x10}}}; top: {{{y10}}};"><div>{{{area10}}}</div></div>|&nbsp;}}
{{#if:{{{area11|}}}|<div class="marker" style="left: {{{x11}}}; top: {{{y11}}};"><div>{{{area11}}}</div></div>|}}
+
{{#if:{{{area11|}}}|<div class="marker" style="left: {{{x11}}}; top: {{{y11}}};"><div>{{{area11}}}</div></div>|&nbsp;}}
{{#if:{{{area12|}}}|<div class="marker" style="left: {{{x12}}}; top: {{{y12}}};"><div>{{{area12}}}</div></div>|}}
+
{{#if:{{{area12|}}}|<div class="marker" style="left: {{{x12}}}; top: {{{y12}}};"><div>{{{area12}}}</div></div>|&nbsp;}}
{{#if:{{{area13|}}}|<div class="marker" style="left: {{{x13}}}; top: {{{y13}}};"><div>{{{area13}}}</div></div>|}}
+
{{#if:{{{area13|}}}|<div class="marker" style="left: {{{x13}}}; top: {{{y13}}};"><div>{{{area13}}}</div></div>|&nbsp;}}
{{#if:{{{area14|}}}|<div class="marker" style="left: {{{x14}}}; top: {{{y14}}};"><div>{{{area14}}}</div></div>|}}
+
{{#if:{{{area14|}}}|<div class="marker" style="left: {{{x14}}}; top: {{{y14}}};"><div>{{{area14}}}</div></div>|&nbsp;}}
{{#if:{{{area15|}}}|<div class="marker" style="left: {{{x15}}}; top: {{{y15}}};"><div>{{{area15}}}</div></div>|}}
+
{{#if:{{{area15|}}}|<div class="marker" style="left: {{{x15}}}; top: {{{y15}}};"><div>{{{area15}}}</div></div>|&nbsp;}}
 
</div>
 
</div>
 
|}<noinclude>
 
|}<noinclude>

Revision as of 10:02, 31 July 2013

Test