模板:Component/doc

来自决策链云智库
< 模板:Component
Zeroclanzhang讨论 | 贡献2024年1月16日 (二) 01:18的版本 (创建页面,内容为“{{Documentation subpage}} {{lua|Module:Item}} This template extracts a given component from a given item. == Usage == {{((}}Component|''Item''|''ParameterName''}} ''Note:'' If you need to extract multiple components of a large item, consider using {{tl|Format item}} instead of multiple calls to {{tl|Component}}, because each call to {{tl|Component}} requires unpacking of the entire item, which may be costly. == Examples =…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

This template extracts a given component from a given item.

Usage

{{Component|Item|ParameterName}}

Note: If you need to extract multiple components of a large item, consider using {{Format item}} instead of multiple calls to {{Component}}, because each call to {{Component}} requires unpacking of the entire item, which may be costly.

Examples

模板:Automarkup