„Sablon:Infobox location” változatai közötti eltérés

Innen: Stardew Valley Wiki
Ugrás a navigációhoz Ugrás a kereséshez
a (Szövegcsere – „colspan=2” → „colspan="2"”)
 
(6 közbenső módosítás, amit 2 másik szerkesztő végzett, nincs mutatva)
1. sor: 1. sor:
==Leírás==
+
<includeonly><div id="infoboxborder">
Ez a sablon a helyek infoboxjának megadására szolgál.
+
{|class="location" id="infoboxtable"
 
+
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
==Használat==
+
|-
Ez a sablon az alábbiak beírásával használható egy releváns oldalra.
+
|colspan="2" id="locationimg"|{{#if:{{{building|}}}|[[File:{{{building|}}}{{!}}{{#if:{{{width|}}}|{{{width|}}}{{!}}}}center]]|}}
 
+
|-
<pre>{{Infobox location
+
|colspan="2"|{{#ifeq:{{{island|}}}|true
|name      =
+
  |{{Map|island=true|{{{mapx|}}}|{{{mapy|}}}}}
|mapx      =
+
  |{{map|{{{mapx|}}}|{{{mapy|}}}}} }}<!--
|mapy      =
+
-->{{#if:{{{openhours|}}}|<nowiki />
|building =
+
{{!}}-
|openhours =
+
{{!}}id="infoboxsection"{{!}}Nyitvatartás:
|closed    =
+
{{!}}id="infoboxdetail"{{!}}{{{openhours|}}} |}}<!--
|address  =
+
-->{{#if:{{{closed|}}}|<nowiki />
|width    =
+
{{!}}-
|occupants =
+
{{!}}id="infoboxsection"{{!}}Zárva:
|}}</pre>
+
{{!}}id="infoboxdetail"{{!}}{{{closed|}}} |}}<!--
 
+
-->{{#if:{{{address|}}}|<nowiki />
==Paraméterek==
+
{{!}}-
<pre>{{Infobox location
+
{{!}}id="infoboxsection"{{!}}Cím:
|name      = Location name (defaults to pagename)
+
{{!}}id="infoboxdetail"{{!}}{{{address|}}} |}}<!--
|mapx      = The image's X coordinate
+
-->{{#if:{{{occupants|}}}|<nowiki />
|mapy      = The image's Y coordinate
+
{{!}}-
|building  = The image name, minus the File:
+
{{!}}id="infoboxsection"{{!}}Lakók:
|openhours = The hours the store is open
+
{{!}}id="infoboxdetail"{{!}}{{{occupants|}}} |}}
|closed    = The days the store is closed
+
|-
|address  = Location
+
|}</div>{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude>
|width    = Override the default width of the image (optional)
 
|occupants = NPCs that live in the location, using [[Template:NPC]]
 
|}}</pre>
 
 
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>{{Addlanglinks}}</includeonly>
 

A lap jelenlegi, 2021. október 26., 17:18-kori változata

A sablonnal kapcsolatos további információkért lásd a angol nyelvű dokumentációt.

Használat

Ezt a sablont az alábbi oldalak megadásával lehet használni.

{{Infobox location}}

Eredmények...

Infobox location
Maplocation.png
Map.png