Changes

From SME Server
Jump to navigationJump to search
Created page with "<noinclude> == Example == </noinclude><includeonly><html> <style type="text/css"> .information th, .information td { vertical-align: top; text-align:left; } .information ul,..."
<noinclude>
== Example ==
</noinclude><includeonly><html>
<style type="text/css">
.information th, .information td { vertical-align: top; text-align:left; }
.information ul, .information ol { margin-top: 0px; }
.information table { border-spacing: 3px; }
@media (min-width:720px)
{
.information { float: right; margin:0.5em 0 0.5em 1em; }
.information table { width: 22em !important; }
}
</style></html>
{{#if:{{{image|}}}|{{#set:|Image={{{image}}}}}|}}{{#if:{{{description_image|}}}|{{#set:|Description_image={{{description_image}}}}}|}}{{#if:{{{video|}}}|{{#set:|Video={{{video}}}}}|}}
{{Box
|classe= contrib info
|style= font-size: 88%; line-height: 1.5em;
|content=
<table>
<caption class="nomobile" style="display: table-caption; font-size: 125%; font-weight: bold;">{{{name|Contrib name}}} {{#if:{{{classe|}}}|<br/><span style="font-size: 75%">({{{classe}}})</span>|}}</caption>
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center">{{#ifexist: File:{{{image}}}|[[File:{{#setmainimage:{{{image}}}}}|300px]]|[[File:Besoin d'une image.svg|300px|link=Wikimedica:Importation de fichiers]]}}</td></tr>|}}
{{#if:{{{description_image|}}}|<tr><td colspan="2" style="text-align:center; font-size: 90%">{{{description_image}}}</td></tr>|}}
{{#if: {{{vidéo|}}}|<tr><th>Vidéo</th><td>[{{{vidéo}}}]</td></tr>|}}{{#if: {{{son|}}}|<tr><th>Son</th><td>[[Fichier:{{{son}}}]]</td></tr>|}}
<table style="font-size:88%; line-height: 1em;">
</table>
</table>
}}</includeonly><noinclude>

{{Infobox contribs
|name=NFS
|image=Nfs.jpg
|description_image= NFS logo
|category=Filesystem
|tags=file,sharing,linux,network,lan
}}
{{Lorem|paragraphs=5}}

== Utilisation ==
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "Full name of the contrib (without smeserver-)",
"example": "Nfs",
"type": "line",
"required": true,
"autovalue": ""
},
"description_image": {
"label": "Image description",
"description": "Description to put under the image",
"example": "NFS logo",
"type": "line"
},
"image": {
"label": "Image",
"description": "Image or logo to illustrate contrib.",
"example": "Nfs.jpg",
"type": "wiki-file-name",
"suggested": true
},
"video": {
"label": "Video",
"description": "URL to video showing the contrib.",
"example": "https://youtu.be/kqEZcq2RIB0?list=PLlXrU5eGVfZy2tVqqhMhuaTvH30YsvQLc",
"type": "url",
"suggested": true
},
"category": {
"label": "Category",
"description": "Main category of the contrib",
"example": "Filesystem",
"type": "string",
"suggested": true
},
"tags": {
"label": "tags",
"description": "list of coma separated tags related to this contrib",
"example": "file,sharing,linux,network,lan",
"type": "string",
"suggested": true
}
},
"description": "Box to highlight contrib.",
"format": "block"
}
</templatedata>
</noinclude>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,240

edits

Navigation menu