Vorlage:Infobox fish: Unterschied zwischen den Versionen

Aus Stardew Valley Wiki
Zur Navigation springen Zur Suche springen
(allow for description template to populate the description field)
Zeile 3: Zeile 3:
 
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|-
 
|-
|colspan="2"|[[File:{{{image|}}}.png|center]]
+
|colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image|}}}|[[File:{{{image|{{{eng|}}}}}}.png|center]]|}}
 
|-
 
|-
 
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
 
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
Zeile 10: Zeile 10:
 
|-
 
|-
 
|id="infoboxsection"|Fundort:
 
|id="infoboxsection"|Fundort:
|id="infoboxdetail"|{{#if:{{{location|}}}|{{{location|N/A}}}|N/A}}
+
|id="infoboxdetail"|{{{location|N/A}}}<!--
|-
+
-->{{#if:{{{time|}}}|<nowiki />
|id="infoboxsection"|Tageszeit:
+
{{!}}-
|id="infoboxdetail"|{{#if:{{{time|}}}|{{{time|N/A}}}|N/A}}
+
{{!}}id="infoboxsection"{{!}}Tageszeit:
|-
+
{{!}}id="infoboxdetail"{{!}}{{{time|}}} |}}<!--
|id="infoboxsection"|Jahreszeit:
+
-->{{#if:{{{season|}}}|<nowiki />
<!--|id="infoboxdetail"|{{#if:{{{season|}}}|{{{season|N/A}}}|N/A}}-->
+
{{!}}-
|id="infoboxdetail"|{{#if:{{{season|}}}
+
{{!}}id="infoboxsection"{{!}}Jahreszeit:
| {{#arraydefine:season|{{{season|}}}|/}}
+
{{!}}id="infoboxdetail"{{!}}{{#switch: {{lc:{{{season|}}} }}
  {{#arrayprint:season|&#32;/&#32;|@@@@
+
| spring|frühling = [[File:Spring.png|24px|link=]]&nbsp;[[Frühling]]
  | {{#switch: {{lc:@@@@}}
+
| summer|sommer = [[File:Summer.png|24px|link=]]&nbsp;[[Sommer]]
    | spring| summer | fall | winter = [[File:@@@@.png|24px]]&nbsp;[[@@@@]]
+
| fall|autumn|herbst = [[File:Fall.png|24px|link=]]&nbsp;[[Herbst]]
    | #default = @@@@
+
| winter = [[File:Winter.png|24px|link=]]&nbsp;[[Winter]]
    }}
+
| any|alle|jedes|immer = Alle
  }}
+
| #default = {{{season|}}} }} |}}<!--
| N/A
+
-->{{#if:{{{weather|}}} |<nowiki />
}}
+
{{!}}-
|-
+
{{!}}id="infoboxsection"{{!}}Wetter:
|id="infoboxsection"|Wetter:
+
{{!}}id="infoboxdetail"{{!}}{{#switch: {{lc:{{{weather|}}}}}
|id="infoboxdetail"|{{#if:{{{weather|}}}
+
| sunny | sun | rainy | rain | polleny | pollen | wind | windy | springwind | sonnig | regen | gewitter | schnee = {{weather inline|{{{weather|}}}}}
| {{#arraydefine:weather|{{{weather|}}}|/}}
+
|immer|any|all|beliebig|jedes|jedem = Beliebig
  {{#arrayprint:weather|&#32;/&#32;|@@@@
+
|#default = {{{weather|}}} }} |}}<!--
  | {{#switch: {{lc:@@@@}}
+
-->{{#if:{{{difficulty|}}}|<nowiki />
    | sunny | rain | pollen | storm | snow = {{weather inline|@@@@}}
+
{{!}}-
    | #default = @@@@
+
{{!}}id="infoboxsection"{{!}}Schwierigkeit:
    }}
+
{{!}}id="infoboxdetail"{{!}}{{{difficulty|}}}|}}<!--
  }}
 
| N/A
 
}}
 
|-
 
|id="infoboxsection"|Schwierigkeit:
 
|id="infoboxdetail"|{{#if:{{{difficulty|}}}|{{{difficulty|N/A}}}|N/A}}<!--
 
 
-->{{#if:{{{behavior|}}} |<nowiki />
 
-->{{#if:{{{behavior|}}} |<nowiki />
 
{{!}}-
 
{{!}}-
 
{{!}}id="infoboxsection"{{!}}[[Fisch#Minispiel Fischen{{!}}<span style="color: white;">Bewegung</span>]]:
 
{{!}}id="infoboxsection"{{!}}[[Fisch#Minispiel Fischen{{!}}<span style="color: white;">Bewegung</span>]]:
{{!}}id="infoboxdetail"{{!}}{{{behavior|}}} |}}
+
{{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{behavior|}}}}}
|-
+
  |mixed|gemischt    = gemischt
|id="infoboxsection"|Größe:
+
  |smooth|ruhig      = ruhig
|id="infoboxdetail"|{{#if:{{{size|}}}|{{{size|N/A}}}|N/A}}
+
  |sinker|absenker  = Absenker
 +
  |floater|schwimmer = Schwimmer
 +
  |dart|pfeilschnell = pfeilschnell
 +
  |#default={{{behavior|}}}}} |}}<!--
 +
-->{{#if:{{{size|}}}|<nowiki />
 +
{{!}}-
 +
{{!}}id="infoboxsection"{{!}}Größe (cm):
 +
{{!}}id="infoboxdetail"{{!}}{{#if:{{#pos:{{{size|}}}|-}}
 +
    |{{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}} - {{#expr:{{#explode:{{{size|}}}|-|-1}}*2.54 round 0}}
 +
    |{{#expr:{{{size|}}}*2.54 round 0}} }} |}}
 
|-
 
|-
 
|id="infoboxsection"|Heilungseffekt:
 
|id="infoboxsection"|Heilungseffekt:
Zeile 61: Zeile 64:
 
|id="infoboxsection" style="padding-right: 0 !important; width: 32%;"|[[File:Angler Icon.png|24px|link=]] Angler:<br/>''(+50%)''
 
|id="infoboxsection" style="padding-right: 0 !important; width: 32%;"|[[File:Angler Icon.png|24px|link=]] Angler:<br/>''(+50%)''
 
|-
 
|-
|id="infoboxdetail"|{{Qualityprice|{{{image|}}}|{{{price|0}}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}}
+
|id="infoboxdetail"|{{#if:{{{price|}}} | {{Qualityprice|{{{image|{{{eng|}}}}}}|{{{price|0}}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{image|{{{eng|}}}}}}|{{{sellprice|0}}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} |}} }}
|id="infoboxdetail"|{{Qualityprice|{{{image|}}}|{{#expr:{{{price|0}}}*1.25}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}}
+
|id="infoboxdetail"|{{#if:{{{price|}}} | {{Qualityprice|{{{image|{{{eng|}}}}}}|{{#expr:{{{price|0}}}*1.25}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}} }} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{image|{{{eng|}}}}}}|{{#expr:{{{sellprice|0}}}*1.25}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} |}} }}
|id="infoboxdetail"|{{Qualityprice|{{{image|}}}|{{#expr:{{{price|0}}}*1.50}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}}
+
  |id="infoboxdetail"|{{#if:{{{price|}}} | {{Qualityprice|{{{image|{{{eng|}}}}}}|{{#expr:{{{price|0}}}*1.50}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{image|{{{eng|}}}}}}|{{#expr:{{{sellprice|0}}}*1.50}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} |}} }}
 
|}
 
|}
</div>{{InfoboxSEO}}{{#seo:
+
|}</div>{{InfoboxSEO}}{{#seo:
 
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
 
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}}
 
}}</includeonly><noinclude>{{englishdoc}}</noinclude>
 
}}</includeonly><noinclude>{{englishdoc}}</noinclude>

Version vom 19. November 2018, 15:30 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 fish}}

Ergibt...

Infobox fish
Information
Fundort: N/A
Heilungseffekt: Ungenießbar
Verkaufspreise
Basispreis: Fisher.png Fischer:
(+25%)
Angler Icon.png Angler:
(+50%)
Fehler: Die Parser-Funktion {{#seo:}} muss zu mindestens einem Meta-Element einen Wert enthalten.