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

From comp.tf
Jump to navigation Jump to search
m
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 style="width: 100px; height: 20px; position: relative; top: -25px; left: -39px; background: white; text-align: center; font-size: small; border-radius: 10px;">{{{area1}}}</div></div>|}}
+
{{#if:{{{area1|}}}|<div class="marker" style="left: {{{x1}}}; top: {{{y1}}};"><div>{{{area1}}}</div></div>|}}
{{#if:{{{area2|}}}|<div class="marker" style="left: {{{x2}}}; top: {{{y2}}};"><div style="width: 100px; height: 20px; position: relative; top: -25px; left: -39px; background: white; text-align: center; font-size: small; border-radius: 10px;">{{{area2}}}</div></div>|}}
+
{{#if:{{{area2|}}}|<div class="marker" style="left: {{{x2}}}; top: {{{y2}}};"><div>{{{area2}}}</div></div>|}}
{{#if:{{{area3|}}}|<div class="marker" style="left: {{{x3}}}; top: {{{y3}}};"><div style="width: 100px; height: 20px; position: relative; top: -25px; left: -39px; background: white; text-align: center; font-size: small; border-radius: 10px;">{{{area3}}}</div></div>|}}
+
{{#if:{{{area3|}}}|<div class="marker" style="left: {{{x3}}}; top: {{{y3}}};"><div>{{{area3}}}</div></div>|}}
{{#if:{{{area4|}}}|<div class="marker" style="left: {{{x4}}}; top: {{{y4}}};"><div style="width: 100px; height: 20px; position: relative; top: -25px; left: -39px; background: white; text-align: center; font-size: small; border-radius: 10px;">{{{area4}}}</div></div>|}}
+
{{#if:{{{area4|}}}|<div class="marker" style="left: {{{x4}}}; top: {{{y4}}};"><div>{{{area4}}}</div></div>|}}
{{#if:{{{area5|}}}|<div class="marker" style="left: {{{x5}}}; top: {{{y5}}};"><div style="width: 100px; height: 20px; position: relative; top: -25px; left: -39px; background: white; text-align: center; font-size: small; border-radius: 10px;">{{{area5}}}</div></div>|}}
+
{{#if:{{{area5|}}}|<div class="marker" style="left: {{{x5}}}; top: {{{y5}}};"><div>{{{area5}}}</div></div>|}}
 
</div>
 
</div>
 
|}<noinclude>
 
|}<noinclude>

Revision as of 09:47, 31 July 2013

Test