Difference between revisions of "Template:Box"

From SME Server
Jump to navigationJump to search
(Created page with "<noinclude> == Exemple == </noinclude><includeonly><div {{#if: {{{id|}}}|id="{{{id}}}"|}} class="toccolours {{{classe|}}} contrib-box" style="font-size: 100%;{{#switch: {{{typ...")
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
== Exemple ==
 
== Exemple ==
</noinclude><includeonly><div {{#if: {{{id|}}}|id="{{{id}}}"|}} class="toccolours {{{classe|}}} contrib-box" style="font-size: 100%;{{#switch: {{{type|}}}
+
</noinclude><includeonly><div {{#if: {{{id|}}}|id="{{{id}}}"|}} class="toccolours {{{classe|}}} contribs-box" style="font-size: 100%;{{#switch: {{{type|}}}
 
  | error = border-left-color: #c9302c; border-left-width: 10px;
 
  | error = border-left-color: #c9302c; border-left-width: 10px;
 
  | alert = border-left-color: #ec971f; border-left-width: 10px;
 
  | alert = border-left-color: #ec971f; border-left-width: 10px;

Latest revision as of 00:27, 17 December 2017

Exemple

Content


Content


Alert


Confirmation


Information

Utilisation

Box to insert some simpler more complex content.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
11

boc content can be used instead of "content".

Contentoptional
Classeclasse

CSS class for the div.

Unknownoptional
Stylestyle

inline CSS style to add to box div.

Unknownoptional
Contentcontent

Box Content.

Contentsuggested
Typetype

Bot type (error, alert, confirmation, information)

Unbalanced wikitextoptional
idid

Box id ("id" en HTML) .

Stringoptional