模板:Infobox forage/doc:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
SummerFleur(留言 | 贡献) |
SummerFleur(留言 | 贡献) 无编辑摘要 |
||
| (未显示2个用户的10个中间版本) | |||
| 第1行: | 第1行: | ||
{{ |
{{Documentation header}} |
||
{{Alert|Warning|本模板适用于分类标签为“采集品”的物品或沙滩采集品,通过采集获得的水果(例如香味浆果、水晶果等),它们的分类标签为“水果”,请使用{{tl|Infobox fruit}}模板!!|注意}} |
|||
== 简介 == |
|||
此模板(<code><nowiki>{{Infobox foraged}}</nowiki></code>)主要用于展示游戏中采集品类物品的信息框,其基本用法为: |
|||
{{Infobox/doc|head|采集品}} |
|||
<pre> |
<pre> |
||
{{Infobox |
{{Infobox forage |
||
|name = |
|name = 中文名称 |
||
|eng = |
|eng = 英文名称 |
||
|source = |
|source = 获取方式 |
||
|location = |
|location = 采集地点 |
||
|buff = |
|buff = 增益效果(若有,没有则留空) |
||
|buffduration = |
|buffduration = 增益时长(若有,没有则留空) |
||
|season = |
|season = 生长季节 |
||
|xp = |
|xp = 收获获得的经验值 |
||
|edibility = |
|edibility = 可食用性 |
||
|sellprice = |
|sellprice = 基础售价 |
||
|color = |
|color = 颜色值 |
||
|quality = |
|quality = 是否具有品质,若没有,值为 false |
||
|tag = |
|tag = Wiki 内处理不同采集品的识别标签 |
||
}} |
}} |
||
</pre> |
</pre> |
||
==Tag 的用法== |
|||
'''注意:本模板适用于分类标签为“采集品”的物品或沙滩采集品,通过采集获得的水果(例如香味浆果、水晶果等),它们的分类标签为“水果”,因此请使用<code><nowiki>{{Infobox fruit}}</nowiki></code>模板!!''' |
|||
Tag 主要用于区分该采集品的类型,与游戏数据无关,主要用于方便模板进行类别辨认,不区分大小写。 |
|||
===Tag 的用法=== |
|||
Tag 主要用于区分该采集品的类型,与游戏数据无关,主要用于方便模板进行类别辨认。 |
|||
根据逻辑,目前的采集品分类大致可以分为以下三类: |
根据逻辑,目前的采集品分类大致可以分为以下三类: |
||
# 更类似于蔬菜的采集品,例如野山葵、雪山药,它们可以被放入小桶中制作蔬菜汁、放入罐头瓶中制作腌菜,Tag 值为 <code>vegetable</code> |
|||
# 蘑菇,例如紫蘑菇、羊肚菌(不包含红蘑菇),它们可以被放入烘干机中制作蘑菇干、放入罐头瓶中制作腌菜,Tag 值为 <code>mushroom</code> |
|||
# 所有可食用性 <=0 的采集品,例如冬青树、红蘑菇,它们无法被放入任何机器中,Tag 值为空 |
|||
# 部分能放入鱼塘中产出鱼籽的沙滩采集品,目前仅有海胆一种,Tag 值为 <code>fish</code> |
|||
3. 所有可食用性 <=0 的采集品甚至扣除能量值的采集品,例如冬青树、红蘑菇,它们无法被放入任何机器中,Tag 值为空。 |
|||
==示例== |
|||
===耕种获得的水果=== |
|||
{{Infobox foraged |
|||
|name = 野山葵 |
|||
|eng = Wild Horseradish |
|||
|source = [[采集]] • [[春季种子]] |
|||
|season = 春季 |
|||
|sellprice = 50 |
|||
|edibility = 5 |
|||
|tag = vegetable |
|||
}} |
|||
蔬菜类采集品以野山葵为例,使用以下代码,结果如右所示(移动端显示在上方)。 |
|||
<pre> |
|||
{{Infobox foraged |
|||
|name = 野山葵 |
|||
|eng = Wild Horseradish |
|||
|source = [[采集]] • [[春季种子]] |
|||
|season = 春季 |
|||
|sellprice = 50 |
|||
|edibility = 5 |
|||
|tag = vegetable |
|||
}} |
|||
</pre> |
|||
{{clear}} |
|||
===蘑菇=== |
|||
{{Infobox foraged |
|||
|name = 紫蘑菇 |
|||
|eng = Purple Mushroom |
|||
|source = [[采集]] • [[山洞]] • [[蘑菇树]] • [[姜岛#挖掘场|蘑菇洞]] • [[蘑菇树桩]] |
|||
|location = [[矿井]] |
|||
|season = All |
|||
|edibility = 50 |
|||
|sellprice = 250 |
|||
|color = Dark Purple |
|||
|tag = mushroom |
|||
}} |
|||
蘑菇类采集品以紫蘑菇为例,使用以下代码,结果如右所示(移动端显示在上方)。 |
|||
<pre> |
|||
{{Infobox foraged |
|||
|name = 紫蘑菇 |
|||
|eng = Purple Mushroom |
|||
|source = [[采集]] • [[山洞]] • [[蘑菇树]] • [[姜岛#挖掘场|蘑菇洞]] • [[蘑菇树桩]] |
|||
|location = [[矿井]] |
|||
|season = All |
|||
|edibility = 50 |
|||
|sellprice = 250 |
|||
|color = Dark Purple |
|||
|tag = mushroom |
|||
}} |
|||
</pre> |
|||
{{clear}} |
|||
===其他=== |
|||
{{Infobox foraged |
|||
|name = 冬青树 |
|||
|eng = Holly |
|||
|source = [[采集]] |
|||
|season = Winter |
|||
|edibility = -15 |
|||
|sellprice = 80 |
|||
}} |
|||
其它采集品以冬青树为例,使用以下代码,结果如右所示(移动端显示在上方) |
|||
<pre> |
|||
{{Infobox foraged |
|||
|name = 冬青树 |
|||
|eng = Holly |
|||
|source = [[采集]] |
|||
|season = Winter |
|||
|edibility = -15 |
|||
|sellprice = 80 |
|||
|xp = [[采集#经验点数|采集经验]] 7点 |
|||
}} |
|||
</pre> |
|||
{{clear}} |
|||
===注意=== |
|||
{{Infobox foraged |
|||
|name = 南瓜 |
|||
|eng = Pumpkin |
|||
|season = Fall |
|||
|sellprice = 320 |
|||
|edibility = -300 |
|||
|color = Orange |
|||
}} |
|||
*这个模板理论上支持所有物品,比如可以使用以下代码来将南瓜“变”成采集品,效果如右所示(移动端显示在上方) |
|||
<pre> |
|||
{{Infobox foraged |
|||
|name = 南瓜 |
|||
|eng = Pumpkin |
|||
|season = Fall |
|||
|sellprice = 320 |
|||
|edibility = -300 |
|||
|color = Orange |
|||
}} |
|||
</pre> |
|||
{{clear}} |
|||
==另见== |
|||
{{Infobox see also}} |
|||
<includeonly> |
<includeonly>[[分类:文档页面]]</includeonly> |
||
<!-- 页面分类 --> |
|||
[[分类:文档页面]] |
|||
<!--[[分类:手动填写]]--> |
|||
</includeonly> |
|||
<noinclude> |
|||
<!-- 文档分类 --> |
|||
</noinclude> |
|||
2026年1月28日 (三) 18:00的最新版本
注意
本模板适用于分类标签为“采集品”的物品或沙滩采集品,通过采集获得的水果(例如香味浆果、水晶果等),它们的分类标签为“水果”,请使用{{Infobox fruit}}模板!!
简介
此模板({{Infobox forage}})是用于展示游戏中采集品的信息框,其基本用法为:
{{Infobox forage
|name = 中文名称
|eng = 英文名称
|source = 获取方式
|location = 采集地点
|buff = 增益效果(若有,没有则留空)
|buffduration = 增益时长(若有,没有则留空)
|season = 生长季节
|xp = 收获获得的经验值
|edibility = 可食用性
|sellprice = 基础售价
|color = 颜色值
|quality = 是否具有品质,若没有,值为 false
|tag = Wiki 内处理不同采集品的识别标签
}}
Tag 的用法
Tag 主要用于区分该采集品的类型,与游戏数据无关,主要用于方便模板进行类别辨认,不区分大小写。
根据逻辑,目前的采集品分类大致可以分为以下三类:
- 更类似于蔬菜的采集品,例如野山葵、雪山药,它们可以被放入小桶中制作蔬菜汁、放入罐头瓶中制作腌菜,Tag 值为
vegetable - 蘑菇,例如紫蘑菇、羊肚菌(不包含红蘑菇),它们可以被放入烘干机中制作蘑菇干、放入罐头瓶中制作腌菜,Tag 值为
mushroom - 所有可食用性 <=0 的采集品,例如冬青树、红蘑菇,它们无法被放入任何机器中,Tag 值为空
- 部分能放入鱼塘中产出鱼籽的沙滩采集品,目前仅有海胆一种,Tag 值为
fish
另见
普通
{{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}}