欢迎大家来到沙石镇时光中文维基!本站编辑权限开放,欢迎加入中文维基 QQ 群「沙海时光」:372816689
目前正在进行全站数据更新,期间可能会存在显示异常的问题。
模板:CraftStationTableRow/doc
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.