Vorlage:Infobox: Unterschied zwischen den Versionen

Aus Stardew Valley Wiki
Zur Navigation springen Zur Suche springen
K (consistent translations)
(sync)
Zeile 7: Zeile 7:
 
// NOTE: text displayed in infobox that is NOT defined here is generated by subtemplate
 
// NOTE: text displayed in infobox that is NOT defined here is generated by subtemplate
 
-->{{#arraydefine:$lang_information  | Information }}<!--
 
-->{{#arraydefine:$lang_information  | Information }}<!--
 +
-->{{ParseInputValues|code=itype||
 +
,vegetable, Gemüse, vegetables,
 +
,fruit,    Obst,  fruits, Frucht, Früchte
 +
}}<!--
 
-->{{#arraydefine:$lang_source        | Quelle }}<!--
 
-->{{#arraydefine:$lang_source        | Quelle }}<!--
 
-->{{#arraydefine:$lang_foundin      | Fundort }}<!--
 
-->{{#arraydefine:$lang_foundin      | Fundort }}<!--
Zeile 25: Zeile 29:
 
-->{{#arraydefine:$lang_trapper_ingredients  | Fallenstellerberuf Zutaten }}<!--
 
-->{{#arraydefine:$lang_trapper_ingredients  | Fallenstellerberuf Zutaten }}<!--
 
-->{{#arraydefine:$lang_produces      | Produziert }}<!--
 
-->{{#arraydefine:$lang_produces      | Produziert }}<!--
 +
 
-->{{#arraydefine:$engl_artisangoods  | Artisan Goods }}<!--
 
-->{{#arraydefine:$engl_artisangoods  | Artisan Goods }}<!--
  
Zeile 104: Zeile 109:
 
-->  |{{Infosection price
 
-->  |{{Infosection price
 
         | prof    = Base {{#if:{{{profession|}}} |, {{{profession|}}}}}
 
         | prof    = Base {{#if:{{{profession|}}} |, {{{profession|}}}}}
         | item    = {{{eng|{{{name|{{{PAGENAME}}}}}}}}}
+
         | item    = {{{eng|{{{name|{{PAGENAME}}}}}}}}
         | link    = {{{name|{{{PAGENAME}}}}}}
+
         | link    =
 
         | price  = {{{sellprice|}}}
 
         | price  = {{{sellprice|}}}
 
         | quality = {{#arrayprint:$quality}}
 
         | quality = {{#arrayprint:$quality}}
 +
        | ncolumns= {{{price_ncols|}}}
 
       }}<!--
 
       }}<!--
  
Zeile 119: Zeile 125:
 
               | prof      = {{#if:{{{artisan_prof|}}}| {{{artisan_prof}}} | Base,Artisan}}
 
               | prof      = {{#if:{{{artisan_prof|}}}| {{{artisan_prof}}} | Base,Artisan}}
 
               | artisan  = true
 
               | artisan  = true
               | link      = {{{artisan_link|}}}
+
               | link      = {{{artisan_link|{{{artisan_item}}}}}}
 
               | price    = {{{artisan_price|0}}}
 
               | price    = {{{artisan_price|0}}}
 
               | quality  = {{{artisan_qual|}}}
 
               | quality  = {{{artisan_qual|}}}
 
               | srcprice  = {{{sellprice|}}}
 
               | srcprice  = {{{sellprice|}}}
 +
              | ncolumns  = {{{artisan_ncols|}}}
 
               | auto      = true
 
               | auto      = true
 
             }}<!--
 
             }}<!--
Zeile 131: Zeile 138:
 
// (Infosection price will recognize some key item names, such as Wine, Juice, Jelly, Pickles, but doing more than that is insane)
 
// (Infosection price will recognize some key item names, such as Wine, Juice, Jelly, Pickles, but doing more than that is insane)
 
-->
 
-->
           | {{#switch:{{lc:{{{type|{{{eng|{{{name|{{PAGENAME}}}}}}}}}}}}}
+
           | {{#switch:{{ParseInputValues|code=itype|{{{type|{{{eng|{{{name|{{PAGENAME}}}}}}}}}}}|case=lc|default=true}}
 
   |sunflower = {{Infosection price|prof=base        |artisan=true|auto=true|srcprice={{{sellprice|}}}|item=Oil              |price=100 |quality=normal}}
 
   |sunflower = {{Infosection price|prof=base        |artisan=true|auto=true|srcprice={{{sellprice|}}}|item=Oil              |price=100 |quality=normal}}
 
   |hops      = {{Infosection price|prof=base,artisan|artisan=true|auto=true|srcprice={{{sellprice|}}}|item=Pale Ale,Pickles |price=300}}
 
   |hops      = {{Infosection price|prof=base,artisan|artisan=true|auto=true|srcprice={{{sellprice|}}}|item=Pale Ale,Pickles |price=300}}
Zeile 157: Zeile 164:
 
-->
 
-->
 
   |wine
 
   |wine
   |juice    = {{#if:{{{profession|}}}||{{Infosection price|prof=artisan|item={{{name|{{{{PAGENAME}}}}}}}|price={{{sellprice|}}}|quality=normal}}}}
+
   |juice    = {{#if:{{{profession|}}}||{{Infosection price|prof=artisan|item={{{name|{{PAGENAME}}}}}|price={{{sellprice|}}}|quality=normal}}}}
   |aged roe  = {{#if:{{{profession|}}}||{{Infosection price|prof=artisan|item={{{name|{{{{PAGENAME}}}}}}}|price={{{sellprice|}}}|quality=normal}}}}
+
   |aged roe  = {{#if:{{{profession|}}}||{{Infosection price|prof=artisan|item={{{name|{{PAGENAME}}}}}|price={{{sellprice|}}}|quality=normal}}}}
 
}}}}}}{{#if:{{{ingredients|}}}|<nowiki/>
 
}}}}}}{{#if:{{{ingredients|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-

Version vom 25. September 2020, 00:29 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}}

Ergibt...

Vorlage:ParseInputValues

Fehler: Die Parser-Funktion {{#seo:}} muss zu mindestens einem Meta-Element einen Wert enthalten.