模板:Infobox seed/doc:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
SummerFleur(留言 | 贡献) m →打造获得的种子 |
SummerFleur(留言 | 贡献) 无编辑摘要 |
||
| (未显示2个用户的5个中间版本) | |||
| 第1行: | 第1行: | ||
{{ |
{{Documentation header}} |
||
{{Infobox/doc|head|各种种子}} |
|||
== 简介 == |
|||
此模板(<code><nowiki>{{Infobox seed}}</nowiki></code>)是用于展示游戏中水果类物品的信息框,其基本用法为: |
|||
<pre> |
<pre> |
||
{{Infobox seed |
{{Infobox seed |
||
|name = |
|name = 中文名称 |
||
|eng = |
|eng = 英文名称 |
||
|crop = |
|crop = 生长出的作物 |
||
|growth = |
|growth = 生长时间 |
||
|season = |
|season = 生长季节 |
||
|xp = |
|xp = 收获获得的经验值 |
||
|sellprice = |
|sellprice = 基础售价 |
||
|gPrice = |
|gPrice = 皮埃尔杂货店的出售价格 |
||
|jPrice = |
|jPrice = Joja 超市的出售价格 |
||
|oPrice = |
|oPrice = 绿洲商店的出售价格 |
||
|tPrice = |
|tPrice = 猪车的出售价格 |
||
|iPrice = |
|iPrice = 姜岛商店的出售价格 |
||
|nmday = |
|nmday = 夜市魔法商船的出售日期 |
||
|raccoon = |
|raccoon = 浣熊商店的出售价格 |
||
|otherprice = |
|otherprice = 其他地方的出售价格 |
||
|artisan = |
|artisan = 是否可制成工匠物品,仅适用于向日葵种子和咖啡豆 |
||
|source = |
|source = 其他来源,一般是打造 |
||
|recipe = |
|recipe = 配方来源 |
||
|ingredients = |
|ingredients = 制作原料 |
||
|produces = |
|produces = 每次打造获得的数量,若只获得 1 个则留空 |
||
|displayname = |
|displayname = 不会被本模板引用,但是被其它模板使用,详见下文介绍 |
||
}} |
}} |
||
</pre> |
</pre> |
||
==displayname 参数的使用== |
|||
==示例== |
|||
目前 displayname 仅在模板 {{tl|CraftRow}} 中使用,代替中文名称显示,以确保其与游戏内打造配方名称一致。 |
|||
===商店购买的种子=== |
|||
{{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 |
|||
}} |
|||
此处以夏季种子为例:夏季种子内填写了 <code>displayname = 野生种子(夏季)</code>,效果如下所示: |
|||
<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> |
|||
{{模板|示例|<nowiki> |
|||
{{clear}} |
|||
===打造获得的种子=== |
|||
{{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 |
|||
}} |
|||
<pre> |
|||
{{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 |
|||
}} |
|||
</pre> |
|||
此处的 displayname 会被模板 {{tl|CraftRow}} 引入,在名称一栏显示该值,效果如下所示: |
|||
{{clear}} |
|||
{{模板|示例| |
|||
<nowiki> |
|||
{{Crafts|Header}} |
{{Crafts|Header}} |
||
{{:夏季种子|CraftRow}} <!-- 可以看到上面的“名称”一栏中使用了 |
{{:夏季种子|CraftRow}} <!-- 可以看到上面的“名称”一栏中使用了“野生种子(夏季)”--> |
||
{{Crafts|Footer}} |
{{Crafts|Footer}} |
||
</nowiki> |
</nowiki> |
||
}} |
}} |
||
===咖啡豆=== |
|||
{{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日 (三) 18:01的最新版本
简介
此模板({{Infobox seed}})是用于展示游戏中各种种子的信息框,其基本用法为:
{{Infobox seed
|name = 中文名称
|eng = 英文名称
|crop = 生长出的作物
|growth = 生长时间
|season = 生长季节
|xp = 收获获得的经验值
|sellprice = 基础售价
|gPrice = 皮埃尔杂货店的出售价格
|jPrice = Joja 超市的出售价格
|oPrice = 绿洲商店的出售价格
|tPrice = 猪车的出售价格
|iPrice = 姜岛商店的出售价格
|nmday = 夜市魔法商船的出售日期
|raccoon = 浣熊商店的出售价格
|otherprice = 其他地方的出售价格
|artisan = 是否可制成工匠物品,仅适用于向日葵种子和咖啡豆
|source = 其他来源,一般是打造
|recipe = 配方来源
|ingredients = 制作原料
|produces = 每次打造获得的数量,若只获得 1 个则留空
|displayname = 不会被本模板引用,但是被其它模板使用,详见下文介绍
}}
displayname 参数的使用
目前 displayname 仅在模板 {{CraftRow}} 中使用,代替中文名称显示,以确保其与游戏内打造配方名称一致。
此处以夏季种子为例:夏季种子内填写了 displayname = 野生种子(夏季),效果如下所示:
另见
普通
{{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}}