模板:Infobox fruit/doc:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
SummerFleur(留言 | 贡献) 创建页面 |
SummerFleur(留言 | 贡献) m 撤销SummerFleur(讨论)的版本123353 |
||
| 第1行: | 第1行: | ||
{{documentation header}} |
{{documentation header}} |
||
== 简介 == |
== 简介 == |
||
此模板(<code><nowiki>{{Infobox |
此模板(<code><nowiki>{{Infobox fruit}}</nowiki></code>)是用于展示游戏中水果类物品的信息框,其基本用法为: |
||
<pre> |
<pre> |
||
{{Infobox |
{{Infobox fruit |
||
|name |
|name = 甜瓜 <!--中文名称--> |
||
|eng |
|eng = Melon <!--英文名称--> |
||
| |
|source = 耕种 <!--获取方式--> |
||
| |
|location = <!--地点,仅限于通过采集获得的水果--> |
||
| |
|seed = {{name|Melon Seeds}} <!--对应的种子,仅限于通过耕种或果树获得的水果--> |
||
| |
|growth = 12 天 <!--生长时间,仅限于通过耕种或果树获得的水果--> |
||
| |
|buff = <!--增益效果(若有,没有则留空)--> |
||
| |
|buffduration = <!--增益时长(若有,没有则留空)--> |
||
| |
|season = Summer <!--生长季节--> |
||
| |
|xp = 27 [[耕种#经验值|耕种经验值]] <!--收获获得的经验值--> |
||
| |
|edibility = 45 <!--可食用性--> |
||
| |
|sellprice = 250 <!--基础售价--> |
||
| |
|color = Pink <!--颜色值--> |
||
| |
|quality = <!--是否具有品质,若没有,值为 false--> |
||
| |
|tag = <!--Wiki 内处理不同水果的识别标签--> |
||
|artisan = <!--是否可制成工匠物品,仅适用于向日葵种子和咖啡豆--> |
|||
|source = <!--其他来源,一般是打造--> |
|||
|recipe = <!--配方来源--> |
|||
|ingredients = <!--制作原料--> |
|||
|produces = <!--每次打造获得的数量,若只获得 1 个则留空--> |
|||
}} |
}} |
||
</pre> |
</pre> |
||
===Tag 的用法=== |
|||
Tag 主要用于区分该水果的来源,与游戏数据无关,主要用于方便模板进行类别辨认。 |
|||
根据逻辑,目前的水果分类大致可以分为以下三类: |
|||
# 通过耕种获得的水果,例如甜瓜、草莓,享受农耕人职业的 1.1 倍售价加成,Tag 值为空; |
|||
# 通过采集获得的水果,例如水晶果、香味浆果,不享受农耕人职业的 1.1 倍售价加成,Tag 值 == Forage; |
|||
# 通过种植果树获得的水果,例如桃子、橙子,享受农耕人职业的 1.1 倍售价加成,但是在树上生长,Tag 值 == Tree。 |
|||
==示例== |
==示例== |
||
=== |
===耕种获得的水果=== |
||
{{Infobox |
{{Infobox fruit |
||
|name |
|name = 甜瓜 |
||
|eng |
|eng = Melon |
||
| |
|source = 耕种 |
||
| |
|seed = {{name|Melon Seeds}} |
||
| |
|growth = 12天 |
||
| |
|season = Summer |
||
|xp = 27 [[耕种#经验值|耕种经验值]] |
|||
|sellprice = 40 |
|||
|sellprice = 250 |
|||
|gPrice = {{Price|80}} |
|||
|edibility = 45 |
|||
|jPrice = {{Price|100}} |
|||
| |
|color = Pink |
||
|nmday = 16 |
|||
}} |
}} |
||
耕种获得的水果以甜瓜为例,使用以下代码,结果如右所示。 |
|||
<pre> |
<pre> |
||
{{Infobox |
{{Infobox fruit |
||
|name |
|name = 甜瓜 |
||
|eng |
|eng = Melon |
||
| |
|source = 耕种 |
||
| |
|seed = {{name|Melon Seeds}} |
||
| |
|growth = 12天 |
||
| |
|season = Summer |
||
|xp = 27 [[耕种#经验值|耕种经验值]] |
|||
|sellprice = 40 |
|||
|sellprice = 250 |
|||
|gPrice = {{Price|80}} |
|||
|edibility = 45 |
|||
|jPrice = {{Price|100}} |
|||
| |
|color = Pink |
||
|nmday = 16 |
|||
}} |
}} |
||
</pre> |
</pre> |
||
| 第62行: | 第65行: | ||
{{clear}} |
{{clear}} |
||
=== |
===采集获得的水果=== |
||
{{Infobox |
{{Infobox fruit |
||
|name |
|name = 水晶果 |
||
|eng = Crystal Fruit |
|||
|displayname = 野生种子(夏季) |
|||
|source = [[采集]] • [[冬季种子]] • [[灰尘精灵]] |
|||
|eng = Summer Seeds |
|||
| |
|season = 冬季 |
||
|xp = <nowiki /> |
|||
*{{Name|Spice Berry|class=inline}} {{Name|Grape|class=inline}} |
|||
*[[采集]]:[[采集#经验点数|采集经验]] 7点 |
|||
*{{Name|Sweet Pea|class=inline}} |
|||
*[[冬季种子]]:[[采集#经验点数|采集经验]] 7点 |
|||
|growth = 7 天 |
|||
*[[灰尘精灵]]:无 |
|||
|season = {{Season|Summer}} |
|||
|sellprice = 150 |
|||
|xp = {{Xp|3|采集}}与<br/>{{Xp|2|耕种}} |
|||
| |
|edibility = 25 |
||
| |
|color = Blue |
||
| |
|tag = forage |
||
|recipe = {{Skill level|forage|4}} |
|||
|ingredients = {{Name|Spice Berry|1}}{{Name|Grape|1}}{{Name|Sweet Pea|1}} |
|||
|produces = 10 |
|||
}} |
}} |
||
采集获得的水果以水晶果为例,使用以下代码,结果如右所示(移动端显示在上方)。 |
|||
<pre> |
<pre> |
||
{{Infobox |
{{Infobox fruit |
||
|name |
|name = 水晶果 |
||
|eng = Crystal Fruit |
|||
|displayname = 野生种子(夏季) |
|||
|source = [[采集]] • [[冬季种子]] • [[灰尘精灵]] |
|||
|eng = Summer Seeds |
|||
| |
|season = 冬季 |
||
|xp = <nowiki /> |
|||
*{{Name|Spice Berry|class=inline}} {{Name|Grape|class=inline}} |
|||
*[[采集]]:[[采集#经验点数|采集经验]] 7点 |
|||
*{{Name|Sweet Pea|class=inline}} |
|||
*[[冬季种子]]:[[采集#经验点数|采集经验]] 7点 |
|||
|growth = 7 天 |
|||
*[[灰尘精灵]]:无 |
|||
|season = {{Season|Summer}} |
|||
|sellprice = 150 |
|||
|xp = {{Xp|3|采集}}与<br/>{{Xp|2|耕种}} |
|||
| |
|edibility = 25 |
||
| |
|color = Blue |
||
| |
|tag = forage |
||
|recipe = {{Skill level|forage|4}} |
|||
|ingredients = {{Name|Spice Berry|1}}{{Name|Grape|1}}{{Name|Sweet Pea|1}} |
|||
|produces = 10 |
|||
}} |
}} |
||
</pre> |
</pre> |
||
| 第105行: | 第103行: | ||
{{clear}} |
{{clear}} |
||
=== |
===树上获得的水果=== |
||
{{Infobox |
{{Infobox fruit |
||
|name |
|name = 桃子 |
||
|eng |
|eng = Peach |
||
|source = [[桃子树]] |
|||
|crop = [[File:Coffee Bean.png|24px|link=]] 咖啡豆 |
|||
|growth |
|growth = 28 天 |
||
|season |
|season = Summer |
||
|sellprice = 140 |
|||
|xp = {{Xp|4|farm}} |
|||
| |
|seed = [[桃子树苗]] |
||
| |
|edibility = 15 |
||
| |
|color = Pink |
||
| |
|tag = Tree |
||
*{{price|2500}}(25%,秋季和冬季) |
|||
*{{tprice|15}}(1.26% 的概率,不限季节) |
|||
|artisan = y |
|||
|quality = true |
|||
}} |
}} |
||
树上获得的水果以桃子为例,使用以下代码,结果如右所示(移动端显示在上方) |
|||
<pre> |
<pre> |
||
{{Infobox |
{{Infobox fruit |
||
|name |
|name = 桃子 |
||
|eng |
|eng = Peach |
||
|source = [[桃子树]] |
|||
|crop = [[File:Coffee Bean.png|24px|link=]] 咖啡豆 |
|||
|growth |
|growth = 28 天 |
||
|season |
|season = Summer |
||
|sellprice = 140 |
|||
|xp = {{Xp|4|farm}} |
|||
| |
|seed = [[桃子树苗]] |
||
| |
|edibility = 15 |
||
| |
|color = Pink |
||
| |
|tag = Tree |
||
*{{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}})是用于展示游戏中水果类物品的信息框,其基本用法为:
{{Infobox fruit
|name = 甜瓜 <!--中文名称-->
|eng = Melon <!--英文名称-->
|source = 耕种 <!--获取方式-->
|location = <!--地点,仅限于通过采集获得的水果-->
|seed = {{name|Melon Seeds}} <!--对应的种子,仅限于通过耕种或果树获得的水果-->
|growth = 12 天 <!--生长时间,仅限于通过耕种或果树获得的水果-->
|buff = <!--增益效果(若有,没有则留空)-->
|buffduration = <!--增益时长(若有,没有则留空)-->
|season = Summer <!--生长季节-->
|xp = 27 [[耕种#经验值|耕种经验值]] <!--收获获得的经验值-->
|edibility = 45 <!--可食用性-->
|sellprice = 250 <!--基础售价-->
|color = Pink <!--颜色值-->
|quality = <!--是否具有品质,若没有,值为 false-->
|tag = <!--Wiki 内处理不同水果的识别标签-->
}}
Tag 的用法
Tag 主要用于区分该水果的来源,与游戏数据无关,主要用于方便模板进行类别辨认。
根据逻辑,目前的水果分类大致可以分为以下三类:
- 通过耕种获得的水果,例如甜瓜、草莓,享受农耕人职业的 1.1 倍售价加成,Tag 值为空;
- 通过采集获得的水果,例如水晶果、香味浆果,不享受农耕人职业的 1.1 倍售价加成,Tag 值 == Forage;
- 通过种植果树获得的水果,例如桃子、橙子,享受农耕人职业的 1.1 倍售价加成,但是在树上生长,Tag 值 == Tree。
示例
耕种获得的水果
| 甜瓜 | ||||||||||||||||||||||||||||||||||||||||
| Melon | ||||||||||||||||||||||||||||||||||||||||
| 凉爽香甜的夏日食品。 | ||||||||||||||||||||||||||||||||||||||||
| 信息 | ||||||||||||||||||||||||||||||||||||||||
| 来源 | 耕种 | |||||||||||||||||||||||||||||||||||||||
| 种子 | ||||||||||||||||||||||||||||||||||||||||
| 成熟需 | 12天 | |||||||||||||||||||||||||||||||||||||||
| 季节 | ||||||||||||||||||||||||||||||||||||||||
| 经验值 | 27 耕种经验值 | |||||||||||||||||||||||||||||||||||||||
| 能量 / 生命值 |
|
|||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
| 高级 | ||||||||||||||||||||||||||||||||||||||||
| 物品编号 | (O)254 | |||||||||||||||||||||||||||||||||||||||
耕种获得的水果以甜瓜为例,使用以下代码,结果如右所示。
{{Infobox fruit
|name = 甜瓜
|eng = Melon
|source = 耕种
|seed = {{name|Melon Seeds}}
|growth = 12天
|season = Summer
|xp = 27 [[耕种#经验值|耕种经验值]]
|sellprice = 250
|edibility = 45
|color = Pink
}}
采集获得的水果
| 水晶果 | ||||||||||||||||||||||||||||||||||||||||
| Crystal Fruit | ||||||||||||||||||||||||||||||||||||||||
| 一种在冬天出现的美味水果。 | ||||||||||||||||||||||||||||||||||||||||
| 信息 | ||||||||||||||||||||||||||||||||||||||||
| 来源 | 采集 • 冬季种子 • 灰尘精灵 | |||||||||||||||||||||||||||||||||||||||
| 季节 | ||||||||||||||||||||||||||||||||||||||||
| 经验值 | ||||||||||||||||||||||||||||||||||||||||
| 能量 / 生命值 |
|
|||||||||||||||||||||||||||||||||||||||
| 售出价格 |
|
|||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
| 高级 | ||||||||||||||||||||||||||||||||||||||||
| 物品编号 | (O)414 | |||||||||||||||||||||||||||||||||||||||
采集获得的水果以水晶果为例,使用以下代码,结果如右所示(移动端显示在上方)。
{{Infobox fruit
|name = 水晶果
|eng = Crystal Fruit
|source = [[采集]] • [[冬季种子]] • [[灰尘精灵]]
|season = 冬季
|xp = <nowiki />
*[[采集]]:[[采集#经验点数|采集经验]] 7点
*[[冬季种子]]:[[采集#经验点数|采集经验]] 7点
*[[灰尘精灵]]:无
|sellprice = 150
|edibility = 25
|color = Blue
|tag = forage
}}
可以看到售价那一栏不包含农耕人加成
树上获得的水果
| 桃子 | ||||||||||||||||||||||||||||||||||||||||
| Peach | ||||||||||||||||||||||||||||||||||||||||
| 毛绒绒的感觉。 | ||||||||||||||||||||||||||||||||||||||||
| 信息 | ||||||||||||||||||||||||||||||||||||||||
| 来源 | 桃子树 | |||||||||||||||||||||||||||||||||||||||
| 种子 | 桃子树苗 | |||||||||||||||||||||||||||||||||||||||
| 成熟需 | 28 天 | |||||||||||||||||||||||||||||||||||||||
| 丰收季节 | ||||||||||||||||||||||||||||||||||||||||
| 能量 / 生命值 |
|
|||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
| 高级 | ||||||||||||||||||||||||||||||||||||||||
| 物品编号 | (O)636 | |||||||||||||||||||||||||||||||||||||||
树上获得的水果以桃子为例,使用以下代码,结果如右所示(移动端显示在上方)
{{Infobox fruit
|name = 桃子
|eng = Peach
|source = [[桃子树]]
|growth = 28 天
|season = Summer
|sellprice = 140
|seed = [[桃子树苗]]
|edibility = 15
|color = Pink
|tag = Tree
}}
注意
| 南瓜 | ||||||||||||||||||||||||||||||||||||||||
| Pumpkin | ||||||||||||||||||||||||||||||||||||||||
| 秋天的农作物,因为它香脆的种子以及甜美的果肉而深受喜爱。而且,南瓜壳还能用做节日饰品。 | ||||||||||||||||||||||||||||||||||||||||
| 信息 | ||||||||||||||||||||||||||||||||||||||||
| 种子 | ||||||||||||||||||||||||||||||||||||||||
| 成熟需 | 13天 | |||||||||||||||||||||||||||||||||||||||
| 季节 | ||||||||||||||||||||||||||||||||||||||||
| 经验值 | 31 耕种经验值 | |||||||||||||||||||||||||||||||||||||||
| 能量 | 不可食用 | |||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
| 高级 | ||||||||||||||||||||||||||||||||||||||||
| 物品编号 | (O)276 | |||||||||||||||||||||||||||||||||||||||
- 这个模板理论上支持所有物品,比如可以使用以下代码来将南瓜“变”成不带有品质的水果,效果如右所示(移动端显示在上方)
{{Infobox fruit
|name = 南瓜
|eng = Pumpkin
|seed = {{Name|Pumpkin Seeds}}
|growth = 13天
|season = Fall
|xp = 31 [[耕种#经验值|耕种经验值]]
|sellprice = 320
|edibility = -300
|color = Orange
|quality = false
}}
- 已经对葡萄的特殊产物(葡萄干)进行了特殊处理
另见
普通
{{Infobox animal}}{{Infobox animal prod}}{{Infobox artifact}}{{Infobox artisan}}{{Infobox building}}{{Infobox cooking}}{{Infobox craft}}{{Infobox festival}}{{Infobox fish}}{{Infobox flower}}{{Infobox forage}}{{Infobox fruit}}{{Infobox item}}{{Infobox location}}{{Infobox monster}}{{Infobox resource}}{{Infobox seed}}{{Infobox tree}}{{Infobox vegetable}}{{Infobox villager}}{{Infobox weapon}}
特殊
{{Infobox utils}}{{InfoboxSEO}}{{Tabs}}



