Template:Bmbox: Difference between revisions

From BetaArchive Wiki
en.wikibooks>Animum
(Per request on talk)
m (Protected "Template:Bmbox": High traffic page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(40 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
<!--{{Ambox}} begin-->{{#switch:{{{small|}}}
  | serious  = ambox-serious
| left =  
   | content  = ambox-content
   {{Bmbox/core
   | style    = ambox-style
   | small      = left
   | merge    = ambox-merge
   | type      = {{{type|}}}
  | notice  = ambox-notice
   | image      = {{#if:{{{smallimage|}}}
   | growth  = ambox-growth
                | {{{smallimage}}}
  | #default = ambox-notice
                | {{{image|}}}
}}">
                }}
<tr>
   | imageright = {{#if:{{{smallimageright|}}}
{{#ifeq:{{{image}}}|none
                | {{{smallimageright}}}
  | <!-- no image cell -->
                | {{{imageright|}}}
   | <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
                }}
    | serious  = [[Image:Stop hand nuvola.svg|40px]]
  | style      = {{{style|}}}
    | content = [[Image:Emblem-important.svg|40px]]
  | textstyle = {{{textstyle|}}}
    | style    = [[Image:Broom icon.svg|40px]]
  | text      = {{#if:{{{smalltext|}}}
    | merge    = [[Image:Merge-split-transwiki default.svg]]
                | {{{smalltext}}}
    | notice   = [[Image:Info non-talk.png|40px]]
                | {{{text}}}
    | growth   = [[Image:Green plus icon.png]]
                }}
    | blank    = <!-- empty image cell -->
   }}
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
| #default =  
   }}</td>
   {{Bmbox/core
}}
  | type      = {{{type|}}}
<td> {{{text}}} </td>
  | image      = {{{image|}}}
{{#if:{{{imageright|}}}|
   | imageright = {{{imageright|}}}
   <td class="ambox-imageright"> {{{imageright}}} </td>
  | style      = {{{style|}}}
}}
  | textstyle  = {{{textstyle|}}}
</tr>
   | text      = {{{text}}}
</table><noinclude>
  }}
{{template doc}}
}}<!--{{Ambox}} end--><noinclude>
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 13:38, 8 May 2019

Template documentation [view] [edit] [discuss] [history] [purge]

Template:Bmbox/doc