Template:Mbox: Difference between revisions
Content deleted Content added
+ optional style parameter |
m 1 revision imported |
||
(86 intermediate revisions by 40 users not shown) | |||
Line 1: | Line 1: | ||
{{Namespace detect |
|||
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} |
|||
| main = <templatestyles src="Template:Ambox/style.css" /> |
|||
| serious = ambox-serious |
|||
| category = <templatestyles src="Template:Cmbox/style.css" /> |
|||
| content = ambox-content |
|||
| talk = <templatestyles src="Template:Tmbox/style.css" /> |
|||
| style = ambox-style |
|||
| file = <templatestyles src="Template:Imbox/style.css" /> |
|||
| merge = ambox-merge |
|||
}}{{#invoke:Message box|mbox}}<noinclude> |
|||
| notice = ambox-notice |
|||
{{documentation}} |
|||
| growth = ambox-growth |
|||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
|||
| #default = ambox-notice |
|||
}}"> |
|||
<tr> |
|||
{{#ifeq:{{{image}}}|none |
|||
| <!-- no image cell --> |
|||
| <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}} |
|||
| serious = [[Image:Stop hand nuvola.svg|40px]] |
|||
| content = [[Image:Emblem-important.svg|40px]] |
|||
| style = [[Image:Broom icon.svg|40px]] |
|||
| merge = [[Image:Merge-split-transwiki default.svg]] |
|||
| notice = [[Image:Info non-talk.png|40px]] |
|||
| growth = [[Image:Green plus icon.png]] |
|||
| blank = <!-- empty image cell --> |
|||
| #default = {{{image|[[Image:Info non-talk.png|40px]]}}} |
|||
}}</td> |
|||
}} |
|||
<td> {{{text}}} </td> |
|||
{{#if:{{{imageright|}}} |
|||
<td class="ambox-imageright"> {{{imageright}}} </td> |
|||
}} |
|||
</tr> |
|||
</table><noinclude> |
|||
{{template doc}} |
|||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> |
|||
</noinclude> |
</noinclude> |
Latest revision as of 11:46, 29 July 2024
编者可以在本模板的沙盒 (-{zh-cn:创建; zh-tw:建立;}- | 镜像)和测试样例 (-{zh-cn:创建; zh-tw:建立;}-)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |