Changes

From SME Server
Jump to navigationJump to search
Line 9: Line 9:  
<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: {{{category|}}}|<tr><th>Category</th><td>[{{{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}} |, |}}  }}</td></tr>|}}
 
   <table style="font-size:88%; line-height: 1em;">
 
   <table style="font-size:88%; line-height: 1em;">
 
   </table>
 
   </table>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,221

edits

Navigation menu