模板:Infobox artisan/doc
简介
此模板({{Infobox fruit}}
)是用于展示游戏中工匠物品(如蜂蜜、奶酪、鱼籽酱等)的信息框,其基本用法为:
{{Infobox artisan |name = 鱼籽酱 <!--中文名称--> |eng = Caviar <!--英文名称--> |source = [[工匠物品]] <!--获取方式--> |buff = <!--增益效果(若有,没有则留空)--> |buffduration = <!--增益时长(若有,没有则留空)--> |edibility = 70 <!--可食用性--> |sellprice = 500 <!--基础售价--> |ingredients = {{name|Sturgeon Roe|1}} <!--加工原料--> |craftingstation = {{name|Preserves Jar|link=罐头瓶}} <!--加工设备--> |crafttime = 6000 分钟 <!--加工时间--> |quality = <!--是否具有品质,若有,值为 true--> |tag = <!--Wiki 内处理不同水果的识别标签--> }}
Tag 的用法
Tag 主要用于区分该工匠物品的类型,与游戏数据无关,主要用于方便模板进行类别辨认。
根据逻辑,目前的工匠物品分类大致可以分为以下五类:
- 售价取决于原料的工匠物品,例如果酒、腌菜、熏鱼等,Tag 值 == depend
- 属于动物制品的工匠物品,例如奶酪,Tag 值 == animal
- 属于树液产品的工匠物品,例如枫糖浆,Tag 值 == tree
- 实际上并不是工匠物品的物品,例如油,Tag 值 == not
- 其他不属于上述类型的工匠物品,例如鱼籽酱,Tag 值为空
示例
售价取决于原料的工匠物品
蜂蜜 | |||||||||||||||||||||||
Honey | |||||||||||||||||||||||
![]() |
|||||||||||||||||||||||
蜜蜂们产出的甜汁。 | |||||||||||||||||||||||
信息 | |||||||||||||||||||||||
来源 | 工匠物品 • 绿洲 | ||||||||||||||||||||||
能量 | 不可食用 | ||||||||||||||||||||||
售出价格 | |||||||||||||||||||||||
基础售价 | 100 + 花的基础价格 × 2 | ||||||||||||||||||||||
![]() |
蜂蜜基础售价 × 1.4 | ||||||||||||||||||||||
|
|||||||||||||||||||||||
工匠物品 | |||||||||||||||||||||||
加工设备 | ![]() |
||||||||||||||||||||||
加工用时 | ![]() |
||||||||||||||||||||||
加工原料 | 任意花 | ||||||||||||||||||||||
高级 | |||||||||||||||||||||||
物品编号 | (O)340 |
售价取决于原料的工匠物以蜂蜜为例,使用以下代码,结果如右所示。
{{Infobox artisan |name = 蜂蜜 |eng = Honey |source = [[工匠物品]] • [[绿洲]] |ingredients = 任意[[花]] |edibility = -300 |sellprice = 100 + 花的基础价格 × 2 |craftingstation = {{Name|Bee House}} |crafttime = 4 天 |tag = Depends }}
属于动物制品的工匠物品
奶酪 | ||||||||||||||||||||||||||||||||||
Cheese | ||||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||
你的普通的奶酪。 | ||||||||||||||||||||||||||||||||||
信息 | ||||||||||||||||||||||||||||||||||
来源 | 工匠物品 • 沙漠商人 | |||||||||||||||||||||||||||||||||
能量 / 生命值 |
|
|||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
工匠物品 | ||||||||||||||||||||||||||||||||||
加工设备 | ![]() |
|||||||||||||||||||||||||||||||||
加工用时 | ![]() |
|||||||||||||||||||||||||||||||||
加工原料 | ![]() ![]() |
|||||||||||||||||||||||||||||||||
高级 | ||||||||||||||||||||||||||||||||||
物品编号 | (O)424 |
属于动物制品的的工匠物以奶酪为例,使用以下代码,结果如右所示。
{{Infobox artisan |name = 奶酪 |eng = Cheese |source = [[工匠物品]] • [[沙漠商人]] |ingredients = {{Name|Milk|1|class=inline}}或{{Name|Large Milk|1}} |edibility = 50 |sellprice = 230 |craftingstation = {{Name|Cheese Press|link=压酪机}} |crafttime = 200 分钟 |quality = true |tag = Animal }}
属于树液产品的工匠物品
枫糖浆 | |||||||||||
Maple Syrup | |||||||||||
![]() |
|||||||||||
有着独特风味的甜浆。 | |||||||||||
信息 | |||||||||||
来源 | 采集枫树 | ||||||||||
能量 / 生命值 |
|
||||||||||
|
|||||||||||
工匠物品 | |||||||||||
加工设备 | ![]() ![]() |
||||||||||
加工用时 | ![]() ![]() |
||||||||||
高级 | |||||||||||
物品编号 | (O)724 |
属于树液产品的的工匠物以枫糖浆为例,使用以下代码,结果如右所示。
{{Infobox artisan |name = 枫糖浆 |eng = Maple Syrup |source = 采集[[枫树]] |season = 季节 |sellprice = 200 |edibility = 20 |crafttime = 9 天 |crafttime2 = 4 天 |ingredients = [[枫树]] |tag = Tree }}
另见
普通
{{Infobox animal}}
{{Infobox animal prod}}
{{Infobox artifact}}
{{Infobox artisan}}
{{Infobox book}}
{{Infobox building}}
{{Infobox character}}
{{Infobox clothing}}
{{Infobox cooking}}
{{Infobox craft}}
{{Infobox festival}}
{{Infobox fish}}
{{Infobox flower}}
{{Infobox forage}}
{{Infobox fruit}}
{{Infobox fruit tree}}
{{Infobox furniture}}
{{Infobox ground feature}}
{{Infobox item}}
{{Infobox location}}
{{Infobox mineral}}
{{Infobox monster}}
{{Infobox mousehat}}
{{Infobox resource}}
{{Infobox seed}}
{{Infobox special item}}
{{Infobox tool}}
{{Infobox tree}}
{{Infobox vegetable}}
{{Infobox villager}}
{{Infobox weapon}}
特殊
{{Infobox utils}}
{{InfoboxSEO}}
{{Tabs}}
模组
{{Expanded/Infobox building}}
{{Expanded/Infobox weapon}}
{{Expanded/Infobox consumable}}
{{Expanded/Infobox cooking}}
{{Expanded/Infobox fish}}
{{Expanded/InfoboxSEO}}