Difference between revisions of "Template:Mbox"

From FIThydrowiki
Jump to navigation Jump to search
what>Davidgothberg
(Copied and modified the code from Wikipedia:Template standardisation/issuebox.)
 
m (103 revisions imported: Information box for pictures template)
 
(104 intermediate revisions by 39 users not shown)
Line 1: Line 1:
<table class="ambox
+
{{#invoke:Message box|mbox}}<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 12:48, 8 October 2019

Lua error in package.lua at line 80: module 'Module:Arguments' not found. Lua error in package.lua at line 80: module 'Module:Arguments' not found.