模板:Infobox fruit/doc:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
SummerFleur(留言 | 贡献) 无编辑摘要 |
SummerFleur(留言 | 贡献) 创建页面 |
||
| 第1行: | 第1行: | ||
{{documentation header}} |
{{documentation header}} |
||
== 简介 == |
== 简介 == |
||
此模板(<code><nowiki>{{Infobox |
此模板(<code><nowiki>{{Infobox seed}}</nowiki></code>)是用于展示游戏中水果类物品的信息框,其基本用法为: |
||
<pre> |
<pre> |
||
{{Infobox |
{{Infobox seed |
||
|name |
|name = 杨桃种子 <!--中文名称--> |
||
|eng |
|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 个则留空--> |
|||
}} |
}} |
||
</pre> |
</pre> |
||
===Tag 的用法=== |
|||
Tag 主要用于区分该水果的来源,与游戏数据无关,主要用于方便模板进行类别辨认。 |
|||
根据逻辑,目前的水果分类大致可以分为以下三类: |
|||
# 通过耕种获得的水果,例如甜瓜、草莓,享受农耕人职业的 1.1 倍售价加成,Tag 值为空; |
|||
# 通过采集获得的水果,例如水晶果、香味浆果,不享受农耕人职业的 1.1 倍售价加成,Tag 值 == Forage; |
|||
# 通过种植果树获得的水果,例如桃子、橙子,享受农耕人职业的 1.1 倍售价加成,但是在树上生长,Tag 值 == Tree。 |
|||
==示例== |
==示例== |
||
=== |
===商店购买的种子=== |
||
{{Infobox |
{{Infobox seed |
||
|name = 甜瓜 |
|name = 甜瓜种子 |
||
|eng = Melon |
|eng = Melon Seeds |
||
| |
|crop = {{Name|Melon}} |
||
| |
|growth = 12 天 |
||
| |
|season = {{Season|Summer}} |
||
| |
|xp = {{Xp|27|farm}} |
||
|sellprice = 40 |
|||
|xp = 27 [[耕种#经验值|耕种经验值]] |
|||
|gPrice = {{Price|80}} |
|||
|sellprice = 250 |
|||
|jPrice = {{Price|100}} |
|||
|edibility = 45 |
|||
| |
|tPrice = {{tprice|40}} |
||
|nmday = 16 |
|||
}} |
}} |
||
耕种获得的水果以甜瓜为例,使用以下代码,结果如右所示。 |
|||
<pre> |
<pre> |
||
{{Infobox |
{{Infobox seed |
||
|name = 甜瓜 |
|name = 甜瓜种子 |
||
|eng = Melon |
|eng = Melon Seeds |
||
| |
|crop = {{Name|Melon}} |
||
| |
|growth = 12 天 |
||
| |
|season = {{Season|Summer}} |
||
| |
|xp = {{Xp|27|farm}} |
||
|sellprice = 40 |
|||
|xp = 27 [[耕种#经验值|耕种经验值]] |
|||
|gPrice = {{Price|80}} |
|||
|sellprice = 250 |
|||
|jPrice = {{Price|100}} |
|||
|edibility = 45 |
|||
| |
|tPrice = {{tprice|40}} |
||
|nmday = 16 |
|||
}} |
}} |
||
</pre> |
</pre> |
||
| 第65行: | 第62行: | ||
{{clear}} |
{{clear}} |
||
=== |
===打造获得的种子=== |
||
{{Infobox |
{{Infobox seed |
||
|name = |
|name = 夏季种子 |
||
|displayname = 野生种子(夏季) |
|||
|eng = Crystal Fruit |
|||
|eng = Summer Seeds |
|||
|source = [[采集]] • [[冬季种子]] • [[灰尘精灵]] |
|||
| |
|crop = <nowiki/> |
||
*{{Name|Spice Berry|class=inline}} {{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 |
|||
| |
|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> |
<pre> |
||
{{Infobox |
{{Infobox seed |
||
|name = |
|name = 夏季种子 |
||
|displayname = 野生种子(夏季) |
|||
|eng = Crystal Fruit |
|||
|eng = Summer Seeds |
|||
|source = [[采集]] • [[冬季种子]] • [[灰尘精灵]] |
|||
| |
|crop = <nowiki/> |
||
*{{Name|Spice Berry|class=inline}} {{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 |
|||
| |
|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> |
</pre> |
||
| 第103行: | 第105行: | ||
{{clear}} |
{{clear}} |
||
=== |
===咖啡豆=== |
||
{{Infobox |
{{Infobox seed |
||
|name = |
|name = 咖啡豆 |
||
|eng = |
|eng = Coffee Bean |
||
|crop = [[File:Coffee Bean.png|24px|link=]] 咖啡豆 |
|||
|source = [[桃子树]] |
|||
|growth = |
|growth = 10 天 |
||
|season = Summer |
|season = {{Season|Spring}} • {{Season|Summer}} |
||
|xp = {{Xp|4|farm}} |
|||
|sellprice = 140 |
|||
| |
|sellprice = 15 |
||
| |
|gPrice = |
||
| |
|jPrice = |
||
| |
|tPrice = <nowiki/> |
||
*{{price|2500}}(25%,秋季和冬季) |
|||
*{{tprice|15}}(1.26% 的概率,不限季节) |
|||
|artisan = y |
|||
|quality = true |
|||
}} |
}} |
||
树上获得的水果以桃子为例,使用以下代码,结果如右所示(移动端显示在上方) |
|||
<pre> |
<pre> |
||
{{Infobox |
{{Infobox seed |
||
|name = |
|name = 咖啡豆 |
||
|eng = |
|eng = Coffee Bean |
||
|crop = [[File:Coffee Bean.png|24px|link=]] 咖啡豆 |
|||
|source = [[桃子树]] |
|||
|growth = |
|growth = 10 天 |
||
|season = Summer |
|season = {{Season|Spring}} • {{Season|Summer}} |
||
|xp = {{Xp|4|farm}} |
|||
|sellprice = 140 |
|||
| |
|sellprice = 15 |
||
| |
|gPrice = |
||
| |
|jPrice = |
||
| |
|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 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 点 |
| 售出价格 | |
| 购买价格 | |
| 模板:Tprice | |
| 夜市 | |
| 高级 | |
| 物品编号 | (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 点 |
| 售出价格 | |
| 购买价格 | |
| 不出售 | |
| 不出售 | |
| 模板:Tprice | |
| 打造 | |
| 配方来源 | |
| 所需原料 | |
| 产出 | 每次打造生产 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 点 |
||||||||
| 售出价格 |
|
||||||||
| 购买价格 | |||||||||
| 不出售 | |||||||||
| 不出售 | |||||||||
|
|||||||||
| 高级 | |||||||||
| 物品编号 | (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
}}
另见
普通
{{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}}