模板:Expanded/Infobox fruit:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
SummerFleur(留言 | 贡献) 模板重构 |
m 文字替换 -“content={{SVE:”替换为“content={{:” |
||
| (未显示2个用户的12个中间版本) | |||
| 第1行: | 第1行: | ||
{{DISPLAYTITLE:{{PAGENAME}}}} |
<includeonly>{{Mainonly|{{DISPLAYTITLE:{{PAGENAME}}}}}}{{Infobox fruit |
||
| |
|name = {{{name|}}} |
||
|eng = {{{eng|}}} |
|||
|Eng={{English|{{{name|{{PAGENAME}}}}}}} |
|||
| |
|native = {{{native|{{Eng|{{{name|{{{eng|{{PAGENAME}}}}}}}}}}}}} |
||
| |
|description = {{{description|{{Description|{{{name|{{{eng|{{PAGENAME}}}}}}}}}}}}} |
||
| |
|source = {{{source|}}} |
||
| |
|location = {{{location|}}} |
||
| |
|seed = {{{seed|}}} |
||
| |
|growth = {{{growth|}}} |
||
| |
|buff = {{{buff|}}} |
||
| |
|buffduration = {{{buffduration|}}} |
||
|season = {{{season|}}} |
|||
|Edibility={{#iferror:{{#expr:{{{edibility|}}}}}||{{{edibility|}}}}} |
|||
|xp = {{{xp|}}} |
|||
|Sellprice={{#iferror:{{#expr:{{{sellprice|}}}}}||{{{sellprice|}}}}} |
|||
|edibility = {{{edibility|}}} |
|||
}}<!-- 模板代码从这里开始往下 |
|||
|sellprice = {{{sellprice|}}} |
|||
-->{{#vardefine:item_id|{{ID|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}}<!-- |
|||
|color = {{{color|}}} |
|||
-->{{#vardefine:item_id|{{#var:item_id|{{ID|{{{name|{{PAGENAME}}}}}}}}}}}<!-- |
|||
|quality = {{{quality|}}} |
|||
--><div class="infoboxborder"> |
|||
|tag = {{{tag|}}} |
|||
<table class="infoboxtable infobox{{#vardefineecho:infobox_count|{{#expr:{{#var:infobox_count|0}}+1}}}}" style="max-width: 350px;"> |
|||
}}</includeonly><noinclude>{{Documentation|content={{:Joja浆果}}}}</noinclude> |
|||
<tr> |
|||
<td colspan="2" class="{{#if: {{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}|infoboxheader infoboxheader-zh|infoboxheader}}">{{{name|{{PAGENAME}}}}}</td> |
|||
</tr> |
|||
{{#if: {{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}| |
|||
<tr> |
|||
<td colspan="2" class="infoboxheader infoboxheader-en">{{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}</td> |
|||
</tr>|}} |
|||
<tr> |
|||
<td colspan="2" style="padding-bottom: 5px; text-align: center;">[[File:{{{eng|Blank icon}}}{{#if:{{{ext|}}}|.{{{ext|}}}|.png}}|link=]]{{#if:{{{image2|}}}|{{#ifeq:{{lc:{{{image2spacing|}}}}}|true| | }}[[File:{{{image2|}}}.png|link=]]|}}{{#if:{{{image3|}}}| [[File:{{{image3|}}}.png|link=]]|}}{{#if:{{{image4|}}}| [[File:{{{image4|}}}.png|link=]]|}}{{#if:{{{image5|}}}| [[File:{{{image5|}}}.png|link=]]|}}</td> |
|||
</tr> |
|||
<tr> |
|||
<td colspan="2" class="infoboxdetail">{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{{name|{{PAGENAME}}}}}}}}}</td> |
|||
</tr> |
|||
<tr> |
|||
<td colspan="2" class="infoboxsection">信息</td> |
|||
</tr> |
|||
{{#if:{{{source|}}}|<nowiki/> |
|||
<tr> |
|||
<td class="infoboxsection">来源</td> |
|||
<td class="infoboxdetail">{{{source|}}}</td> |
|||
</tr> |
|||
}}{{#if:{{{location|}}}|<nowiki/> |
|||
<tr> |
|||
<td class="infoboxsection">地点</td> |
|||
<td class="infoboxdetail">{{{location|}}}</td> |
|||
</tr> |
|||
}}{{#if:{{{seed|}}}|<nowiki/> |
|||
<tr> |
|||
<td class="infoboxsection">种子</td> |
|||
<td class="infoboxdetail">{{{seed|}}}</td> |
|||
</tr> |
|||
}}{{#if:{{{growth|}}}|<nowiki/> |
|||
<tr> |
|||
<td class="infoboxsection">成熟需</td> |
|||
<td class="infoboxdetail">{{{growth|}}}</td> |
|||
</tr> |
|||
}}{{#if:{{{buff|}}}|<nowiki/> |
|||
<tr> |
|||
<td class="infoboxsection">增益效果</td> |
|||
<td class="infoboxdetail">{{{buff|}}}</td> |
|||
</tr> |
|||
}}{{#if:{{{buffduration|}}}|<nowiki/> |
|||
<tr> |
|||
<td class="infoboxsection">持续时间</td> |
|||
<td class="infoboxdetail">{{duration|{{{buffduration|}}}}}</td> |
|||
</tr> |
|||
}}{{#if:{{{season|}}}|<nowiki/> |
|||
<tr> |
|||
<td class="infoboxsection">{{#switch:{{lc:{{{tag|}}}}} |
|||
|tree = 丰收季节 |
|||
|#default = 季节}}</td> |
|||
<td class="infoboxdetail">{{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }}</td> |
|||
</tr> |
|||
}}{{#if:{{{xp|}}}|<nowiki /> |
|||
<tr> |
|||
<td class="infoboxsection">经验值</td> |
|||
<td class="infoboxdetail">{{{xp|}}}</td> |
|||
</tr> |
|||
}}{{#if:{{{edibility|}}}|<nowiki /> |
|||
<tr> |
|||
{{#switch:{{lc:{{{edibility|}}}}} |
|||
|-300 = |
|||
<td class="infoboxsection">能量</td> |
|||
<td class="infoboxdetail">不可食用</td> |
|||
|#default = |
|||
<td class="infoboxsection">[[能量]] / [[生命值]]</td> |
|||
<td class="infoboxdetail"> |
|||
{{#switch:{{lc:{{{quality|}}}}} |
|||
|false = {{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|quality=normal|dsv=false}} |
|||
|#default = {{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|dsv=false}} |
|||
}} |
|||
</td> |
|||
</tr> |
|||
}} }}{{#if:{{{sellprice|}}} |<nowiki /> |
|||
<tr> |
|||
<!-- 先根据 Tag 判断基础售价 --> |
|||
{{#switch:{{lc:{{{tag|}}}}} |
|||
|forage = <!-- 采集 --> |
|||
{{#switch:{{lc:{{{quality|}}}}} |
|||
|false = |
|||
<td class="infoboxsection">售出价格</td> |
|||
<td class="infoboxdetail">{{Price|{{{sellprice|}}}}}</td> |
|||
|#default = |
|||
<td class="infoboxsection">售出价格</td> |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|dsv=false}}</td>}} |
|||
|bush = <!-- 灌木丛 --> |
|||
<td colspan="2" style="padding: 0; border: 0;"> |
|||
<table style="width: 101%; margin-top: -2px; margin-left: -2px;"> |
|||
<tr> |
|||
<td colspan="2" class="infoboxsection">售出价格</td> |
|||
</tr> |
|||
<tr> |
|||
<td class="infoboxsection">基础售价</td> |
|||
<td class="infoboxsection no-wrap">[[File:Bear's Knowledge.png|24px|link=]] [[熊的知识]](×3)</td> |
|||
</tr> |
|||
<tr> |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|dsv=false}}</td> |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|pm=3|dsv=false}}</td> |
|||
</tr> |
|||
<tr> |
|||
<td class="infoboxsection no-wrap">[[File:Tiller.png|24px|link=]] [[技能#耕种|农耕人]](×1.1)</td> |
|||
<td class="infoboxsection no-wrap">[[File:Tiller.png|24px|link=]]+[[File:Bear's Knowledge.png|24px|link=]](×3.3)</td> |
|||
</tr> |
|||
<tr> |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|hide=silver,gold|pm=1.1|dsv=false}}</td> |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|hide=silver,gold|pm=3.3|dsv=false}}</td> |
|||
</tr> |
|||
</table> |
|||
</td> |
|||
|coconut = <!-- 椰子 --> |
|||
<td colspan="2" style="padding: 0; border: 0;"> |
|||
<table style="width: 101%; margin-top: -2px; margin-left: -2px;"> |
|||
<tr> |
|||
<td colspan="2" class="infoboxsection">售出价格</td> |
|||
</tr> |
|||
<tr> |
|||
<td class="infoboxsection">基础售价</td> |
|||
<td class="infoboxsection no-wrap">[[File:Tiller.png|24px|link=]] [[技能#耕种|农耕人]](×1.1)</td> |
|||
</tr> |
|||
<tr> |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|dsv=false}}</td> |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|hide=silver,gold|pm=1.1|dsv=false}}</td> |
|||
</tr> |
|||
</table> |
|||
</td> |
|||
|#default = <!-- 默认 --> |
|||
<td colspan="2" style="padding: 0; border: 0;"> |
|||
<table style="width: 101%; margin-top: -2px; margin-left: -2px;"> |
|||
<tr> |
|||
<td colspan="2" class="infoboxsection">售出价格</td> |
|||
</tr> |
|||
<tr> |
|||
<td class="infoboxsection">基础售价</td> |
|||
<td class="infoboxsection no-wrap">[[File:Tiller.png|24px|link=]] [[技能#耕种|农耕人]](×1.1)</td> |
|||
</tr> |
|||
<tr> |
|||
{{#switch:{{lc:{{{quality|}}}}} |
|||
|false = |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|quality=0|dsv=false}}</td> |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|quality=0|pm=1.1|dsv=false}}</td> |
|||
|#default = |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|dsv=false}}</td> |
|||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|pm=1.1|dsv=false}}</td> |
|||
}} |
|||
</tr> |
|||
</table> |
|||
</td> |
|||
</tr> |
|||
}} |
|||
<!-- 然后计算制成品售价 --> |
|||
<tr> |
|||
<td colspan="2" style="padding: 0; border: 0;"> |
|||
<table style="width: 101%; margin: -2px;"> |
|||
<tr> |
|||
<td colspan="3" class="infoboxsection">制成品售出价格</td> |
|||
</tr> |
|||
<tr> |
|||
<td class="infoboxsection" style="width: 30%; text-align: left;">处理设备</td> |
|||
<td class="infoboxsection">基础售价</td> |
|||
<td class="infoboxsection no-wrap">[[File:Artisan.png|24px|link=]] [[技能#耕种|工匠]](×1.4)</td> |
|||
</tr> |
|||
<tr> <!-- 果酒 --> |
|||
<td class="infoboxsection">[[File:Keg.png|16px|link=]] [[小桶]] 和<br />[[File:Cask.png|16px|link=]] [[木桶]]</td> |
|||
<td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Wine|{{{sellprice|}}}|dsv=false}}</td> |
|||
<td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Wine|{{{sellprice|}}}|pm=1.4|dsv=false}}</td> |
|||
</tr> |
|||
<tr> <!-- 果酱 --> |
|||
<td class="infoboxsection">[[File:Preserves Jar.png|16px|link=]] [[罐头瓶]]</td> |
|||
<td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Jelly|{{{sellprice|}}}|dsv=false|quality=0}}</td> |
|||
<td>{{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Jelly|{{{sellprice|}}}|pm=1.4|dsv=false|quality=0}}</td> |
|||
</tr> |
|||
<tr> <!-- 果干,对葡萄干特殊处理 --> |
|||
<td class="infoboxsection">[[File:Dehydrator.png|16px|link=]] [[烘干机]]</td> |
|||
<td>{{#switch:{{lc:{{{eng|}}}}} |
|||
|grape = {{Qualityprice|Raisins|600|dsv=false|quality=0}} |
|||
|#default = {{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Dried_Fruit|{{{sellprice|}}}|dsv=false|quality=0}} }} |
|||
</td> |
|||
<td>{{#switch:{{lc:{{{eng|}}}}} |
|||
|grape = {{Qualityprice|Raisins|600|dsv=false|quality=0|pm=1.4}} |
|||
|#default = {{Qualityprice|{{#if:{{{color|}}}|{{{color|}}}_|}}Dried_Fruit|{{{sellprice|}}}|dsv=false|quality=0|pm=1.4}} }} |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
</td> |
|||
</tr> |
|||
}} |
|||
{{#if:{{#var:item_id}}| |
|||
<tr> |
|||
<td colspan="2" class="infoboxsection">高级</td> |
|||
</tr> |
|||
<tr> |
|||
<td class="infoboxsection">物品编号</td> |
|||
<td class="infoboxdetail consolas">{{#var:item_id}}</td> |
|||
</tr> |
|||
}} |
|||
</table> |
|||
</div>{{InfoboxSEO}}{{InfoboxCategory}}</includeonly><noinclude>{{SVE 模板}} |
|||
==示例== |
|||
{{Infobox fruit/SVE |
|||
|name = 熊果 |
|||
|eng = Bearberrys |
|||
|source = [[采集]] • [[远古斑点]] |
|||
|location = [[秘密森林]] |
|||
|season = Winter |
|||
|sellprice = 55 |
|||
|edibility = 15 |
|||
|color = red |
|||
|tag = forage |
|||
}}</noinclude> |
|||
2025年12月22日 (一) 15:07的最新版本
| Joja浆果 | ||||||||||||||||||||||||||||||||||||||||
| Joja Berry | ||||||||||||||||||||||||||||||||||||||||
| 一种魔法改良的浆果(MMO)。味道令人惊叹,价格也十分昂贵。 | ||||||||||||||||||||||||||||||||||||||||
| 信息 | ||||||||||||||||||||||||||||||||||||||||
| 来源 | 耕种 | |||||||||||||||||||||||||||||||||||||||
| 种子 | ||||||||||||||||||||||||||||||||||||||||
| 成熟需 | 25 天 | |||||||||||||||||||||||||||||||||||||||
| 季节 | ||||||||||||||||||||||||||||||||||||||||
| 经验值 | 41 点 |
|||||||||||||||||||||||||||||||||||||||
| 能量 / 生命值 |
|
|||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
| 高级 | ||||||||||||||||||||||||||||||||||||||||
| 物品编号 | (O)FlashShifter.StardewValleyExpandedCP_Joja_Berry | |||||||||||||||||||||||||||||||||||||||
