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

模板:Infobox fruit/doc:修订间差异

来自星露谷物语扩展百科
删除的内容 添加的内容
SummerFleur留言 | 贡献
创建页面
SummerFleur留言 | 贡献
无编辑摘要
 
(未显示2个用户的3个中间版本)
第1行: 第1行:
{{documentation header}}
{{Documentation header}}
{{Infobox/doc|head|水果类物品}}
== 简介 ==
此模板(<code><nowiki>{{Infobox seed}}</nowiki></code>)是用于展示游戏中水果类物品的信息框,其基本用法为:

<pre>
<pre>
{{Infobox seed
{{Infobox fruit
|name = 杨桃种子 <!--中文名称-->
|name = 中文名称
|eng = Starfruit Seeds <!--英文名称-->
|eng = 英文名称
|source = 获取方式
|crop = {{Name|Starfruit}} <!--生长出的作物-->
|location = 地点,仅限于通过采集获得的水果
|growth = 13 天 <!--生长时间-->
|seed = 对应的种子,仅限于通过耕种或果树获得的水果
|season = {{Season|Summer}} <!--生长季节-->
|xp = {{Xp|43|farm}} <!--收获获得的经验值-->
|growth = 生长时间,仅限于通过耕种或果树获得的水果
|buff = 增益效果(若有,没有则留空)
|sellprice = 200 <!--基础售价-->
|buffduration = 增益时长(若有,没有则留空)
|gPrice = <!--皮埃尔杂货店的出售价格-->
|season = 生长季节
|jPrice = <!--Joja 超市的出售价格-->
|oPrice = {{Price|400}} <!--绿洲商店出售价格-->
|xp = 收获获得经验值
|edibility = 可食用性
|tPrice = {{tprice|200}} <!--猪车的出售价格-->
|sellprice = 基础售价
|iPrice = <!--姜岛商店的出售价格-->
|color = 颜色值
|nmday = <!--夜市魔法商船的出售日期-->
|quality = 是否具有品质,若没有,值为 false
|raccoon = <!--浣熊商店的出售价格-->
|tag = Wiki 内处理不同水果的识别标签
|otherprice = <!--其他地方的出售价格-->
|artisan = <!--是否可制成工匠物品,仅适用于向日葵种子和咖啡豆-->
|source = <!--其他来源,一般是打造-->
|recipe = <!--配方来源-->
|ingredients = <!--制作原料-->
|produces = <!--每次打造获得的数量,若只获得 1 个则留空-->
}}
}}
</pre>
</pre>


==示例==
==Tag 的用法==
Tag 主要用于区分该水果的来源,与游戏数据无关,主要用于方便模板进行类别辨认,不区分大小写。
===商店购买的种子===
{{Infobox seed
|name = 甜瓜种子
|eng = Melon Seeds
|crop = {{Name|Melon}}
|growth = 12 天
|season = {{Season|Summer}}
|xp = {{Xp|27|farm}}
|sellprice = 40
|gPrice = {{Price|80}}
|jPrice = {{Price|100}}
|tPrice = {{tprice|40}}
|nmday = 16
}}


根据逻辑,目前的水果分类大致可以分为以下三类:
<pre>
{{Infobox seed
|name = 甜瓜种子
|eng = Melon Seeds
|crop = {{Name|Melon}}
|growth = 12 天
|season = {{Season|Summer}}
|xp = {{Xp|27|farm}}
|sellprice = 40
|gPrice = {{Price|80}}
|jPrice = {{Price|100}}
|tPrice = {{tprice|40}}
|nmday = 16
}}
</pre>


# 通过耕种获得的水果,例如甜瓜、草莓,享受农耕人职业的 1.1 倍售价加成,Tag 值为空
{{clear}}
# 通过采集获得的水果,例如水晶果、香味浆果,不享受农耕人职业的 1.1 倍售价加成,Tag 值为 <code>forage</code>

# 通过种植果树获得的水果,例如桃子、橙子,享受农耕人职业的 1.1 倍售价加成,但是在树上生长,Tag 值为 <code>Tree</code>
===打造获得的种子===
{{Infobox seed
|name = 夏季种子
|displayname = 野生种子(夏季)
|eng = Summer Seeds
|crop = <nowiki/>
*{{Name|Spice Berry|class=inline}}&nbsp;{{Name|Grape|class=inline}}
*{{Name|Sweet Pea|class=inline}}
|growth = 7 天
|season = {{Season|Summer}}
|xp = {{Xp|3|采集}}与<br/>{{Xp|2|耕种}}
|sellprice = 55
|tPrice = {{tprice|55}}
|source = [[打造]]
|recipe = {{Skill level|forage|4}}
|ingredients = {{Name|Spice Berry|1}}{{Name|Grape|1}}{{Name|Sweet Pea|1}}
|produces = 10
}}

<pre>
{{Infobox seed
|name = 夏季种子
|displayname = 野生种子(夏季)
|eng = Summer Seeds
|crop = <nowiki/>
*{{Name|Spice Berry|class=inline}}&nbsp;{{Name|Grape|class=inline}}
*{{Name|Sweet Pea|class=inline}}
|growth = 7 天
|season = {{Season|Summer}}
|xp = {{Xp|3|采集}}与<br/>{{Xp|2|耕种}}
|sellprice = 55
|tPrice = {{tprice|55}}
|source = [[打造]]
|recipe = {{Skill level|forage|4}}
|ingredients = {{Name|Spice Berry|1}}{{Name|Grape|1}}{{Name|Sweet Pea|1}}
|produces = 10
}}
</pre>

可以看到售价那一栏不包含农耕人加成

{{clear}}

===咖啡豆===
{{Infobox seed
|name = 咖啡豆
|eng = Coffee Bean
|crop = [[File:Coffee Bean.png|24px|link=]] 咖啡豆
|growth = 10 天
|season = {{Season|Spring}} • {{Season|Summer}}
|xp = {{Xp|4|farm}}
|sellprice = 15
|gPrice =
|jPrice =
|tPrice = <nowiki/>
*{{price|2500}}(25%,秋季和冬季)
*{{tprice|15}}(1.26% 的概率,不限季节)
|artisan = y
|quality = true
}}

<pre>
{{Infobox seed
|name = 咖啡豆
|eng = Coffee Bean
|crop = [[File:Coffee Bean.png|24px|link=]] 咖啡豆
|growth = 10 天
|season = {{Season|Spring}} • {{Season|Summer}}
|xp = {{Xp|4|farm}}
|sellprice = 15
|gPrice =
|jPrice =
|tPrice = <nowiki/>
*{{price|2500}}(25%,秋季和冬季)
*{{tprice|15}}(1.26% 的概率,不限季节)
|artisan = y
|quality = true
}}
</pre>


==注意==
{{clear}}
*特殊产物(例如葡萄 → 葡萄干)在模板内进行特殊处理


==另见==
==另见==
{{Infobox see also}}
{{Infobox see also}}


<includeonly>
<includeonly>[[分类:文档页面]]</includeonly>
<!-- 页面分类 -->
[[分类:文档页面]]
</includeonly>
<noinclude>
</noinclude>

2026年1月28日 (三) 17:59的最新版本

[ 刷新 ]
当前页面是文档页面,会被模板:Infobox fruit引入。查看模板:Documentation获取更多信息。

简介

此模板({{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

注意

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

另见

普通

特殊