Vorlage:Infobox building: Unterschied zwischen den Versionen

Aus Stardew Valley Wiki
Zur Navigation springen Zur Suche springen
(allow for description template to populate the description field)
Zeile 1: Zeile 1:
 
<includeonly><div id="infoboxborder">
 
<includeonly><div id="infoboxborder">
 
{| class="location" id="infoboxtable"
 
{| class="location" id="infoboxtable"
|colspan=2 id="infoboxheader"|{{{name|}}}
+
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|-
 
|-
|colspan="2" style="padding-bottom: 15px;"|[[File:{{{image|}}}|center|{{#if:{{{width|}}}|{{{width|}}}|}}]]
+
|colspan="2" style="padding-bottom: {{#ifeq:{{Description|{{PAGENAME}}}}|&nbsp;|0|5px}};"|[[File:{{{image|}}}|center|{{#if:{{{width|}}}|{{{width|}}}|}}]]
 +
|-
 +
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
 
|-
 
|-
 
|colspan="2" id="infoboxsection" style="text-align: center;"|Information
 
|colspan="2" id="infoboxsection" style="text-align: center;"|Information

Version vom 1. Oktober 2018, 20:37 Uhr

Details zur Vorlage finden Sie auf der englischsprachigen Dokumentationsseite.

Verwendung

Diese Vorlage kann verwendet werden, indem Sie auf eine relevante Seite folgendes eingeben.

{{Infobox building}}

Ergibt...

Infobox building
[[File:|center|]]
Information
Baukosten:
Baumaterial:
Größe: [[File:Marker.png center]]
Fehler: Die Parser-Funktion {{#seo:}} muss zu mindestens einem Meta-Element einen Wert enthalten.