|
|
| (未显示2个用户的10个中间版本) |
| 第1行: |
第1行: |
| {{DISPLAYTITLE:{{PAGENAME}}}}<includeonly>{{#set:
| | <includeonly>{{Mainonly|{{DISPLAYTITLE:{{PAGENAME}}}}}}{{Infobox fruit |
| |Name={{{name|{{PAGENAME}}}}} | | |name = {{{name|}}} |
| |Eng={{English|{{{name|{{PAGENAME}}}}}}}
| | |eng = {{{eng|}}} |
| |ID={{ID|{{English|{{{name|{{PAGENAME}}}}}}}}}
| | |native = {{{native|{{Eng|{{{name|{{{eng|{{PAGENAME}}}}}}}}}}}}} |
| |Description={{{description|{{Description|{{PAGENAME}}}}}}} | | |description = {{{description|{{Description|{{{name|{{{eng|{{PAGENAME}}}}}}}}}}}}} |
| |Source={{{source|}}} | | |source = {{{source|}}} |
| |Location={{{location|}}}
| | |location = {{{location|}}} |
| |Seed={{{seed|}}} | | |seed = {{{seed|}}} |
| |Growth={{{growth}}}
| | |growth = {{{growth|}}} |
| |Buff={{{buff|}}}
| | |buff = {{{buff|}}} |
| |Duration={{{duration|}}}
| | |buffduration = {{{buffduration|}}} |
| |Edibility={{#iferror:{{#expr:{{{edibility|}}}}}||{{{edibility|}}}}}
| | |season = {{{season|}}} |
| |Sellprice={{#iferror:{{#expr:{{{sellprice|}}}}}||{{{sellprice|}}}}}
| | |xp = {{{xp|}}} |
| }}<!-- 模板代码从这里开始往下
| | |edibility = {{{edibility|}}} |
| -->{{#vardefine:item_id|{{ID|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}}<!--
| | |sellprice = {{{sellprice|}}} |
| -->{{#vardefine:item_id|{{#var:item_id|{{ID|{{{name|{{PAGENAME}}}}}}}}}}}<!--
| | |color = {{{color|}}} |
| --><div class="infoboxborder">
| | |quality = {{{quality|}}} |
| <table class="infoboxtable infobox{{#vardefineecho:infobox_count|{{#expr:{{#var:infobox_count|0}}+1}}}}" style="max-width: 350px;">
| | |tag = {{{tag|}}} |
| <tr>
| | }}</includeonly><noinclude>{{Documentation|content={{:Joja浆果}}}}</noinclude> |
| <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" style="overflow-wrap: anywhere; max-width: 280px;">{{#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> | |