Vorlage:Infobox fish: Unterschied zwischen den Versionen

Aus Stardew Valley Wiki
Zur Navigation springen Zur Suche springen
K (need to pass link to infosection for sake of text, etc.)
(portability changes)
Zeile 3: Zeile 3:
 
// TRANSLATIONS
 
// TRANSLATIONS
 
-->{{#arraydefine:$lang_information  | Information }}<!--
 
-->{{#arraydefine:$lang_information  | Information }}<!--
 +
-->{{#arraydefine:$lang_source        | Quelle }}<!--
 
-->{{#arraydefine:$lang_foundin      | Fundort }}<!--
 
-->{{#arraydefine:$lang_foundin      | Fundort }}<!--
 
-->{{#arraydefine:$lang_time          | Tageszeit }}<!--
 
-->{{#arraydefine:$lang_time          | Tageszeit }}<!--
Zeile 14: Zeile 15:
 
-->{{#arraydefine:$lang_fishsize      | Größe (cm) }}<!--
 
-->{{#arraydefine:$lang_fishsize      | Größe (cm) }}<!--
 
-->{{#arraydefine:$lang_xp            | Erfahrungs&shy;punkte }}<!--
 
-->{{#arraydefine:$lang_xp            | Erfahrungs&shy;punkte }}<!--
 +
-->{{#arraydefine:$lang_fishingxp    | Fischen EP }}<!--
 
-->{{#arraydefine:$lang_healingeffect | Heilungs&shy;effekt }}<!--
 
-->{{#arraydefine:$lang_healingeffect | Heilungs&shy;effekt }}<!--
 
-->{{#arraydefine:$lang_roe          | Fischlaich }}<!--
 
-->{{#arraydefine:$lang_roe          | Fischlaich }}<!--
Zeile 35: Zeile 37:
 
// set usemetric to true (or any nonempty value) if metric units should be used for fish size
 
// set usemetric to true (or any nonempty value) if metric units should be used for fish size
 
-->{{#arraydefine:$lang_usemetric    |true}}<!--
 
-->{{#arraydefine:$lang_usemetric    |true}}<!--
 +
-->{{#arraydefine:$lang_size_delim    | - }}<!--
  
 
// END of translations
 
// END of translations
Zeile 45: Zeile 48:
 
| colspan="2" style="padding-bottom:5px; text-align: center;" | {{Autoimage|{{{image|}}}|eng={{{eng|}}}}}
 
| colspan="2" style="padding-bottom:5px; text-align: center;" | {{Autoimage|{{{image|}}}|eng={{{eng|}}}}}
 
|-
 
|-
| 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;" | {{Italics|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}}}
 
|-
 
|-
| colspan="2" id="infoboxsection" style="text-align:center;" | {{#arrayprint:$lang_information}}{{#if:{{{location|}}} |<nowiki />
+
| colspan="2" id="infoboxsection" style="text-align:center;" | {{#arrayprint:$lang_information}}{{#if:{{{source|}}}|<nowiki/>
 
   {{!}}-
 
   {{!}}-
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_foundin}}:
+
  {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_source}}{{Colon}}
 +
  {{!}} id="infoboxdetail"  {{!}} {{#ifexist:{{{source|}}}|[[{{{source|}}}]]|{{{source|}}}}}
 +
}}{{#if:{{{location|}}} |<nowiki />
 +
  {{!}}-
 +
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_foundin}}{{Colon}}
 
   {{!}} id="infoboxdetail"  {{!}} {{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}}
 
   {{!}} id="infoboxdetail"  {{!}} {{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}}
 
}}{{#if:{{{time|}}} |<nowiki />
 
}}{{#if:{{{time|}}} |<nowiki />
 
   {{!}}-
 
   {{!}}-
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_time}}:
+
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_time}}{{Colon}}
 
   {{!}} id="infoboxdetail"  {{!}} {{{time|}}}
 
   {{!}} id="infoboxdetail"  {{!}} {{{time|}}}
 
}}{{#if:{{{season|}}} |<nowiki />
 
}}{{#if:{{{season|}}} |<nowiki />
 
   {{!}}-
 
   {{!}}-
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_season}}:
+
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_season}}{{Colon}}
 
   {{!}} id="infoboxdetail"  {{!}} {{Season|{{{season}}}}}
 
   {{!}} id="infoboxdetail"  {{!}} {{Season|{{{season}}}}}
 
}}{{#if:{{{weather|}}} |<nowiki />
 
}}{{#if:{{{weather|}}} |<nowiki />
 
   {{!}}-
 
   {{!}}-
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_weather}}:
+
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_weather}}{{Colon}}
 
   {{!}} id="infoboxdetail"  {{!}} {{Weather inline|{{{weather}}}}}
 
   {{!}} id="infoboxdetail"  {{!}} {{Weather inline|{{{weather}}}}}
 
}}{{#if:{{{difficulty|}}} |<nowiki />
 
}}{{#if:{{{difficulty|}}} |<nowiki />
 
   {{!}}-
 
   {{!}}-
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_difficulty}}:
+
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_difficulty}}{{Colon}}
 
   {{!}} id="infoboxdetail"  {{!}} {{{difficulty|}}}
 
   {{!}} id="infoboxdetail"  {{!}} {{{difficulty|}}}
 
}}{{#if:{{{behavior|}}} |<nowiki />
 
}}{{#if:{{{behavior|}}} |<nowiki />
 
   {{!}}-
 
   {{!}}-
   {{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_behaviorlink}}|<span style="color: white;">{{#arrayprint:$lang_behavior}}</span>]]:
+
   {{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_behaviorlink}}|<span style="color: white;">{{#arrayprint:$lang_behavior}}</span>]]{{Colon}}
 
   {{!}} id="infoboxdetail"  {{!}} {{ParseInputValues|code=behav|{{{behavior|}}}|default=true|translate=true}}
 
   {{!}} id="infoboxdetail"  {{!}} {{ParseInputValues|code=behav|{{{behavior|}}}|default=true|translate=true}}
 
}}{{#if:{{{fl|}}}|<nowiki />
 
}}{{#if:{{{fl|}}}|<nowiki />
 
   {{!}}-
 
   {{!}}-
   {{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_fishing}}|<span style="color: white;">{{#arrayprint:$lang_levelrequired}}</span>]]:
+
   {{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_fishing}}|<span style="color: white;">{{#arrayprint:$lang_levelrequired}}</span>]]{{Colon}}
 
   {{!}} id="infoboxdetail  {{!}} {{{fl|}}}
 
   {{!}} id="infoboxdetail  {{!}} {{{fl|}}}
 
}}{{#if:{{{size|}}}|<nowiki />
 
}}{{#if:{{{size|}}}|<nowiki />
 
   {{!}}-
 
   {{!}}-
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishsize}}:
+
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishsize}}{{Colon}}
 
   {{!}} id="infoboxdetail"  {{!}} <!--
 
   {{!}} id="infoboxdetail"  {{!}} <!--
 
-->{{#if:{{#arrayprint:$lang_usemetric}}
 
-->{{#if:{{#arrayprint:$lang_usemetric}}
 
       | {{#if:{{#pos:{{{size|}}}|-}}
 
       | {{#if:{{#pos:{{{size|}}}|-}}
           | {{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}} - {{#expr:{{#explode:{{{size|}}}|-|1}}*2.54 round 0}}
+
           | {{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}} {{#arrayprint:$lang_size_delim}} {{#expr:{{#explode:{{{size|}}}|-|1}}*2.54 round 0}}
 
           | {{#expr:{{{size|}}}*2.54 round 0}}}}
 
           | {{#expr:{{{size|}}}*2.54 round 0}}}}
 
       | {{{size|}}}
 
       | {{{size|}}}
}}}}{{#if:{{{difficulty|}}}|<nowiki />
+
}}}}{{#if:{{{xp|}}}|<nowiki />
 +
  {{!}}-
 +
  {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_xp}}{{Colon}}
 +
  {{!}} id="infoboxdetail"  {{!}} {{{xp|}}}
 +
}}{{#if:{{{difficulty|}}}|<nowiki />
 
   {{!}}-
 
   {{!}}-
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_xp}}:
+
   {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishingxp}}{{Colon}}
 
   {{!}} id="infoboxdetail"  {{!}}<!--
 
   {{!}} id="infoboxdetail"  {{!}}<!--
 
-->    {{#arraydefine:$legendary|{{ParseInputValues|code=legend|{{{eng|{{{name|{{PAGENAME}}}}}}}}}}}}<!--
 
-->    {{#arraydefine:$legendary|{{ParseInputValues|code=legend|{{{eng|{{{name|{{PAGENAME}}}}}}}}}}}}<!--

Version vom 6. Oktober 2020, 21:02 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...

Vorlage:ParseInputValuesVorlage:ParseInputValues

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