Difference between revisions of "User:Atlas/Template:Map locations"
Jump to navigation
Jump to search
(Proof-of-concept finished) |
|||
Line 4: | Line 4: | ||
|- | |- | ||
| <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>|}} | + | {{#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: -15px; left: -50px; background: white;>{{{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>|}} | ||
{{#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>|}} |