Template:Ambox: Difference between revisions

From BitProjects
Jump to navigation Jump to search
Infobox>Davidgothberg
Copied and modified the code from Wikipedia:Template standardisation/issuebox.
 
m 94 revisions imported
 
(93 intermediate revisions by 31 users not shown)
Line 1: Line 1:
<table class="ambox
{{#invoke:Message box|ambox}}<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&nbsp;Göthberg]]&nbsp;<small>([[User talk:Davidgothberg|talk]])</small> 10:02, 9 September 2007 (UTC)
 
</noinclude>
</noinclude>

Latest revision as of 23:09, 27 September 2025

Lua error in package.lua at line 80: module 'Module:Category handler' not found. Template:Documentation