Difference between revisions of "Template:Box"
From SME Server
Jump to navigationJump to searchUnnilennium (talk | contribs) (Created page with "<noinclude> == Exemple == </noinclude><includeonly><div {{#if: {{{id|}}}|id="{{{id}}}"|}} class="toccolours {{{classe|}}} contrib-box" style="font-size: 100%;{{#switch: {{{typ...") |
Unnilennium (talk | contribs) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Exemple == | == Exemple == | ||
− | </noinclude><includeonly><div {{#if: {{{id|}}}|id="{{{id}}}"|}} class="toccolours {{{classe|}}} | + | </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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | boc content can be used instead of "content". | Content | optional |
Classe | classe | CSS class for the div. | Unknown | optional |
Style | style | inline CSS style to add to box div. | Unknown | optional |
Content | content | Box Content. | Content | suggested |
Type | type | Bot type (error, alert, confirmation, information) | Unbalanced wikitext | optional |
id | id | Box id ("id" en HTML) . | String | optional |