Difference between revisions of "Template:Mbox"
From Veloopti Help
(Changed deprecated "{{namespace detect|image=}}" to "{{namespace detect|file=}}, due to change of namespace "Image:" to "File:". No change in functionality.) |
(Deploying the "small=left" feature, thus now using {{ambox/core}}. Tested in /sandbox and discussed in many places, see talk page.) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{#switch:{{{small|}}} |
− | {{ | + | | left = |
− | | | + | {{ambox/core |
− | | | + | | small = left |
− | | | + | | type = {{{type|}}} |
− | | | + | | image = {{#if:{{{smallimage|}}} |
− | | | + | | {{{smallimage}}} |
− | | | + | | {{{image|}}} |
+ | }} | ||
+ | | imageright = {{#if:{{{smallimageright|}}} | ||
+ | | {{{smallimageright}}} | ||
+ | | {{{imageright|}}} | ||
+ | }} | ||
+ | | style = {{{style|}}} | ||
+ | | textstyle = {{{textstyle|}}} | ||
+ | | text = {{#if:{{{smalltext|}}} | ||
+ | | {{{smalltext}}} | ||
+ | | {{{text}}} | ||
+ | }} | ||
+ | }} | ||
+ | | #default = | ||
+ | {{ambox/core | ||
+ | | type = {{{type|}}} | ||
+ | | image = {{{image|}}} | ||
+ | | imageright = {{{imageright|}}} | ||
+ | | style = {{{style|}}} | ||
+ | | textstyle = {{{textstyle|}}} | ||
+ | | text = {{{text}}} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<noinclude> | }}<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 11:21, 15 March 2009
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |