Vorlage:Infobox fish: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(use templates edibilitygrid & qualityprice) |
|||
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 7: | Zeile 7: | ||
{{!}}colspan="2" style="padding-bottom: 5px;"{{!}} [[File:{{{eng|Blank icon}}}.png|center]] | {{!}}colspan="2" style="padding-bottom: 5px;"{{!}} [[File:{{{eng|Blank icon}}}.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; padding-right: 3px;" {{!}} {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
{{!}}- | {{!}}- | ||
{{!}} colspan="2" id="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;" {{!}} Information | {{!}} colspan="2" id="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;" {{!}} Information | ||
Zeile 47: | Zeile 47: | ||
{{!}}- | {{!}}- | ||
{{!}} id="infoboxsection" {{!}} Fischen Stufe erforderlich | {{!}} id="infoboxsection" {{!}} Fischen Stufe erforderlich | ||
− | {{!}} id="infoboxdetail {{!}} {{{fl|}}} | + | {{!}} id="infoboxdetail" {{!}} {{{fl|}}} |
}}{{#if:{{{size|}}}|<nowiki /> | }}{{#if:{{{size|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}} id="infoboxsection" {{!}} Größe (cm) | {{!}} id="infoboxsection" {{!}} Größe (cm) | ||
{{!}} id="infoboxdetail" {{!}} {{#switch:{{uc:{{CONTENTLANG}}}} | {{!}} id="infoboxdetail" {{!}} {{#switch:{{uc:{{CONTENTLANG}}}} | ||
− | + | |EN = {{#replace:{{{size|}}}|-|–}} | |
− | + | |#default = {{#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}} }} }} | |
}} | }} | ||
{{#if:{{{difficulty|}}} |<nowiki /> | {{#if:{{{difficulty|}}} |<nowiki /> | ||
Zeile 73: | Zeile 73: | ||
{{!}} id="infoboxsection" {{!}} Energie | {{!}} id="infoboxsection" {{!}} Energie | ||
{{!}} id="infoboxdetail" {{!}} ''Ungenießbar'' | {{!}} id="infoboxdetail" {{!}} ''Ungenießbar'' | ||
− | |#default = | + | |#default = |
− | + | {{!}} id="infoboxsection" {{!}} [[Energie]] / [[Gesundheit]] | |
− | + | {{!}} id="infoboxdetail" {{!}} {{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|dsv=false}} | |
− | + | }} }}{{#ifeq:{{{professions|}}} | false |<nowiki /> | |
− | + | {{!}}- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{!}} id="infoboxsection" {{!}} [[Energie | ||
− | {{!}} id="infoboxdetail" {{!}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{!}}- | ||
{{!}} id="infoboxsection" {{!}} Verkaufspreis | {{!}} id="infoboxsection" {{!}} Verkaufspreis | ||
{{!}} id="infoboxdetail" {{!}} {{#switch: {{lc:{{{quality|}}}}} | {{!}} id="infoboxdetail" {{!}} {{#switch: {{lc:{{{quality|}}}}} | ||
− | |normal|false = {{Price|{{{price|}}}}} | + | |normal|false = {{Price|{{{price|}}}}} |
− | |#default= | + | |#default = {{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|dsv=false}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
|<!-- professions != false --><nowiki /> | |<!-- professions != false --><nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="padding: 0; border: 0;"{{!}} | {{!}} colspan="2" style="padding: 0; border: 0;"{{!}} | ||
− | + | <table style="width: 101%; margin-top: -2px; margin-left: -2px;"> | |
− | + | <tr> | |
<td id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0; padding-right: 0;">Verkaufspreise</td> | <td id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0; padding-right: 0;">Verkaufspreise</td> | ||
− | + | </tr> | |
− | + | <tr> | |
<td id="infoboxsection" style="padding: 2px 0 0 8px;">Grundpreis</td> | <td id="infoboxsection" style="padding: 2px 0 0 8px;">Grundpreis</td> | ||
<td id="infoboxsection" style="padding: 2px 0 0 8px;">[[File:Fisher.png|24px|link=]] [[Fähigkeiten#Fischen|<span style="color: white;">Fischer</span>]]<br />''(+25%)''</td> | <td id="infoboxsection" style="padding: 2px 0 0 8px;">[[File:Fisher.png|24px|link=]] [[Fähigkeiten#Fischen|<span style="color: white;">Fischer</span>]]<br />''(+25%)''</td> | ||
<td id="infoboxsection" style="padding: 2px 0 0 8px;">[[File:Angler Icon.png|24px|link=]] [[Fähigkeiten#Fischen|<span style="color: white;">Angler</span>]]<br />''(+50%)''</td> | <td id="infoboxsection" style="padding: 2px 0 0 8px;">[[File:Angler Icon.png|24px|link=]] [[Fähigkeiten#Fischen|<span style="color: white;">Angler</span>]]<br />''(+50%)''</td> | ||
− | + | </tr> | |
− | + | <tr> | |
− | + | {{#switch: {{lc:{{{quality|}}}}} | |
− | + | |normal|false = | |
− | <td | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|quality=normal|dsv=false}}</td> |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|quality=normal|pm=1.25|dsv=false}}</td> | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|quality=normal|pm=1.5|dsv=false}}</td> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | <td | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <td | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|#default = {{#switch:{{lc:{{NAMESPACE}}}} | vorlage | template = |#default= | |#default = {{#switch:{{lc:{{NAMESPACE}}}} | vorlage | template = |#default= | ||
− | < | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|dsv=false}}</td> |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|pm=1.25|dsv=false}}</td> | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|pm=1.5|dsv=false}}</td> | |
− | + | }} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
Zeile 267: | Zeile 118: | ||
{{!}} id="infoboxsection" style="padding: 2px 0 0 8px;" {{!}} {{#ifeq:{{{eng|}}}|Sturgeon|Kaviar|Gealterter Fischlaich}} | {{!}} id="infoboxsection" style="padding: 2px 0 0 8px;" {{!}} {{#ifeq:{{{eng|}}}|Sturgeon|Kaviar|Gealterter Fischlaich}} | ||
{{!}} id="infoboxsection" class="no-wrap" style="padding: 2px 0 0 8px;" {{!}} [[File:Artisan.png|24px|link=]] {{#ifeq:{{{eng|}}}|Sturgeon|Kaviar|Gealterter<br />Fischlaich}} ''(+40%)''  | {{!}} id="infoboxsection" class="no-wrap" style="padding: 2px 0 0 8px;" {{!}} [[File:Artisan.png|24px|link=]] {{#ifeq:{{{eng|}}}|Sturgeon|Kaviar|Gealterter<br />Fischlaich}} ''(+40%)''  | ||
− | {{!}}- | + | {{!}}- |
− | {{!}} style="vertical-align: top;" {{!}} | + | {{!}} style="vertical-align: top;" {{!}} {{Qualityprice|{{{roe|}}} Roe|{{{price|}}}|quality=normal|dsv=false}} |
{{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} | {{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} | ||
− | |Sturgeon = | + | |Sturgeon = {{Qualityprice|Caviar|500|quality=normal|dsv=false}} |
− | |#default = | + | |#default = {{Qualityprice|{{{roe|}}} Aged Roe|{{{price|}}}|quality=normal|dsv=false}} }} |
{{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} | {{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} | ||
− | |Sturgeon = | + | |Sturgeon = {{Qualityprice|Caviar|500|quality=normal|pm=1.4|dsv=false}} |
− | |#default = | + | |#default = {{Qualityprice|{{{roe|}}} Aged Roe|{{{price|}}}|quality=normal|pm=1.4|dsv=false}} }} |
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} |
Aktuelle Version vom 11. März 2023, 18:17 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...