Changes

From SME Server
Jump to navigationJump to search
m
Protected "Template:Infobox contribs" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Line 6: Line 6:  
|classe= information
 
|classe= information
 
|style= font-size: 88%; line-height: 1.5em;
 
|style= font-size: 88%; line-height: 1.5em;
|content=
+
|content=<table>
<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>
 
   <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:{{{image}}}|300px]]|[[File:NeedImage.svg|300px|link=MW:Import Files]]}}</td></tr>|}}
+
   {{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center">{{#ifexist: File:{{{image}}}|[[File:{{{image}}}|300px]]|[[File:NeedImage.svg|300px|link=SME_Server:Upload]]}}</td></tr>|}}
 
   {{#if:{{{description_image|}}}|<tr><td colspan="2" style="text-align:center; font-size: 90%">{{{description_image}}}</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>Video</th><td>[{{{vidéo}}}]</td></tr>|}}
 
   {{#if: {{{vidéo|}}}|<tr><th>Video</th><td>[{{{vidéo}}}]</td></tr>|}}
 +
  {{#if: {{{maintainer|}}}|<tr><th>Maintainer</th><td>[[user:{{{maintainer}}}|{{{maintainer}}}]]</td></tr>|}}
 +
  {{#if: {{{url|}}}|<tr><th>Url</th><td>{{{url}}}</td></tr>|}}
 +
  {{#if: {{{licence|}}}|<tr><th>Licence</th><td>{{{licence}}}</td></tr>|}}
 +
  {{#if: {{{category|}}}|<tr><th>Category</th><td>[[:Category:{{{category}}}]]</td></tr>|}}
 +
  {{#if: {{{tags|}}}| <tr><th>Tags</th><td> {{#arraydefine:tagsarray|{{{tags|}}} }}{{
 +
#loop: i
 +
| 0                      <!-- loops start value for {{ #var:i }} -->
 +
| {{ #arraysize:tagsarray }} <!-- number of loops -->
 +
|{{#arraydefine: val | {{ #arrayindex:tagsarray | {{ #var:i }} }} | ;}} [[Contrib function::{{ #arrayindex: val | 0 }}]]{{#ifexpr: {{ #var:i }}+1 < {{#arraysize:tagsarray}}|,&nbsp;|}}  }}</td></tr>|}}
 
   <table style="font-size:88%; line-height: 1em;">
 
   <table style="font-size:88%; line-height: 1em;">
 
   </table>
 
   </table>
Line 23: Line 31:  
|category=Filesystem
 
|category=Filesystem
 
|tags=file,sharing,linux,network,lan
 
|tags=file,sharing,linux,network,lan
 +
|maintainer=Unnilennium
 +
|url=https://en.wikipedia.org/wiki/Network_File_System
 
}}
 
}}
 
{{Lorem|paragraphs=5}}
 
{{Lorem|paragraphs=5}}
Line 71: Line 81:  
"type": "string",
 
"type": "string",
 
"suggested": true
 
"suggested": true
 +
},
 +
"classe": {},
 +
"vidéo": {
 +
"description": "url to video with a demo of the software",
 +
"type": "url"
 +
},
 +
"maintainer": {
 +
"description": "username of the current maintainer",
 +
"type": "string"
 +
},
 +
"url": {
 +
"description": "url to the vendor website",
 +
"type": "url"
 +
},
 +
"licence": {
 +
"type": "string"
 
}
 
}
 
},
 
},
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,207

edits

Navigation menu