Différences entre versions de « Modèle:Infobox location »

De Stardew Valley Wiki
Sauter à la navigation Sauter à la recherche
(add parameter to show map with Ginger Island)
Ligne 5 : Ligne 5 :
 
|colspan=2 id="locationimg"|{{#if:{{{building|}}}|[[File:{{{building|}}}{{!}}{{#if:{{{width|}}}|{{{width|}}}{{!}}}}center]]|}}
 
|colspan=2 id="locationimg"|{{#if:{{{building|}}}|[[File:{{{building|}}}{{!}}{{#if:{{{width|}}}|{{{width|}}}{{!}}}}center]]|}}
 
|-
 
|-
|colspan=2|{{map|{{{mapx|}}}|{{{mapy|}}}}}<!--
+
|colspan=2|{{#ifeq:{{{island|}}}|true
 +
  |{{Map|island=true|{{{mapx|}}}|{{{mapy|}}}}}
 +
  |{{map|{{{mapx|}}}|{{{mapy|}}}}} }}<!--
 
-->{{#if:{{{openhours|}}}|<nowiki />
 
-->{{#if:{{{openhours|}}}|<nowiki />
 
{{!}}-
 
{{!}}-

Version du 25 janvier 2021 à 20:54

Voir la page de documentation en anglais pour plus d'informations sur ce modèle.

Utiliser

Ce modèle peut être utilisé en entrant ce qui suit dans une page pertinente.

{{Infobox location}}

Produit ...

Infobox location
Maplocation.png
Map.png
Erreur : {{#seo:}} doit contenir au moins un attribut non-vide.