Changes

739 bytes added ,  19:28, 21 May 2021
implement templatestyles
Line 1: Line 1: −
<noinclude>{{map|100|100}}
+
<includeonly><templatestyles src="Template:Map/styles.css" /><div class="mapcontainer" style="width:{{#if:{{{3|}}}|{{{3|}}}|400}}px;height:{{#expr:({{#if:{{{3|}}}|{{{3|}}}|400}}/400*244)round0}}px;"><div class="maplocation" style="left:{{#if:{{{1|}}}|{{{1|}}}|0}}px;top:{{#if:{{{2|}}}|{{{2|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>{{#if:{{{loc2x|}}} | <div class="maplocation" style="left:{{#if:{{{loc2x|}}}|{{{loc2x|}}}|0}}px;top:{{#if:{{{loc2y|}}}|{{{loc2y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{loc3x|}}} | <div class="maplocation" style="left:{{#if:{{{loc3x|}}}|{{{loc3x|}}}|0}}px;top:{{#if:{{{loc3y|}}}|{{{loc3y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{loc4x|}}} | <div class="maplocation" style="left:{{#if:{{{loc4x|}}}|{{{loc4x|}}}|0}}px;top:{{#if:{{{loc4y|}}}|{{{loc4y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}[[File:Map{{#ifeq:{{{island|}}}|true|_with_Island|}}.png|{{#if:{{{3|}}}|{{{3|}}}|400}}px|link=]]</div></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
[[Category:Template]]</noinclude>
  −
<includeonly><div id="mapcontainer"><div id="maplocation" style="left:{{:if:{{{1|}}}|{{{1|}}}|0}}px;top:{{:if:{{{2|}}}|{{{2|}}}|0}}px;">[[File:Maplocation.png|20px]]</div>{{:if:{{{3|}}}|[[File:Map.png|{{{3|}}}px]]|[[File:Map.png|400px]]}}</div></includeonly>
 
105,900

edits