Différences entre versions de « Modèle:Infobox fruit tree »
Sauter à la navigation
Sauter à la recherche
(fix for alternate sapling source, multiple seasons) |
|||
Ligne 10 : | Ligne 10 : | ||
|id="infoboxdetail"|{{#if:{{{altsapling|}}} | {{name|{{{sapling|}}}|link={{{altsapling|}}}}} | {{name|{{{sapling|}}}}} }} | |id="infoboxdetail"|{{#if:{{{altsapling|}}} | {{name|{{{sapling|}}}|link={{{altsapling|}}}}} | {{name|{{{sapling|}}}}} }} | ||
|- | |- | ||
− | |id="infoboxsection" class="no-wrap" style="padding-left: 4px;" | + | {{#if:{{{altprice|}}} | |
− | + | {{!}}- | |
− | + | {{!}}id="infoboxsection"{{!}}Source(s) du jeune arbre : | |
− | + | {{!}}id="infoboxdetail"{{!}}{{{altprice|}}} | |
− | + | | | |
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection" class="no-wrap" style="padding-left: 4px;"{{!}}[[File:Pierre Icon.png|24px|link=]] Prix du jeune arbre : | ||
+ | {{!}}id="infoboxdetail"{{!}}{{price|{{#expr:4*{{{price|}}}}}}} | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection" class="no-wrap" style="padding-left: 4px;"{{!}}[[File:Traveling Cart Icon.png|24px|link=]] Prix du jeune arbre : | ||
+ | {{!}}id="infoboxdetail"{{!}}{{tprice|{{{price|}}}}} }} | ||
|- | |- | ||
|id="infoboxsection"|Produit : | |id="infoboxsection"|Produit : | ||
Ligne 23 : | Ligne 29 : | ||
|- | |- | ||
|id="infoboxsection"|Saison des récoltes : | |id="infoboxsection"|Saison des récoltes : | ||
− | |id="infoboxdetail"|{{Season|{{{season|}}}}} | + | |id="infoboxdetail"|{{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }} |
|} | |} | ||
</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 du 28 décembre 2020 à 20:46
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 fruit tree}}
Produit ...
Infobox fruit tree | |
[[File:|center|link=]] | |
Information | |
Jeune arbre : | 24px [[]] |
Prix du jeune arbre : | Erreur d’expression : opérateur < inattendu,po |
Prix du jeune arbre : | |
Produit : | 24px [[]] |
Temps de croissance : | |
Saison des récoltes : | {{{season}}} |
Erreur : {{#seo:}} doit contenir au moins un attribut non-vide.