欢迎大家来到沙石镇时光中文维基!本站编辑权限开放,欢迎加入中文维基 QQ 群「沙海时光」:372816689
目前正在进行全站数据更新,期间可能会存在显示异常的问题。
模板:CraftStationTableRow
模板文档
|
---|
注意:如果存在未填写的参数,对应的字段将会被隐藏。 |
查看或编辑当前文档。(关于模板文档) |
本站模板默认处于保护模式,如有意见或建议请通过评论区、讨论页或 QQ 群反馈。 |
CraftStationTableRow is a template used to populate crafting tables with the information from crafted item infoboxes. It displays item, worktable tab, and materials needed for crafting.
This template uses and displays information received from title, effect, crafttime, materials, amtcrafted fields in Infobox item and requires transclusion tags applied to the infobox to work properly.
To learn more about transclusion, visit the MediaWiki page.
Infobox
The syntax and the relevant fields in the infobox are:
<onlyinclude>{{{{{1|infobox item}}} |title = |effect = |crafttime = |mat1 = |mat1amt = |mat2 = |mat2amt = |mat3 = |mat3amt = |amtcrafted = }}</onlyinclude>
Best practices
- Please avoid using {{PAGENAME}} magic word in the title field, it prevents the template from being displayed correctly.
- crafttime should contain one number listing crafting time in minutes on the lowest possible level station.
- materials should list all crafting materials and their quantities.
- amtcrafted should only be used for items that are crafted in multiplies, like Ammo. Please omit this parameter for other recipes.
Template syntax
After the transclusion tags and parameter are placed in the infobox, the template can be called:
{{:Page name|CraftStationTableRow}}
Examples
The examples of the template's usage can be found on CraftStationTable page.
{{CraftStationTable|header}} {{:Alloy Heavy Sword|CraftStationTableRow}} {{CraftStationTable|footer}}
物品 | 时间 | 材料 | 出售价格 | 经验 | 精通 |
---|