“Template:Infobox fruit tree”的版本间的差异
跳到导航
跳到搜索
Margotbean(讨论 | 贡献) |
Margotbean(讨论 | 贡献) (fix for alternate sapling source, multiple seasons) |
||
第7行: | 第7行: | ||
|colspan="2" id="infoboxsection" style="text-align: center;"|信息 | |colspan="2" id="infoboxsection" style="text-align: center;"|信息 | ||
|- | |- | ||
− | |id="infoboxsection"|树苗 | + | |id="infoboxsection"|树苗 : |
|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"{{!}}树苗来源: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{altprice|}}} | ||
+ | | | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection" class="no-wrap" style="padding-left: 4px;"{{!}}[[File:Pierre Icon.png|24px|link=]] 树苗价格 : | ||
+ | {{!}}id="infoboxdetail"{{!}}{{price|{{#expr:4*{{{price|}}}}}}} | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection" class="no-wrap" style="padding-left: 4px;"{{!}}[[File:Traveling Cart Icon.png|24px|link=]] 树苗价格: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{tprice|{{{price|}}}}} }} | ||
|- | |- | ||
− | + | |id="infoboxsection"|出产 : | |
− | |||
− | |||
− | |id="infoboxsection"|出产 | ||
|id="infoboxdetail"|{{#if:{{{altproduce|}}} | {{name|{{{produce|}}}|link={{{altproduce|}}}}} | {{name|{{{produce|}}}}} }} | |id="infoboxdetail"|{{#if:{{{altproduce|}}} | {{name|{{{produce|}}}|link={{{altproduce|}}}}} | {{name|{{{produce|}}}}} }} | ||
|- | |- | ||
− | |id="infoboxsection"|成长时间 | + | |id="infoboxsection"|成长时间 : |
|id="infoboxdetail"|{{{growth|}}} | |id="infoboxdetail"|{{{growth|}}} | ||
|- | |- | ||
− | |id="infoboxsection"|丰收季节 | + | |id="infoboxsection"|丰收季节 : |
− | |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> |