Module:Message box/doc:修订间差异
外观
删除的内容 添加的内容
创建模块文档 |
重写文档:消息框元模块的完整架构说明、子页面列表和相关模板参见 |
||
| 第1行: | 第1行: | ||
{{Documentation subpage}} |
|||
本模块是消息框的元模块,为 {{tl|ambox}}、{{tl|tmbox}}、{{tl|cmbox}}、{{tl|ombox}}、{{tl|fmbox}}、{{tl|imbox}}、{{tl|mbox}} 提供底层实现。 |
|||
{{Uses Lua|Module:Arguments|Module:Category handler|Module:Yesno}} |
|||
'''Module:Message box''' 是消息框体系的元模块,为以下所有消息框模板提供底层实现。 |
|||
== 使用说明 == |
|||
参见 [[Template:Mbox|Mbox 模板]]。 |
|||
== 消息框家族 == |
|||
| ⚫ | |||
{| class="wikitable" |
|||
! 模板 !! 命名空间 !! CSS 样式 |
|||
|- |
|||
! {{tl|Ambox}} |
|||
| 条目(Article) || [[Module:Message box/ambox.css]] |
|||
|- |
|||
! {{tl|Cmbox}} |
|||
| 分类(Category) || [[Module:Message box/cmbox.css]] |
|||
|- |
|||
! {{tl|Fmbox}} |
|||
| 页眉/页脚(Footer/Header) || [[Module:Message box/fmbox.css]] |
|||
|- |
|||
! {{tl|Imbox}} |
|||
| 文件(File/Image) || [[Module:Message box/imbox.css]] |
|||
|- |
|||
! {{tl|Ombox}} |
|||
| 其他(Other) || [[Module:Message box/ombox.css]] |
|||
|- |
|||
! {{tl|Tmbox}} |
|||
| 讨论(Talk) || [[Module:Message box/tmbox.css]] |
|||
|- |
|||
! {{tl|Mbox}} |
|||
| 自动检测命名空间 || 根据目标命名空间加载对应 CSS |
|||
|} |
|||
== 子页面 == |
|||
* [[Module:Message box/configuration]] — 配置(分类名、参数名等) |
|||
* [[Module:Message box/ambox.css]] — 条目消息框样式 |
|||
* [[Module:Message box/cmbox.css]] — 分类消息框样式 |
|||
* [[Module:Message box/fmbox.css]] — 页眉页脚消息框样式 |
|||
* [[Module:Message box/imbox.css]] — 文件消息框样式 |
|||
* [[Module:Message box/ombox.css]] — 其他消息框样式 |
|||
* [[Module:Message box/tmbox.css]] — 讨论页消息框样式 |
|||
== 依赖模块 == |
|||
* [[Module:Arguments]] — 参数解析 |
|||
* [[Module:Category handler]] — 跟踪分类管理 |
|||
* [[Module:Yesno]] — 布尔值判断 |
|||
== 参见 == |
|||
* {{tl|Mbox}} — 元消息框(自动检测命名空间) |
|||
* {{tl|Ambox}} — 条目消息框 |
|||
* {{tl|Cmbox}} — 分类消息框 |
|||
* {{tl|Fmbox}} — 页眉页脚消息框 |
|||
* {{tl|Imbox}} — 文件消息框 |
|||
* {{tl|Ombox}} — 其他消息框 |
|||
* {{tl|Tmbox}} — 讨论页消息框 |
|||
* {{tl|Yesno}} — 布尔值判断模板 |
|||
<includeonly> |
|||
| ⚫ | |||
</includeonly> |
|||
2026年7月30日 (四) 16:33的版本
此页面是Module:Message box的文档子页面。
此页面可能包含了使用说明、分类和其他内容,这些内容不属于原始Module页面。
此页面可能包含了使用说明、分类和其他内容,这些内容不属于原始Module页面。
Module:Message box 是消息框体系的元模块,为以下所有消息框模板提供底层实现。
消息框家族
| 模板 | 命名空间 | CSS 样式 |
|---|---|---|
| {{Ambox}} | 条目(Article) | Module:Message box/ambox.css |
| {{Cmbox}} | 分类(Category) | Module:Message box/cmbox.css |
| {{Fmbox}} | 页眉/页脚(Footer/Header) | Module:Message box/fmbox.css |
| {{Imbox}} | 文件(File/Image) | Module:Message box/imbox.css |
| {{Ombox}} | 其他(Other) | Module:Message box/ombox.css |
| {{Tmbox}} | 讨论(Talk) | Module:Message box/tmbox.css |
| {{Mbox}} | 自动检测命名空间 | 根据目标命名空间加载对应 CSS |
子页面
- Module:Message box/configuration — 配置(分类名、参数名等)
- Module:Message box/ambox.css — 条目消息框样式
- Module:Message box/cmbox.css — 分类消息框样式
- Module:Message box/fmbox.css — 页眉页脚消息框样式
- Module:Message box/imbox.css — 文件消息框样式
- Module:Message box/ombox.css — 其他消息框样式
- Module:Message box/tmbox.css — 讨论页消息框样式
依赖模块
- Module:Arguments — 参数解析
- Module:Category handler — 跟踪分类管理
- Module:Yesno — 布尔值判断
参见
- {{Mbox}} — 元消息框(自动检测命名空间)
- {{Ambox}} — 条目消息框
- {{Cmbox}} — 分类消息框
- {{Fmbox}} — 页眉页脚消息框
- {{Imbox}} — 文件消息框
- {{Ombox}} — 其他消息框
- {{Tmbox}} — 讨论页消息框
- {{Yesno}} — 布尔值判断模板