Template:Bmbox: Difference between revisions
From BetaArchive Wiki
en.wikibooks>Happy-melon (sync tracking cat with other mbox templates) |
en.wikibooks>Davidgothberg (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|}}} | |||
{{#switch:{{{ | | 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}}} | |||
| {{#if:{{{ | | {{{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> |