打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Map:修订间差异

来自星露谷物语扩展百科
Sizau留言 | 贡献
无编辑摘要
Sizau留言 | 贡献
适配移动端 修正超出边界的问题
第1行: 第1行:
<includeonly>{{#ifeq:{{{island|}}}|small||{{#ifeq:{{{main|}}}|false||{{#if:{{#varexists:Map}}||{{#vardefineecho:Map|{{#css: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.png|{{#if:{{{3|}}}|{{{3|}}}|400}}px|link=]]</div>}}}}<!------------- BETWEEN ------------->{{#ifeq:{{{island|}}}|true|{{#css: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:{{{islandloc1x|}}}|{{{islandloc1x|}}}|0}}px;top:{{#if:{{{islandloc1y|}}}|{{{islandloc1y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>{{#if:{{{islandloc2x|}}} | <div class="maplocation" style="left:{{#if:{{{islandloc2x|}}}|{{{islandloc2x|}}}|0}}px;top:{{#if:{{{islandloc2y|}}}|{{{islandloc2y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{islandloc3x|}}} | <div class="maplocation" style="left:{{#if:{{{islandloc3x|}}}|{{{islandloc3x|}}}|0}}px;top:{{#if:{{{islandloc3y|}}}|{{{islandloc3y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{islandloc4x|}}} | <div class="maplocation" style="left:{{#if:{{{islandloc4x|}}}|{{{islandloc4x|}}}|0}}px;top:{{#if:{{{islandloc4y|}}}|{{{islandloc4y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}[[File:Ginger Island Map.png|{{#if:{{{3|}}}|{{{3|}}}|400}}px|link=]]</div>|}}<!------------- BETWEEN ------------->{{#ifeq:{{{island|}}}|small|{{#css: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 with Island.png|{{#if:{{{3|}}}|{{{3|}}}|400}}px|link=]]</div>|}}</includeonly><noinclude>{{Englishdoc}}</noinclude>
<includeonly>{{#if:{{#varexists:maplayout}}||{{#vardefineecho:maplayout|{{#css:@media (max-width: 768px) {
    .maplayout {
        border-collapse: separate;
        min-width: 100% !important;
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
        height: auto;
        table-layout: fixed;
    }
} }} }}}}<div class="maplayout">{{#ifeq:{{{island|}}}|small||{{#ifeq:{{{main|}}}|false||{{#if:{{#varexists:Map}}||{{#vardefineecho:Map|{{#css: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.png|{{#if:{{{3|}}}|{{{3|}}}|400}}px|link=]]</div>}}}}<!------------- BETWEEN ------------->{{#ifeq:{{{island|}}}|true|{{#css: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:{{{islandloc1x|}}}|{{{islandloc1x|}}}|0}}px;top:{{#if:{{{islandloc1y|}}}|{{{islandloc1y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>{{#if:{{{islandloc2x|}}} | <div class="maplocation" style="left:{{#if:{{{islandloc2x|}}}|{{{islandloc2x|}}}|0}}px;top:{{#if:{{{islandloc2y|}}}|{{{islandloc2y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{islandloc3x|}}} | <div class="maplocation" style="left:{{#if:{{{islandloc3x|}}}|{{{islandloc3x|}}}|0}}px;top:{{#if:{{{islandloc3y|}}}|{{{islandloc3y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{islandloc4x|}}} | <div class="maplocation" style="left:{{#if:{{{islandloc4x|}}}|{{{islandloc4x|}}}|0}}px;top:{{#if:{{{islandloc4y|}}}|{{{islandloc4y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}[[File:Ginger Island Map.png|{{#if:{{{3|}}}|{{{3|}}}|400}}px|link=]]</div>|}}<!------------- BETWEEN ------------->{{#ifeq:{{{island|}}}|small|{{#css: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 with Island.png|{{#if:{{{3|}}}|{{{3|}}}|400}}px|link=]]</div>|}}</div></includeonly><noinclude>{{Englishdoc}}</noinclude>

2024年10月21日 (一) 12:37的版本