„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
1. sor: 1. sor:
<noinclude>{{Fordít}}</noinclude><includeonly><div id="infoboxborder">
+
==Leírás==
{| class="location" id="infoboxtable"
+
Ez a sablon a helyek infoboxjának megadására szolgál.
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}}
+
 
|-
+
==Használat==
|colspan=2 id="locationimg"|{{#if:{{{building|}}}|[[File:{{{building|}}}{{!}}{{#if:{{{width|}}}|{{{width|}}}{{!}}}}center]]|}}
+
Ez a sablon az alábbiak beírásával használható egy releváns oldalra.
|-
+
 
|colspan=2|{{map|{{{mapx|}}}|{{{mapy|}}}}}<!--
+
<pre>{{Infobox location
-->{{#if:{{{openhours|}}}|<nowiki />
+
|name     =
{{!}}-
+
|mapx      =
{{!}}id="infoboxsection"{{!}}Nyitvatartás:
+
|mapy      =
{{!}}id="infoboxdetail"{{!}}{{{openhours|}}} |}}<!--
+
|building =
-->{{#if:{{{closed|}}}|<nowiki />
+
|openhours =
{{!}}-
+
|closed    =
{{!}}id="infoboxsection"{{!}}Zárva:
+
|address  =
{{!}}id="infoboxdetail"{{!}}{{{closed|}}} |}}<!--
+
|width    =
-->{{#if:{{{address|}}}|<nowiki />
+
|occupants =
{{!}}-
+
|}}</pre>
{{!}}id="infoboxsection"{{!}}Cím:
+
 
{{!}}id="infoboxdetail"{{!}}{{{address|}}} |}}<!--
+
==Paraméterek==
-->{{#if:{{{occupants|}}}|<nowiki />
+
<pre>{{Infobox location
{{!}}-
+
|name      = Location name (defaults to pagename)
{{!}}id="infoboxsection"{{!}}Lakók:
+
|mapx      = The image's X coordinate
{{!}}id="infoboxdetail"{{!}}{{{occupants|}}} |}}
+
|mapy      = The image's Y coordinate
|-
+
|building  = The image name, minus the File:
|}{{#seo:
+
|openhours = The hours the store is open
|keywords=Stardew Valley Wiki,Stardew Valley,Villagers,{{PAGENAME}},{{{name|}}},hours,location
+
|closed    = The days the store is closed
}}</div>{{InfoboxSEO}}{{#seo:
+
|address  = Location
|og:image={{#if:{{{building|}}}|{{filepath:{{{building|}}}}}}}
+
|width    = Override the default width of the image (optional)
}}</includeonly><noinclude>{{Englishdoc}}</noinclude>
+
|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 2020. november 23., 20:30-kori változata

Leírás

Ez a sablon a helyek infoboxjának megadására szolgál.

Használat

Ez a sablon az alábbiak beírásával használható egy releváns oldalra.

{{Infobox location
|name      = 
|mapx      =
|mapy      =
|building  =
|openhours =
|closed    =
|address   =
|width     =
|occupants =
|}}

Paraméterek

{{Infobox location
|name      = Location name (defaults to pagename)
|mapx      = The image's X coordinate
|mapy      = The image's Y coordinate
|building  = The image name, minus the File:
|openhours = The hours the store is open
|closed    = The days the store is closed
|address   = Location
|width     = Override the default width of the image (optional)
|occupants = NPCs that live in the location, using [[Template:NPC]]
|}}