Template:Dmbox/doc
此页面是Template:Dmbox的文档子页面。
此页面可能包含了使用说明、分类和其他内容,这些内容不属于原始Template页面。
此页面可能包含了使用说明、分类和其他内容,这些内容不属于原始Template页面。
{{Dmbox}}(disambiguation message box)是消歧义消息框,用于消歧义页(type=disambig,默认)与设置索引页(type=setindex)。
用法
{{Dmbox
| type = disambig / setindex
| image = 可留空 / [[File:Some image.svg|40px]]
| imageright = 可留空 / [[File:Some image.svg|40px]]
| text = 消息正文
| style = 可留空 / CSS 代码
| textstyle = 可留空 / CSS 代码
| nocat = true / 留空
| page = 测试用页面
}}
type:disambig(默认,消歧义页)或setindex(设置索引页)。在主命名空间使用时,本模板会自动输出魔法字并将页面归类。image:默认使用 Disambig gray.svg / List gray.svg。nocat:设为 true 可禁止分类,用于测试或演示。
示例
这是一个消歧义消息框示例。