「テンプレート:Infobox location」の版間の差分

提供: Stardew Valley Wiki
ナビゲーションに移動 検索に移動
(add parameter to show map with Ginger Island)
5行目: 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 />
 
{{!}}-
 
{{!}}-

2021年1月25日 (月) 21:03時点における版

このテンプレートの詳細については、英語のドキュメントページを参照してください。

使用法

このテンプレートは、関連するページに以下を入力することによって使用できます。

{{Infobox location}}

結果は...

Infobox location
Maplocation.png
Map.png
Error: {{#seo:}} must contain at least one non-empty attribute.