打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Infobox fruit:修订间差异

来自星露谷物语扩展百科
Sizau留言 | 贡献
无编辑摘要
Sizau留言 | 贡献
更新
第4行: 第4行:
<table class="infoboxtable" style="max-width: 350px;">
<table class="infoboxtable" style="max-width: 350px;">
<tr class="infoboxtitle">
<tr class="infoboxtitle">
<td colspan="2" class="{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}|infoboxheader infoboxheader-zh|infoboxheader}}" data-category="{{{cat|{{Category|name|{{{name|}}}}}}}}" style="--category-color: {{{cat2|{{Category|color|{{{name|}}}}}}}}">{{{name|{{PAGENAME}}}}}</td>
<td colspan="2" class="infoboxheader" data-category="{{{cat|{{Category|name|{{{name|}}}}}}}}" style="--category-color: {{{cat2|{{Category|color|{{{name|}}}}}}}}">{{{name|{{PAGENAME}}}}}</td>
</tr>
</tr>
{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}|
{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}|
<tr class="infoboxtitle">
<tr class="infoboxtitle">
<td colspan="2" class="infoboxheader infoboxheader-en">{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}</td>
<td colspan="2" class="infoboxheader">{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}</td>
</tr>|}}
</tr>|}}
<tr>
<tr>
<td colspan="2" style="padding-bottom: 5px; text-align: center;">[[File:{{{eng|Blank icon}}}{{#if:{{{ext|}}}|.{{{ext|}}}|.png}}|link=]]</td>
<td colspan="2">[[File:{{{eng|Blank icon}}}{{#if:{{{ext|}}}|.{{{ext|}}}|.png}}|link=]]</td>
</tr>
</tr>
<tr>
<tr>
第89行: 第89行:
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|dsv=false}}</td>}}
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|dsv=false}}</td>}}
|bush = <!-- 灌木丛 -->
|bush = <!-- 灌木丛 -->
<td colspan="2" style="padding: 0; border: 0;">
<td colspan="2" class="subtable">
<table style="width: 101%; margin-top: -2px; margin-left: -2px;">
<table>
<tr>
<tr>
<td colspan="2" class="infoboxsection">售出价格</td>
<td colspan="2" class="infoboxsection">售出价格</td>
第113行: 第113行:
</td>
</td>
|coconut = <!-- 椰子 -->
|coconut = <!-- 椰子 -->
<td colspan="2" style="padding: 0; border: 0;">
<td colspan="2" class="subtable">
<table style="width: 101%; margin-top: -2px; margin-left: -2px;">
<table>
<tr>
<tr>
<td colspan="2" class="infoboxsection">售出价格</td>
<td colspan="2" class="infoboxsection">售出价格</td>
第129行: 第129行:
</td>
</td>
|#default = <!-- 默认 -->
|#default = <!-- 默认 -->
<td colspan="2" style="padding: 0; border: 0;">
<td colspan="2" class="subtable">
<table style="width: 101%; margin-top: -2px; margin-left: -2px;">
<table>
<tr>
<tr>
<td colspan="2" class="infoboxsection">售出价格</td>
<td colspan="2" class="infoboxsection">售出价格</td>
第153行: 第153行:
<!-- 然后计算制成品售价 -->
<!-- 然后计算制成品售价 -->
<tr>
<tr>
<td colspan="2" style="padding: 0; border: 0;">
<td colspan="2" class="subtable">
<table style="width: 101%; margin: -2px;">
<table>
<tr>
<tr>
<td colspan="3" class="infoboxsection">制成品售出价格</td>
<td colspan="3" class="infoboxsection">制成品售出价格</td>
第187行: 第187行:
</td>
</td>
</tr>
</tr>
}}
}}{{#if:{{#var:item_id}}|<nowiki />
{{#if:{{#var:item_id}}|
<tr>
<tr>
<td colspan="2" class="infoboxsection">高级</td>
<td colspan="2" class="infoboxsection">高级</td>
第194行: 第193行:
<tr>
<tr>
<td class="infoboxsection">物品编号</td>
<td class="infoboxsection">物品编号</td>
<td class="infoboxdetail consolas" style="overflow-wrap: anywhere;">{{#var:item_id}}</td>
<td class="infoboxdetail consolas">{{#var:item_id}}</td>
</tr>
</tr>}}
}}
</table>
</table>
</div>{{InfoboxSEO}}</includeonly><noinclude>{{Documentation}}</noinclude>
</div>{{InfoboxSEO}}</includeonly><noinclude>{{Documentation}}</noinclude>

2025年9月9日 (二) 19:36的版本

[ 查看 | 编辑 | 历史 | 刷新 ]文档页面

简介

此模板({{Infobox fruit}})是用于展示游戏中水果类物品的信息框,其基本用法为:

{{Infobox fruit
|name         = 中文名称
|eng          = 英文名称
|source       = 获取方式
|location     = 地点,仅限于通过采集获得的水果
|seed         = 对应的种子,仅限于通过耕种或果树获得的水果
|growth       = 生长时间,仅限于通过耕种或果树获得的水果
|buff         = 增益效果(若有,没有则留空)
|buffduration = 增益时长(若有,没有则留空)
|season       = 生长季节
|xp           = 收获获得的经验值
|edibility    = 可食用性
|sellprice    = 基础售价
|color        = 颜色值
|quality      = 是否具有品质,若没有,值为 false
|tag          = Wiki 内处理不同水果的识别标签
}}

Tag 的用法

Tag 主要用于区分该水果的来源,与游戏数据无关,主要用于方便模板进行类别辨认,不区分大小写。

根据逻辑,目前的水果分类大致可以分为以下三类:

  1. 通过耕种获得的水果,例如甜瓜、草莓,享受农耕人职业的 1.1 倍售价加成,Tag 值为空
  2. 通过采集获得的水果,例如水晶果、香味浆果,不享受农耕人职业的 1.1 倍售价加成,Tag 值为 forage
  3. 通过种植果树获得的水果,例如桃子、橙子,享受农耕人职业的 1.1 倍售价加成,但是在树上生长,Tag 值为 Tree

注意

  • 特殊产物(例如葡萄 → 葡萄干)在模板内进行特殊处理

另见

普通

特殊

[ 查看 | 编辑 | 历史 | 刷新 ]上述文档的内容来自模板:Infobox fruit/doc