Vorlage:Infobox mineral: Unterschied zwischen den Versionen

Aus Stardew Valley Wiki
Zur Navigation springen Zur Suche springen
(+parameter for corrected gemologist price)
 
(6 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 3: Zeile 3:
 
|colspan="2" id="infoboxheader"|{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}} }}
 
|colspan="2" id="infoboxheader"|{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}} }}
 
|-
 
|-
|colspan="2"|{{#if:{{{image|}}}|[[File:{{{image|}}}|center|link=]]|}}
+
|colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image|}}}|[[File:{{{image|}}}|center]]|}}
 
|-
 
|-
|colspan="2" id="infoboxdetail" style="text-align: center; font-style:italic;" |{{{description|}}}
+
|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
 
|-
 
|-
|id="infoboxsection"|Quelle:
+
|id="infoboxsection"|Quelle
 
|id="infoboxdetail"|{{{source|}}}
 
|id="infoboxdetail"|{{{source|}}}
 
|-
 
|-
|id="infoboxsection"|Verkaufspreis:
+
|id="infoboxsection"|Verkaufspreis
|id="infoboxdetail"|{{#iferror: {{price|{{{sellprice|}}}}} | {{{sellprice|N/A}}} | {{price|{{{sellprice|}}} }} }}<!--
+
|id="infoboxdetail"|{{#iferror:{{#expr:{{{sellprice|}}}<0}}|{{{sellprice|N/A}}}|{{price|{{{sellprice|}}} }} }}<!--
 
-->{{#if:{{{profession|}}} |<nowiki />
 
-->{{#if:{{{profession|}}} |<nowiki />
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection" style="white-space: nowrap;"{{!}}[[File:Gemologist.png|24px|link=]] Gemmologenberuf:<br />''(+30% Verkaufspreis)''
+
{{!}}id="infoboxsection" style="white-space: nowrap;"{{!}}[[File:Gemologist.png|24px|link=]] Gemmologenberuf<br />''(+30% Verkaufspreis)''
{{!}}id="infoboxdetail"{{!}}{{#iferror: {{price|{{#expr: 1.3 * {{{sellprice|}}} }} }} | | {{price|{{#expr: floor(1.3*{{{sellprice|}}}) }} }} }}  
+
{{!}}id="infoboxdetail"{{!}}{{#if:{{{correctedprice|}}} | {{Price|{{{correctedprice|}}}}} | {{#iferror:{{#expr:1.3*{{{sellprice|}}}}}| |{{price|{{#expr: floor(1.3*{{{sellprice|}}}) }} }}}}|}}}}
|}}
+
|}</div>{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude>
|}</div></includeonly><noinclude>{{englishdoc}}</noinclude>
 

Aktuelle Version vom 9. Juli 2023, 01:57 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 mineral}}

Ergibt...

Infobox mineral
Information
Quelle
Verkaufspreis N/A