|
|
(61 intermediate revisions by 24 users not shown) |
Line 1: |
Line 1: |
− | <table class="ambox
| + | {{#invoke:Message box|ambox}}{{#ifeq:{{{small}}}|left|[[Category:Articles using small message boxes]]}}<noinclude> |
− | {{#switch:{{{type|}}} | + | {{documentation}} |
− | | serious = ambox-serious | + | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
− | | content = ambox-content
| + | |
− | | style = ambox-style
| + | |
− | | merge = ambox-merge
| + | |
− | | notice = ambox-notice
| + | |
− | | #default = ambox-notice
| + | |
− | }}"><tr> | + | |
− | {{#ifeq:{{{image}}}|none| | + | |
− | <!-- image=none -->
| + | |
− | |<!-- else -->
| + | |
− | <td class="ambox-image"><!--
| + | |
− | -->{{#ifeq:{{{image}}}|blank|
| + | |
− | <!-- image=blank -->
| + | |
− | |<!-- image != blank -->
| + | |
− | {{#if:{{{image|}}}|
| + | |
− | {{{image}}}
| + | |
− | |<!-- No image param -->
| + | |
− | {{#switch:{{{type|}}}
| + | |
− | | serious = [[Image:Stop hand nuvola.svg|40px]]
| + | |
− | | content = [[Image:Emblem-important.svg|40px]]
| + | |
− | | style = [[Image:Broom icon.svg|40px]]
| + | |
− | | merge = [[Image:Merge-arrows.svg]]
| + | |
− | | notice = [[Image:Info non-talk.png|40px]]
| + | |
− | | #default = [[Image:Info non-talk.png|40px]]
| + | |
− | }}<!-- End #switch type --> | + | |
− | }}<!-- End if image --> | + | |
− | }}<!-- End ifeq image==blank -->
| + | |
− | </td>
| + | |
− | }}<!-- End ifeq image==none -->
| + | |
− | <td>{{{text}}}</td>
| + | |
− | {{#if:{{{imageright|}}}|
| + | |
− | <td class="ambox-imageright">{{{imageright}}}</td>
| + | |
− | }}
| + | |
− | </tr></table><noinclude>
| + | |
− | | + | |
− | | + | |
− | === The article message box meta template ===
| + | |
− | | + | |
− | This page is the meta template "ambox" that uses CSS classes for pretty much all its looks and that uses default images and has some other nifty features.
| + | |
− | | + | |
− | For usage demonstration, parameter explanations, the CSS code you need and more, see [[Wikipedia:Template standardisation/issuebox demo]].
| + | |
− | | + | |
− | --[[User:Davidgothberg|David Göthberg]] <small>([[User talk:Davidgothberg|talk]])</small> 10:02, 9 September 2007 (UTC) | + | |
− | | + | |
| </noinclude> | | </noinclude> |