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

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

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


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

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

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

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


==示例==
==示例==
===耕种获得水果===
===商店购买种子===
{{Infobox fruit
{{Infobox seed
|name = 甜瓜
|name = 甜瓜种子
|eng = Melon
|eng = Melon Seeds
|source = 耕种
|crop = {{Name|Melon}}
|seed = {{name|Melon Seeds}}
|growth = 12
|growth = 12天
|season = {{Season|Summer}}
|season = Summer
|xp = {{Xp|27|farm}}
|sellprice = 40
|xp = 27 [[耕种#经验值|耕种经验值]]
|gPrice = {{Price|80}}
|sellprice = 250
|jPrice = {{Price|100}}
|edibility = 45
|color = Pink
|tPrice = {{tprice|40}}
|nmday = 16
}}
}}
耕种获得的水果以甜瓜为例,使用以下代码,结果如右所示。


<pre>
<pre>
{{Infobox fruit
{{Infobox seed
|name = 甜瓜
|name = 甜瓜种子
|eng = Melon
|eng = Melon Seeds
|source = 耕种
|crop = {{Name|Melon}}
|seed = {{name|Melon Seeds}}
|growth = 12
|growth = 12天
|season = {{Season|Summer}}
|season = Summer
|xp = {{Xp|27|farm}}
|sellprice = 40
|xp = 27 [[耕种#经验值|耕种经验值]]
|gPrice = {{Price|80}}
|sellprice = 250
|jPrice = {{Price|100}}
|edibility = 45
|color = Pink
|tPrice = {{tprice|40}}
|nmday = 16
}}
}}
</pre>
</pre>
第65行: 第62行:
{{clear}}
{{clear}}


===采集获得的水果===
===打造获得的种子===
{{Infobox fruit
{{Infobox seed
|name = 水晶果
|name = 夏季种子
|displayname = 野生种子(夏季)
|eng = Crystal Fruit
|eng = Summer Seeds
|source = [[采集]] • [[冬季种子]] • [[灰尘精灵]]
|season = 冬季
|crop = <nowiki/>
*{{Name|Spice Berry|class=inline}}&nbsp;{{Name|Grape|class=inline}}
|xp = <nowiki />
*{{Name|Sweet Pea|class=inline}}
*[[采集]]:[[采集#经验点数|采集经验]] 7点
|growth = 7 天
*[[冬季种子]]:[[采集#经验点数|采集经验]] 7点
|season = {{Season|Summer}}
*[[灰尘精灵]]:无
|xp = {{Xp|3|采集}}与<br/>{{Xp|2|耕种}}
|sellprice = 150
|edibility = 25
|sellprice = 55
|color = Blue
|tPrice = {{tprice|55}}
|tag = forage
|source = [[打造]]
|recipe = {{Skill level|forage|4}}
|ingredients = {{Name|Spice Berry|1}}{{Name|Grape|1}}{{Name|Sweet Pea|1}}
|produces = 10
}}
}}
采集获得的水果以水晶果为例,使用以下代码,结果如右所示(移动端显示在上方)。


<pre>
<pre>
{{Infobox fruit
{{Infobox seed
|name = 水晶果
|name = 夏季种子
|displayname = 野生种子(夏季)
|eng = Crystal Fruit
|eng = Summer Seeds
|source = [[采集]] • [[冬季种子]] • [[灰尘精灵]]
|season = 冬季
|crop = <nowiki/>
*{{Name|Spice Berry|class=inline}}&nbsp;{{Name|Grape|class=inline}}
|xp = <nowiki />
*{{Name|Sweet Pea|class=inline}}
*[[采集]]:[[采集#经验点数|采集经验]] 7点
|growth = 7 天
*[[冬季种子]]:[[采集#经验点数|采集经验]] 7点
|season = {{Season|Summer}}
*[[灰尘精灵]]:无
|xp = {{Xp|3|采集}}与<br/>{{Xp|2|耕种}}
|sellprice = 150
|edibility = 25
|sellprice = 55
|color = Blue
|tPrice = {{tprice|55}}
|tag = forage
|source = [[打造]]
|recipe = {{Skill level|forage|4}}
|ingredients = {{Name|Spice Berry|1}}{{Name|Grape|1}}{{Name|Sweet Pea|1}}
|produces = 10
}}
}}
</pre>
</pre>
第103行: 第105行:
{{clear}}
{{clear}}


===树上获得的水果===
===咖啡豆===
{{Infobox fruit
{{Infobox seed
|name = 桃子
|name = 咖啡豆
|eng = Peach
|eng = Coffee Bean
|crop = [[File:Coffee Bean.png|24px|link=]] 咖啡豆
|source = [[桃子树]]
|growth = 28
|growth = 10
|season = Summer
|season = {{Season|Spring}} • {{Season|Summer}}
|xp = {{Xp|4|farm}}
|sellprice = 140
|seed = [[桃子树苗]]
|sellprice = 15
|edibility = 15
|gPrice =
|color = Pink
|jPrice =
|tag = Tree
|tPrice = <nowiki/>
*{{price|2500}}(25%,秋季和冬季)
*{{tprice|15}}(1.26% 的概率,不限季节)
|artisan = y
|quality = true
}}
}}
树上获得的水果以桃子为例,使用以下代码,结果如右所示(移动端显示在上方)


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

{{clear}}

===注意===
{{Infobox fruit
|name = 南瓜
|eng = Pumpkin
|seed = {{Name|Pumpkin Seeds}}
|growth = 13天
|season = Fall
|xp = 31 [[耕种#经验值|耕种经验值]]
|sellprice = 320
|edibility = -300
|color = Orange
|quality = false
}}
*这个模板理论上支持所有物品,比如可以使用以下代码来将南瓜“变”成不带有品质的水果,效果如右所示(移动端显示在上方)

<pre>
{{Infobox fruit
|name = 南瓜
|eng = Pumpkin
|seed = {{Name|Pumpkin Seeds}}
|growth = 13天
|season = Fall
|xp = 31 [[耕种#经验值|耕种经验值]]
|sellprice = 320
|edibility = -300
|color = Orange
|quality = false
}}
</pre>

*已经对葡萄的特殊产物(葡萄干)进行了特殊处理


{{clear}}
{{clear}}

2025年8月14日 (四) 11:21的版本

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

简介

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

{{Infobox seed
|name           = 杨桃种子              <!--中文名称-->
|eng            = Starfruit Seeds       <!--英文名称-->
|crop           = {{Name|Starfruit}}    <!--生长出的作物-->
|growth         = 13 天                 <!--生长时间-->
|season         = {{Season|Summer}}     <!--生长季节-->
|xp             = {{Xp|43|farm}}        <!--收获获得的经验值-->
|sellprice      = 200                   <!--基础售价-->
|gPrice         =                       <!--皮埃尔杂货店的出售价格-->
|jPrice         =                       <!--Joja 超市的出售价格-->
|oPrice         = {{Price|400}}         <!--绿洲商店的出售价格-->
|tPrice         = {{tprice|200}}        <!--猪车的出售价格-->
|iPrice         =                       <!--姜岛商店的出售价格-->
|nmday          =                       <!--夜市魔法商船的出售日期-->
|raccoon        =                       <!--浣熊商店的出售价格-->
|otherprice     =                       <!--其他地方的出售价格-->
|artisan        =                       <!--是否可制成工匠物品,仅适用于向日葵种子和咖啡豆-->
|source         =                       <!--其他来源,一般是打造-->
|recipe         =                       <!--配方来源-->
|ingredients    =                       <!--制作原料-->
|produces       =                       <!--每次打造获得的数量,若只获得 1 个则留空-->
}}

示例

商店购买的种子

甜瓜种子
Melon Seeds
夏天播种。12 天成熟。
信息
作物 甜瓜
成熟需 12 天
季节  夏季
经验值 27 点 耕种经验值
售出价格 40
购买价格
杂货店 80
Joja超市 100
旅行货车 模板:Tprice
夜市 80(冬季16日)
高级
物品编号(O)479
{{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
}}

打造获得的种子

夏季种子
Summer Seeds
各种各样的夏季种子。
信息
来源 打造
作物
成熟需 7 天
季节  夏季
经验值 3 点 采集经验值
2 点 耕种经验值
售出价格 55
购买价格
杂货店 不出售
Joja超市 不出售
旅行货车 模板:Tprice
打造
配方来源 采集 4 级
所需原料 香味浆果(1) 葡萄(1) 甜豌豆(1)
产出 每次打造生产 10 份夏季种子
高级
物品编号(O)496
{{Infobox seed
|name           = 夏季种子
|displayname    = 野生种子(夏季)
|eng            = Summer Seeds
|crop           = <nowiki/>
*{{Name|Spice Berry|class=inline}} {{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
}}

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

咖啡豆

咖啡豆
Coffee Bean
在春季和夏季种植。在小桶里放五颗咖啡豆可以制作咖啡。
信息
作物 咖啡豆
成熟需 10 天
季节  春季 夏季
经验值 4 点 耕种经验值
售出价格
15
18
22
30
购买价格
杂货店 不出售
Joja超市 不出售
旅行货车
  • 2,500(25%,秋季和冬季)
  • 模板:Tprice(1.26% 的概率,不限季节)
高级
物品编号(O)433
{{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
}}

另见

普通

特殊