Changes

From SME Server
Jump to navigationJump to search
1,543 bytes added ,  23:50, 16 December 2017
Created page with "<noinclude> == Exemple == </noinclude><includeonly><div {{#if: {{{id|}}}|id="{{{id}}}"|}} class="toccolours {{{classe|}}} contrib-box" style="font-size: 100%;{{#switch: {{{typ..."
<noinclude>
== Exemple ==
</noinclude><includeonly><div {{#if: {{{id|}}}|id="{{{id}}}"|}} class="toccolours {{{classe|}}} contrib-box" style="font-size: 100%;{{#switch: {{{type|}}}
| error = border-left-color: #c9302c; border-left-width: 10px;
| alert = border-left-color: #ec971f; border-left-width: 10px;
| confirmation = border-left-color: #449d44; border-left-width: 10px;
| information = border-left-color: #31b0d5; border-left-width: 10px;
}} {{{style|}}}">
{{{content|''Content''}}}
</div></includeonly><noinclude>
{{Box}}
<br>
{{Box|type=error|Content=Error}}
<br>
{{Box|type=alert|content=Alert}}
<br>
{{Box|type=confirmation|content=Confirmation}}
<br>
{{Box|type=information|id=information|content=Information}}
== Utilisation ==
<templatedata>
{
"params": {
"1": {
"description": "boc content can be used instead of \"content\".",
"type": "content"
},
"classe": {
"label": "Classe",
"description": " CSS class for the div."
},
"style": {
"label": "Style",
"description": "inline CSS style to add to box div."
},
"content": {
"label": "Content",
"description": "Box Content.",
"type": "content",
"suggested": true
},
"type": {
"label": "Type",
"description": "Bot type (error, alert, confirmation, information)",
"type": "unbalanced-wikitext"
},
"id": {
"label": "id",
"description": "Box id (\"id\" en HTML) .",
"type": "string"
}
},
"description": "Box to insert some simpler more complex content.",
"format": "block"
}
</templatedata>
</noinclude>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu