模块:If preview/doc

来自决策链云智库
< 模块:If preview
Zeroclanzhang讨论 | 贡献2024年1月18日 (四) 01:16的版本 (创建页面,内容为“{{Module rating|protected}} {{High-use}} {{Lua|Module:If preview/configuration}} {{Uses TemplateStyles|Module:If preview/styles.css}} This module implements {{Tl|If preview}} and {{Tl|Preview warning}}. It helps templates/modules determine if they are being previewed. Prefer implementing the template versions in other templates. In a module to use the <code>main()</code>, you need to pass a frame table with an args table. For the preview warning, use <code>…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

这是模块:If preview的文档页面

Lua错误 在模块:TNT的第167行:Missing Commons dataset I18n/Module:TNT.tab

This module implements {{If preview}} and {{Preview warning}}. It helps templates/modules determine if they are being previewed.

Prefer implementing the template versions in other templates.

In a module to use the main(), you need to pass a frame table with an args table.

For the preview warning, use _warning().


pt:Módulo:If preview/doc