Difference between revisions of "Template:Map"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m (Disable image linking)
(Add template Superimpose2, allowing us to overlay grid and map icons on the minimap.)
Line 71: Line 71:
 
|-
 
|-
 
{{#if: {{{Map|}}} |
 
{{#if: {{{Map|}}} |
{{!}} colspan="3" style="text-align:center; padding:0" {{!}} <div style="height:350px; width;350px;"><div style="position:absolute; z-index:auto">[[{{{Map}}} {{!}} 350px {{!}} link=]]</div>
+
{{!}} colspan="3" style="text-align:center; padding:0" {{!}} {{Superimpose2
    <div style="position:absolute; z-index:1">[[Image:Minimap overlay1.png|350px|link=]]</div></div>
+
  | align = center
 +
  | base = {{{Map}}}
 +
  | base_width = 350px
 +
  | float = Minimap_overlay1.png
 +
  | float_width = 350px
 +
  | x = 0
 +
  | y = 0
 +
  | float2 = Clans.png
 +
  | float2_width = 35px
 +
  | x2 = {{{Clan_X|}}}
 +
  | y2 = {{{Clan_Y|}}}
 +
  | float3 = Inner Sphere.png
 +
  | float3_width = 35px
 +
  | x3 = {{{IS_X|}}}
 +
  | y3 = {{{IS_Y|}}}
 +
  | float4 = Mech icon blue.png
 +
  | float4_width = 25px
 +
  | x4 = {{{Clan_Mech_1_X|}}}
 +
  | y4 = {{{Clan_Mech_1_Y|}}}
 +
  | float5 = Mech icon blue.png
 +
  | float5_width = 25px
 +
  | x5 = {{{Clan_Mech_2_X|}}}
 +
  | y5 = {{{Clan_Mech_2_Y|}}}
 +
  | float6 = Mech icon red.png
 +
  | float6_width = 25px
 +
  | x6 = {{{IS_Mech_1_X|}}}
 +
  | y6 = {{{IS_Mech_1_Y|}}}
 +
  | float7 = Mech icon red.png
 +
  | float7_width = 25px
 +
  | x7 = {{{IS_Mech_2_X|}}}
 +
  | y7 = {{{IS_Mech_2_Y|}}}
 +
  | float8 = Asf icon blue.png
 +
  | float8_width = 25px
 +
  | x8 = {{{Clan_ASF_1_X|}}}
 +
  | y8 = {{{Clan_ASF_1_Y|}}}
 +
  | float9 = Asf icon blue.png
 +
  | float9_width = 25px
 +
  | x9 = {{{Clan_ASF_2_X|}}}
 +
  | y9 = {{{Clan_ASF_2_Y|}}}
 +
  | float10 = Asf icon red.png
 +
  | float10_width = 25px
 +
  | x10 = {{{IS_ASF_1_X|}}}
 +
  | y10 = {{{IS_ASF_1_Y|}}}
 +
  | float11 = Asf icon red.png
 +
  | float11_width = 25px
 +
  | x11 = {{{IS_ASF_2_X|}}}
 +
  | y11 = {{{IS_ASF_2_Y|}}}
 +
  | float12 = Mech icon neutral.png
 +
  | float12_width = 25px
 +
  | x12 = {{{Neutral_Mech_1_X|}}}
 +
  | y12 = {{{Neutral_Mech_1_Y|}}}
 +
  | float13 = Mech icon neutral.png
 +
  | float13_width = 25px
 +
  | x13 = {{{Neutral_Mech_2_X|}}}
 +
  | y13 = {{{Neutral_Mech_2_Y|}}}
 +
  | float14 = Mech icon neutral.png
 +
  | float14_width = 25px
 +
  | x14 = {{{Neutral_Mech_3_X|}}}
 +
  | y14 = {{{Neutral_Mech_3_Y|}}}
 +
  | float15 = Mech icon neutral.png
 +
  | float15_width = 25px
 +
  | x15 = {{{Neutral_Mech_4_X|}}}
 +
  | y15 = {{{Neutral_Mech_4_Y|}}}
 +
  | float16 = Mech icon neutral.png
 +
  | float16_width = 25px
 +
  | x16 = {{{Neutral_Mech_5_X|}}}
 +
  | y16 = {{{Neutral_Mech_5_Y|}}}
 +
  | float17 = Mech icon neutral.png
 +
  | float17_width = 25px
 +
  | x17 = {{{Neutral_Mech_6_X|}}}
 +
  | y17 = {{{Neutral_Mech_6_Y|}}}
 +
  | float18 = Bolt icon neutral.png
 +
  | float18_width = 25px
 +
  | x18 = {{{Neutral_Cap_1_X|}}}
 +
  | y18 = {{{Neutral_Cap_1_Y|}}}
 +
  | float19 = Bolt icon neutral.png
 +
  | float19_width = 25px
 +
  | x19 = {{{Neutral_Cap_2_X|}}}
 +
  | y19 = {{{Neutral_Cap_2_Y|}}}
 +
  | float20 = Bolt icon neutral.png
 +
  | float20_width = 25px
 +
  | x20 = {{{Neutral_Cap_3_X|}}}
 +
  | y20 = {{{Neutral_Cap_3_Y|}}}
 +
  | float21 = Bolt icon neutral.png
 +
  | float21_width = 25px
 +
  | x21 = {{{Neutral_Cap_4_X|}}}
 +
  | y21 = {{{Neutral_Cap_4_Y|}}}
 +
  | float22 = Bolt icon neutral.png
 +
  | float22_width = 25px
 +
  | x22 = {{{Neutral_Cap_5_X|}}}
 +
  | y22 = {{{Neutral_Cap_5_Y|}}}
 +
  | float23 = Bolt icon neutral.png
 +
  | float23_width = 25px
 +
  | x23 = {{{Neutral_Cap_6_X|}}}
 +
  | y23 = {{{Neutral_Cap_6_Y|}}}
 +
  | float24 = Bolt icon neutral.png
 +
  | float24_width = 25px
 +
  | x24 = {{{Neutral_Cap_7_X|}}}
 +
  | y24 = {{{Neutral_Cap_7_Y|}}}
 +
  | float25 = Bolt icon neutral.png
 +
  | float25_width = 25px
 +
  | x25 = {{{Neutral_Cap_8_X|}}}
 +
  | y25 = {{{Neutral_Cap_8_Y|}}}
 +
  | float26 = Asf icon neutral.png
 +
  | float26_width = 25px
 +
  | x26 = {{{Neutral_ASF_1_X|}}}
 +
  | y26 = {{{Neutral_ASF_1_Y|}}}
 +
  | float27 = Asf icon neutral.png
 +
  | float27_width = 25px
 +
  | x27 = {{{Neutral_ASF_2_X|}}}
 +
  | y27 = {{{Neutral_ASF_2_Y|}}}
 +
}}
 
|}}
 
|}}
 
|-
 
|-
 
|}[[Category:Maps]]</includeonly>
 
|}[[Category:Maps]]</includeonly>
<noinclude>[[Category:Infoboxes]] {{Documentation}}</noinclude>
+
<!-- <noinclude>[[Category:Infoboxes]] {{Documentation}}</noinclude> -->

Revision as of 04:05, 22 July 2019