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

From comp.tf
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="mw-collapsible mw-collapsed" style="font-size: 11px; background: #f9f9f9; border: 1px solid #ccc; width: 100%;"
+
{| class="mw-collapsible navbox maploc"
 
|-
 
|-
 
! colspan=2 style="background: #1c1c1c; font-size: 12px;" | {{#if:{{{templatename|}}}|<span style="float: left; margin-left: 5px; font-size: 9px; font-weight: normal; color: #fff;">[[Template:{{{templatename}}}|<span style="color: #fff">v</span>]] &middot; [[Template talk:{{{templatename}}}|<span style="color: #fff">d</span>]] &middot; <span class="plainlinks">[{{fullurl:Template:{{{templatename}}}|action=edit}} <span style="color: #fff">e</span>]</span></span>|}}<span style="color: #fff">{{{title}}}</span>
 
! colspan=2 style="background: #1c1c1c; font-size: 12px;" | {{#if:{{{templatename|}}}|<span style="float: left; margin-left: 5px; font-size: 9px; font-weight: normal; color: #fff;">[[Template:{{{templatename}}}|<span style="color: #fff">v</span>]] &middot; [[Template talk:{{{templatename}}}|<span style="color: #fff">d</span>]] &middot; <span class="plainlinks">[{{fullurl:Template:{{{templatename}}}|action=edit}} <span style="color: #fff">e</span>]</span></span>|}}<span style="color: #fff">{{{title}}}</span>
 
|-
 
|-
| <div style="width: 800px; position: relative; margin: 0 auto;">[[Image:{{{image}}}|800px]]
+
| <div class="container">[[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|}}}|<a href="#" class="marker" style="left: {{{x1}}}; top: {{{y1}}};"><div>{{{area1}}}</div></a>|}}{{#if:{{{area2|}}}|<a class="marker" style="left: {{{x2}}}; top: {{{y2}}};"><div>{{{area2}}}</div></a>|}}{{#if:{{{area3|}}}|<a class="marker" style="left: {{{x3}}}; top: {{{y3}}};"><div>{{{area3}}}</div></a>|}}{{#if:{{{area4|}}}|<a class="marker" style="left: {{{x4}}}; top: {{{y4}}};"><div>{{{area4}}}</div></a>|}}{{#if:{{{area5|}}}|<a class="marker" style="left: {{{x5}}}; top: {{{y5}}};"><div>{{{area5}}}</div></a>|}}{{#if:{{{area6|}}}|<a class="marker" style="left: {{{x6}}}; top: {{{y6}}};"><div>{{{area6}}}</div></a>|}}{{#if:{{{area7|}}}|<a class="marker" style="left: {{{x7}}}; top: {{{y7}}};"><div>{{{area7}}}</div></a>|}}{{#if:{{{area8|}}}|<a class="marker" style="left: {{{x8}}}; top: {{{y8}}};"><div>{{{area8}}}</div></a>|}}{{#if:{{{area9|}}}|<a class="marker" style="left: {{{x9}}}; top: {{{y9}}};"><div>{{{area9}}}</div></a>|}}{{#if:{{{area10|}}}|<a class="marker" style="left: {{{x10}}}; top: {{{y10}}};"><div>{{{area10}}}</div></a>|}}{{#if:{{{area11|}}}|<a class="marker" style="left: {{{x11}}}; top: {{{y11}}};"><div>{{{area11}}}</div></a>|}}{{#if:{{{area12|}}}|<a class="marker" style="left: {{{x12}}}; top: {{{y12}}};"><div>{{{area12}}}</div></a>|}}{{#if:{{{area13|}}}|<a class="marker" style="left: {{{x13}}}; top: {{{y13}}};"><div>{{{area13}}}</div></a>|}}{{#if:{{{area14|}}}|<a class="marker" style="left: {{{x14}}}; top: {{{y14}}};"><div>{{{area14}}}</div></a>|}}{{#if:{{{area15|}}}|<a class="marker" style="left: {{{x15}}}; top: {{{y15}}};"><div>{{{area15}}}</div></a>|}}
{{#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 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 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 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>
Line 30: Line 26:
 
  | x5 = 295px
 
  | x5 = 295px
 
  | y5 = 213px
 
  | y5 = 213px
 +
}}
 +
{{User:Atlas/Template:Map locations
 +
| title = Process - Middle point
 +
| image = cp_process_final.png
 +
| area1 = BLU crates | x1 = 219px | y1 = 126px
 +
| area2 = BLU medpack | x2 = 115px | y2 = 316px
 +
| area3 = RED computer room | x3 = 550px | y3 = 66px
 +
| area4 = RED 2nd forward | x4 = 719px | y4 = 101px
 +
| area5 = RED choke | x5 = 312px | y5 = 37px
 +
| area6 = RED big rock | x6 = 340px | y6 = 67px
 +
| area7 = RED sewer | x7 = 183px | y7 = 75px
 +
| area8 = RED crates | x8 = 531px | y8 = 108px
 
}}
 
}}

Latest revision as of 13:07, 2 August 2013

Test[edit]