Différences entre versions de « Modèle:Infobox fish »
Sauter à la navigation
Sauter à la recherche
(remove colspan set on table) |
(allow for normal & silver quality) |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 52 : | Ligne 52 : | ||
{{!}} id="infoboxsection" {{!}} Taille (cm) | {{!}} id="infoboxsection" {{!}} Taille (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 /> | ||
Ligne 73 : | Ligne 73 : | ||
{{!}} id="infoboxsection" {{!}} Énergie | {{!}} id="infoboxsection" {{!}} Énergie | ||
{{!}} id="infoboxdetail" {{!}} ''Non comestible'' | {{!}} id="infoboxdetail" {{!}} ''Non comestible'' | ||
− | |#default = | + | |#default = |
− | + | {{!}} id="infoboxsection" {{!}} [[Énergie]] / [[Santé]] | |
− | + | {{!}} id="infoboxdetail" {{!}} {{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|dsv=false}} | |
− | + | }} }}{{#ifeq:{{{professions|}}} | false |<nowiki /> | |
− | + | {{!}}- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{!}} id="infoboxsection" {{!}} [[Énergie | ||
− | {{!}} id="infoboxdetail" {{!}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{!}}- | ||
{{!}} id="infoboxsection" {{!}} Prix de vente | {{!}} id="infoboxsection" {{!}} Prix de vente | ||
{{!}} 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;">Prix de vente</td> | <td id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0; padding-right: 0;">Prix de vente</td> | ||
− | + | </tr> | |
− | + | <tr> | |
<td id="infoboxsection" style="padding: 2px 0 0 8px;">Prix de base</td> | <td id="infoboxsection" style="padding: 2px 0 0 8px;">Prix de base</td> | ||
<td id="infoboxsection" style="padding: 2px 0 0 8px;">[[File:Fisher.png|24px|link=]] [[Compétences#Pêche|<span style="color: white;">Pêcheur</span>]]<br />''(+25 %)''</td> | <td id="infoboxsection" style="padding: 2px 0 0 8px;">[[File:Fisher.png|24px|link=]] [[Compétences#Pêche|<span style="color: white;">Pêcheur</span>]]<br />''(+25 %)''</td> | ||
<td id="infoboxsection" class="no-wrap" style="padding: 2px 0 0 8px;">[[File:Angler Icon.png|24px|link=]] [[Compétences#Pêche|<span style="color: white;">Pêcheur <br />(maître)</span>]] ''(+50 %)''</td> | <td id="infoboxsection" class="no-wrap" style="padding: 2px 0 0 8px;">[[File:Angler Icon.png|24px|link=]] [[Compétences#Pêche|<span style="color: white;">Pêcheur <br />(maître)</span>]] ''(+50 %)''</td> | ||
− | + | </tr> | |
− | + | <tr> | |
− | + | {{#switch: {{lc:{{{quality|}}}}} | |
− | + | |normal|false = | |
− | + | <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> | |
− | + | |normal,silver|0,1= | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|hide=gold,iridium|dsv=false}}</td> | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|hide=gold,iridium|pm=1.25|dsv=false}}</td> | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|hide=gold,iridium|pm=1.5|dsv=false}}</td> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <td | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|#default = {{#switch:{{lc:{{NAMESPACE}}}} | modèle | template = |#default= | |#default = {{#switch:{{lc:{{NAMESPACE}}}} | modèle | 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> | ||
Ligne 268 : | Ligne 123 : | ||
{{!}} id="infoboxsection" class="no-wrap" style="padding: 2px 0 0 8px; font-size: 90%;" {{!}} [[File:Artisan.png|24px|link=]] {{#ifeq:{{{eng|}}}|Sturgeon|Caviar|Oeufs de poisson <br />marinés}} ''(+40 %)''  | {{!}} id="infoboxsection" class="no-wrap" style="padding: 2px 0 0 8px; font-size: 90%;" {{!}} [[File:Artisan.png|24px|link=]] {{#ifeq:{{{eng|}}}|Sturgeon|Caviar|Oeufs de poisson <br />marinés}} ''(+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}} }} |
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} |
Version actuelle datée du 29 mai 2024 à 23:39
Voir la page de documentation en anglais pour plus d'informations sur ce modèle.
Utiliser
Ce modèle peut être utilisé en entrant ce qui suit dans une page pertinente.
{{Infobox fish}}
Produit ...
Infobox fish | |||||||
Information
| |||||||
|