Template:Bmbox: Difference between revisions

From BetaArchive Wiki
en.wikibooks>Thewinster
(New page: <table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} | serious = ambox-serious | content = ambox-content | style = ambox-style | merge = ambox...)
m (Protected "Template:Bmbox": High traffic page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(27 intermediate revisions by 10 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|}}}
   | #default = ambox-notice
                | {{{smallimage}}}
}}">
                | {{{image|}}}
<tr>
                }}
<td class="ambox-image">
   | imageright = {{#if:{{{smallimageright|}}}
{{#ifeq:{{{image}}}|none
                | {{{smallimageright}}}
  | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
                | {{{imageright|}}}
   | <div style="width:52px;"> {{#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}}}
    | blank    = [[Image:No image.svg]]
                }}
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
   }}
   }}</div>
| #default =  
}}</td>
  {{Bmbox/core
<td class="ambox-text">{{{text}}}</td>
  | type      = {{{type|}}}
{{#if:{{{imageright|}}}|
  | image      = {{{image|}}}
   <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
   | imageright = {{{imageright|}}}
}}
  | style      = {{{style|}}}
</tr>
  | textstyle  = {{{textstyle|}}}
</table>
  | text      = {{{text}}}
   }}
}}<!--{{Ambox}} end--><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 14:38, 8 May 2019

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

Template:Bmbox/doc