Difference between revisions of "User:Atlas/Template:Map locations"
Jump to navigation
Jump to search
(Skeleton finished, waiting for styling) |
|||
Line 5: | Line 5: | ||
| <div style="width: 800px; position: relative; margin: 0 auto;">[[Image:{{{image}}}|800px]] | | <div style="width: 800px; position: relative; margin: 0 auto;">[[Image:{{{image}}}|800px]] | ||
{{#if:{{{area1|}}}|<div style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x1}}}; top: {{{y1}}}; background: red;"><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 style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x1}}}; top: {{{y1}}}; background: red;"><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:{{{area2|}}}|<div style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x2}}}; top: {{{y2}}}; background: red;"></div>|}} | + | {{#if:{{{area2|}}}|<div style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x2}}}; top: {{{y2}}}; background: red;"><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:{{{area3|}}}|<div style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x3}}}; top: {{{y3}}}; background: red;"></div>|}} | + | {{#if:{{{area3|}}}|<div style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x3}}}; top: {{{y3}}}; background: red;"><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:{{{area4|}}}|<div style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x4}}}; top: {{{y4}}}; background: red;"></div>|}} | + | {{#if:{{{area4|}}}|<div style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x4}}}; top: {{{y4}}}; background: red;"><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:{{{area5|}}}|<div style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x5}}}; top: {{{y5}}}; background: red;"></div>|}} | + | {{#if:{{{area5|}}}|<div style="width: 21px; height: 21px; border-radius: 11px; position: absolute; left: {{{x5}}}; top: {{{y5}}}; background: red;"><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>|}} |
</div> | </div> | ||
|}<noinclude> | |}<noinclude> |