Diferenças entre edições de "Predefinição:Map"

Fonte: Stardew Valley Wiki
Saltar para a navegação Saltar para a pesquisa
(allow for island map)
(implement templatestyles)
 
Linha 1: Linha 1:
<includeonly><div id="mapcontainer" style="overflow:hidden;width:{{#if:{{{3|}}}|{{{3|}}}|400}}px;height:{{#expr:({{#if:{{{3|}}}|{{{3|}}}|400}}/400*244)round0}}px;"><div id="maplocation" style="left:{{#if:{{{1|}}}|{{{1|}}}|0}}px;top:{{#if:{{{2|}}}|{{{2|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>{{#if:{{{loc2x|}}} | <div id="maplocation" style="left:{{#if:{{{loc2x|}}}|{{{loc2x|}}}|0}}px;top:{{#if:{{{loc2y|}}}|{{{loc2y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{loc3x|}}} | <div id="maplocation" style="left:{{#if:{{{loc3x|}}}|{{{loc3x|}}}|0}}px;top:{{#if:{{{loc3y|}}}|{{{loc3y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{loc4x|}}} | <div id="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>{{englishdoc}}</noinclude>
+
<includeonly><templatestyles src="Predefinição: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>{{Englishdoc}}</noinclude>

Edição atual desde as 19h39min de 21 de maio de 2021

Consulte a página de documentação em inglês para obter detalhes sobre este predefinição.

Uso

Este modelo pode ser usado inserindo o seguinte em uma página relevante.

{{Map}}

Resulta em...

Maplocation.png
Map.png