Template:Mbox: Difference between revisions
Content deleted Content added
add doc |
m 1 revision imported |
||
(61 intermediate revisions by 32 users not shown) | |||
Line 1: | Line 1: | ||
{{Namespace detect |
|||
{{ {{#switch:{{NAMESPACE}} |
|||
| main = <templatestyles src="Template:Ambox/style.css" /> |
|||
|{{ns:0}} = ambox |
|||
| category = <templatestyles src="Template:Cmbox/style.css" /> |
|||
|{{ns:Image}} = imbox |
|||
| talk = <templatestyles src="Template:Tmbox/style.css" /> |
|||
|{{ns:Category}} = cmbox |
|||
| file = <templatestyles src="Template:Imbox/style.css" /> |
|||
|#default = dmbox |
|||
}}{{#invoke:Message box|mbox}}<noinclude> |
|||
}} |
|||
|{{#ifeq:{{{type|μ}}}|μ||type}}={{{type|}}} |
|||
|{{#ifeq:{{{image|μ}}}|μ||image}}={{{image|}}} |
|||
|{{#ifeq:{{{imageright|μ}}}|μ||imageright}}={{{imageright|}}} |
|||
|{{#ifeq:{{{style|μ}}}|μ||style}}={{{style|}}} |
|||
|{{#ifeq:{{{textstyle|μ}}}|μ||textstyle}}={{{textstyle|}}} |
|||
|{{#ifeq:{{{text|μ}}}|μ||text}}={{{text|}}} |
|||
}}<noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
|||
</noinclude> |
</noinclude> |
Latest revision as of 11:46, 29 July 2024
编者可以在本模板的沙盒 (-{zh-cn:创建; zh-tw:建立;}- | 镜像)和测试样例 (-{zh-cn:创建; zh-tw:建立;}-)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |