「テンプレート:Infobox fruit tree」の版間の差分
ナビゲーションに移動
検索に移動
Margotbean (トーク | 投稿記録) |
Margotbean (トーク | 投稿記録) (fix for alternate sapling source, multiple seasons (please fix translation for "Sapling Source" as "苗木の源" if necessary!) |
||
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>{{#if:{{{debug mode|}}}||[[Category:果樹]]}}{{InfoboxSEO}}{{#seo: | |}</div>{{#if:{{{debug mode|}}}||[[Category:果樹]]}}{{InfoboxSEO}}{{#seo: | ||
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | |og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | ||
}}</includeonly><noinclude>{{englishdoc}}</noinclude> | }}</includeonly><noinclude>{{englishdoc}}</noinclude> | ||
+ | }}</noinclude> |
2020年12月28日 (月) 20:55時点における版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{Infobox fruit tree}}
結果は...
Infobox fruit tree | |
[[File:|center|link=]] | |
情報 | |
苗木: | 24px [[]] |
苗木価格: | 構文エラー: 予期しない演算子 < です。g |
苗木価格: | |
生産物: | 24px [[]] |
成長日数: | |
収獲期: | {{{season}}} |
Error: {{#seo:}} must contain at least one non-empty attribute.
}}</noinclude> }}