Template:Mbox: Difference between revisions
Content deleted Content added
m Add code for incorrectly substed templates, or minor tidy up using AWB |
This template has now been checked and tested, it works correctly in the new "Book:" and "Book talk:" namespaces. And a minor update to "{{pp-template}}". |
||
Line 1: | Line 1: | ||
{{ |
|||
<!--{{Ambox}} begin-->{{#switch:{{{small|}}} |
|||
{{namespace detect |
|||
| left = |
|||
⚫ | |||
{{Ambox/core |
|||
| |
| main = ambox |
||
| |
| talk = tmbox |
||
| |
| file = imbox |
||
| category = cmbox |
|||
| {{{smallimage}}} |
|||
| other = ombox |
|||
⚫ | |||
⚫ | |||
| {{{smallimageright}}} |
|||
| {{{imageright|}}} |
|||
}} |
|||
⚫ | |||
| textstyle = {{{textstyle|}}} |
|||
⚫ | |||
| {{{smalltext}}} |
|||
| {{{text}}} |
|||
}} |
|||
}} |
}} |
||
⚫ | |||
| #default = |
|||
| image = {{{image|}}} |
|||
{{Ambox/core |
|||
| imageright = {{{imageright|}}} |
|||
| style = {{{style|}}} |
|||
| textstyle = {{{textstyle|}}} |
|||
| text = {{{text}}} |
|||
| small = {{{small|}}} |
|||
| smallimage = {{{smallimage|}}} |
|||
⚫ | |||
}} |
|||
⚫ | |||
}}<!-- |
|||
}}<noinclude> |
|||
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!-- |
|||
--><!--{{Ambox}} end--><noinclude> |
|||
{{pp-template}} |
{{pp-template}} |
||
{{ |
{{documentation}} |
||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
||
</noinclude> |
</noinclude> |
Revision as of 02:03, 30 December 2009
{{{text}}} |
模板-{zh-cn:文档; zh-tw:文件;}-[-{zh-cn:创建; zh-tw:建立;}-]
编者可以在本模板的沙盒 (-{zh-cn:创建; zh-tw:建立;}- | 镜像)和测试样例 (-{zh-cn:创建; zh-tw:建立;}-)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |