Template:Bmbox: Difference between revisions

From BetaArchive Wiki
en.wikibooks>Nihiltres
(Removed growth type per editprotected on talk by Jrockley)
m (Protected "Template:Bmbox": High traffic page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(31 intermediate revisions by 14 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>
                }}
{{#ifeq:{{{image}}}|none
   | imageright = {{#if:{{{smallimageright|}}}
  | <!-- no image cell -->
                | {{{smallimageright}}}
   | <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
                | {{{imageright|}}}
    | serious  = [[Image:Stop hand nuvola.svg|40px]]
                }}
    | content = [[Image:Emblem-important.svg|40px]]
  | style      = {{{style|}}}
    | style    = [[Image:Broom icon.svg|40px]]
  | textstyle = {{{textstyle|}}}
    | merge    = [[Image:Merge-split-transwiki default.svg]]
  | text      = {{#if:{{{smalltext|}}}
    | notice   = [[Image:Info non-talk.png|40px]]
                | {{{smalltext}}}
    | blank    = <!-- empty image cell -->
                | {{{text}}}
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
                }}
   }}</td>
   }}
}}
| #default =  
<td>{{{text}}}</td>
  {{Bmbox/core
{{#if:{{{imageright|}}}|
  | type      = {{{type|}}}
   <td class="ambox-imageright"> {{{imageright}}} </td>
  | image      = {{{image|}}}
}}
   | imageright = {{{imageright|}}}
</tr>
  | style      = {{{style|}}}
</table><noinclude>
  | textstyle  = {{{textstyle|}}}
{{template doc}}
   | text      = {{{text}}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
  }}
}}<!--{{Ambox}} end--><noinclude>
{{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