Différences entre versions de « Modèle:Infobox »
Sauter à la navigation
Sauter à la recherche
(fix for aged roe) |
(remove unnecessary formatting) |
||
(22 versions intermédiaires par 3 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | <includeonly | + | <includeonly>{{#switch:{{NAMESPACE}} |
− | + | |{{ns:User}}|{{ns:User talk}}= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |{{ns:User}}|{{ns:User talk}}= | ||
|#default=<div id="infoboxborder"> | |#default=<div id="infoboxborder"> | ||
− | + | <table id="infoboxtable"> | |
− | + | <tr> | |
− | + | <td colspan="2" id="infoboxheader">{{{name|{{PAGENAME}}}}}</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td colspan="2" style="padding-bottom: 5px; text-align: center;">[[File:{{{eng|Blank icon}}}{{#if:{{{ext|}}}|.{{{ext|}}}|.png}}]]{{#if:{{{image2|}}}|{{#ifeq:{{lc:{{{image2spacing|}}}}}|true| | }}[[File:{{{image2|}}}.png]]|}}{{#if:{{{image3|}}}| [[File:{{{image3|}}}.png]]|}}{{#if:{{{image4|}}}| [[File:{{{image4|}}}.png]]|}}{{#if:{{{image5|}}}| [[File:{{{image5|}}}.png]]|}}</td> | |
− | + | </tr> | |
− | + | <tr> | |
+ | <td colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic; padding-right: 3px;">{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="2" id="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">Information</td> | ||
+ | </tr> | ||
+ | {{#if:{{{source|}}}|<nowiki/> | ||
+ | <tr> | ||
+ | <td id="infoboxsection">Source</td> | ||
+ | <td id="infoboxdetail">{{{source|}}}</td> | ||
+ | </tr> | ||
+ | }}{{#if:{{{location|}}}|<nowiki/> | ||
+ | <tr> | ||
+ | <td id="infoboxsection">Emplacement</td> | ||
+ | <td id="infoboxdetail">{{{location|}}}</td> | ||
+ | </tr> | ||
+ | }}{{#if:{{{seed|}}}|<nowiki/> | ||
+ | <tr> | ||
+ | <td id="infoboxsection">Graine</td> | ||
+ | <td id="infoboxdetail">{{{seed|}}}</td> | ||
+ | </tr> | ||
+ | }}{{#if:{{{growth|}}}|<nowiki/> | ||
+ | <tr> | ||
+ | <td id="infoboxsection">Temps de croissance</td> | ||
+ | <td id="infoboxdetail">{{{growth|}}}</td> | ||
+ | </tr> | ||
+ | }}{{#if:{{{buff|}}}|<nowiki/> | ||
+ | <tr> | ||
+ | <td id="infoboxsection">Buff(s)</td> | ||
+ | <td id="infoboxdetail">{{{buff|}}}</td> | ||
+ | </tr> | ||
+ | }}{{#if:{{{buffduration|}}}|<nowiki/> | ||
+ | <tr> | ||
+ | <td id="infoboxsection">Durée du buff</td> | ||
+ | <td id="infoboxdetail">{{duration|{{{buffduration|}}}}}</td> | ||
+ | </tr> | ||
+ | }}{{#if:{{{season|}}}|<nowiki/> | ||
+ | <tr> | ||
+ | <td id="infoboxsection">{{#switch:{{lc:{{{eng|}}}}} | ||
+ | |apple|apricot|banana|cherry|mango|orange|peach|pomegranate|tea stage 4=Saison des récoltes | ||
+ | |#default = Saison}}</td> | ||
+ | <td id="infoboxdetail">{{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }}</td> | ||
+ | </tr> | ||
+ | }}{{#if:{{{weather|}}} |<nowiki /> | ||
+ | <tr> | ||
+ | <td id="infoboxsection">Météo</ | ||
}}{{#if:{{{ingredients|}}}|<nowiki/> | }}{{#if:{{{ingredients|}}}|<nowiki/> | ||
− | + | <tr> | |
− | + | <td colspan="2" id="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">{{#if:{{#pos:{{lc:{{{source|}}}}}|produits artisanaux}} | Produits artisanaux | Fabrication }}</td> | |
+ | </tr> | ||
}}{{#if:{{{recipe|}}}|<nowiki/> | }}{{#if:{{{recipe|}}}|<nowiki/> | ||
− | + | <tr> | |
− | + | <td id="infoboxsection" class="no-wrap">Source de recette</td> | |
− | + | <td id="infoboxdetail">{{{recipe|}}}</td> | |
+ | </tr> | ||
}}{{#if:{{{craftingstation|}}}|<nowiki/> | }}{{#if:{{{craftingstation|}}}|<nowiki/> | ||
− | + | <tr> | |
− | + | <td id="infoboxsection">Équipement</td> | |
− | + | <td id="infoboxdetail">{{{craftingstation|}}}</td> | |
+ | </tr> | ||
}}{{#if:{{{crafttime|}}}|<nowiki/> | }}{{#if:{{{crafttime|}}}|<nowiki/> | ||
− | + | <tr> | |
− | + | <td id="infoboxsection" class="no-wrap">Temps de traitement </td> | |
− | Temps de traitement | + | <td id="infoboxdetail">{{duration|{{{crafttime|}}}}}</td> |
− | + | </tr> | |
}}{{#if:{{{ingredients|}}}|<nowiki/> | }}{{#if:{{{ingredients|}}}|<nowiki/> | ||
− | + | <tr> | |
− | + | <td id="infoboxsection">Ingrédients</td> | |
− | + | <td id="infoboxdetail">{{{ingredients|}}}</td> | |
− | }} | + | </tr> |
− | + | }}{{#if:{{{tingredients|}}}|<nowiki/> | |
− | + | <tr> | |
− | + | <td id="infoboxsection">[[File:Trapper.png|24px|link=]] Ingrédients de [[Compétences#Pêche|Trappeur]]</td> | |
+ | <td id="infoboxdetail">{{{tingredients|}}}</td> | ||
+ | </tr> | ||
}}{{#if:{{{produces|}}}|<nowiki/> | }}{{#if:{{{produces|}}}|<nowiki/> | ||
− | + | <tr> | |
− | + | <td id="infoboxsection">Produit</td> | |
− | + | <td id="infoboxdetail">{{{produces|}}}</td> | |
+ | </tr> | ||
}} | }} | ||
− | + | </table> | |
− | + | </div>{{InfoboxSEO}}}}</includeonly><noinclude>{{Englishdoc}}</noinclude> | |
− |
Version du 12 septembre 2023 à 16:15
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}}
Produit ...