Template:Mbox: Difference between revisions
Content deleted Content added
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}}". |
m 55 revisions from w:en:Template:Ambox: Useful |
||
Line 1: | Line 1: | ||
<!--{{Ambox}} begin-->{{#switch:{{{small|}}} |
|||
{{ |
|||
| left = |
|||
{{namespace detect |
|||
{{Ambox/core |
|||
⚫ | |||
| |
| small = left |
||
| |
| type = {{{type|}}} |
||
| |
| image = {{#if:{{{smallimage|}}} |
||
| {{{smallimage}}} |
|||
| category = cmbox |
|||
| {{{image|}}} |
|||
⚫ | |||
⚫ | |||
| {{{smallimageright}}} |
|||
| {{{imageright|}}} |
|||
}} |
|||
⚫ | |||
| textstyle = {{{textstyle|}}} |
|||
⚫ | |||
| {{{smalltext}}} |
|||
| {{{text}}} |
|||
}} |
|||
}} |
}} |
||
| #default = |
|||
⚫ | |||
{{Ambox/core |
|||
| image = {{{image|}}} |
|||
| |
| type = {{{type|}}} |
||
| |
| image = {{{image|}}} |
||
| imageright = {{{imageright|}}} |
|||
| style = {{{style|}}} |
|||
| textstyle = {{{textstyle|}}} |
|||
| |
| text = {{{text}}} |
||
}} |
|||
⚫ | |||
}}<!-- |
|||
⚫ | |||
}}<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> |