Template:Infobox software: Difference between revisions

From BOINC Projects
Jump to navigation Jump to search
Al Piskun (talk | contribs)
No edit summary
Tag: Manual revert
Al Piskun (talk | contribs)
No edit summary
Tag: Manual revert
Line 7: Line 7:
         </th>
         </th>
     </tr>
     </tr>
    <!-- Logo -->
    {{#if:{{{logo|}}}|
    <tr>
        <td colspan="2" style="text-align:center; padding:12px; background-color:#ffffff; border-bottom:1px solid #eaecf0;">
            [[File:{{{logo}}}|180px|center]]
            {{#if:{{{logo caption|}}}|
            <div style="font-size:11px; color:#54595d; margin-top:6px;">{{{logo caption}}}</div>
            }}
        </td>
    </tr>
    }}
      
      
     <!-- Screenshot -->
     <!-- Fixed Image Section -->
     {{#if:{{{screenshot|}}}|
     {{#if:{{{screenshot|}}}|
     <tr>
     <tr>
         <td colspan="2" style="text-align: center; padding: 12px; background-color: #f8f9fa; border-bottom: 1px solid #eaecf0;">
         <td colspan="2" style="text-align: center; padding: 12px; background-color: #f8f9fa; border-bottom: 1px solid #eaecf0;">
             [[File:{{{screenshot}}}|240px|center]]
             {{#ifexist: Media:{{{screenshot}}}
            {{#if:{{{caption|}}}|
 
            <div style="font-size: 11px; color: #54595d; line-height: 1.3; margin-top: 6px; padding: 0 4px;">
                | [[File:{{{screenshot}}}|240px|center]]  
                {{{caption}}}
                | <div style="max-width:240px; margin:0 auto; text-align:center;">{{{screenshot}}}</div>  
            </div>
             }}
             }}
            {{#if:{{{caption|}}}|<div style="font-size: 11px; color: #54595d; line-height: 1.3; margin-top: 6px; padding: 0 4px;">{{{caption}}}</div>}}
         </td>
         </td>
     </tr>
     </tr>
     }}
     }}
 
   
     <!-- Developer Information -->
     <!-- Heading: Development -->
     {{#if:{{{developer|}}}{{{author|}}}{{{maintainer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}}|
     {{#if:{{{developer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}}|
     <tr>
     <tr>
         <th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;">
         <th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;">
Line 42: Line 30:
     </tr>
     </tr>
     }}
     }}
    {{#if:{{{author|}}}|
    <tr>
        <th style="width:35%; padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Author</th>
        <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{author}}}</td>
    </tr>
    }}
     {{#if:{{{developer|}}}|
     {{#if:{{{developer|}}}|
     <tr>
     <tr>
         <th style="width:35%; padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Developer</th>
         <th style="width: 35%; padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Developer</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{developer}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{developer}}}</td>
    </tr>
    }}
 
    {{#if:{{{maintainer|}}}|
    <tr>
        <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Maintainer</th>
        <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{maintainer}}}</td>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{released|}}}|
     {{#if:{{{released|}}}|
     <tr>
     <tr>
         <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Initial release</th>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Initial release</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{released}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{released}}}</td>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{discontinued|}}}|
     {{#if:{{{discontinued|}}}|
     <tr>
     <tr>
         <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Discontinued</th>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Discontinued</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top; color:#b32121; font-weight:500;">{{{discontinued}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; color: #b32121; font-weight: 500;">{{{discontinued}}}</td>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{repository|}}}|
     {{#if:{{{repository|}}}|
     <tr>
     <tr>
         <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Repository</th>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Repository</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top; word-break:break-all;">{{{repository}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; word-break: break-all;">{{{repository}}}</td>
     </tr>
     </tr>
     }}
     }}


     <!-- Releases -->
     <!-- Heading: Releases -->
     {{#if:{{{stable release|}}}{{{preview release|}}}{{{latest release version|}}}{{{latest preview version|}}}|
     {{#if:{{{stable release|}}}{{{preview release|}}}|
     <tr>
     <tr>
         <th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; padding:6px 10px; background-color:#f8f9fa; color:#54595d; border-bottom:1px solid #eaecf0;">
         <th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;">
             Releases
             Releases
         </th>
         </th>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{stable release|}}}|
     {{#if:{{{stable release|}}}|
     <tr>
     <tr>
         <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Stable release</th>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Stable release</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{stable release}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; font-size: 12px; line-height: 1.4;">{{{stable release}}}</td>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{preview release|}}}|
     {{#if:{{{preview release|}}}|
     <tr>
     <tr>
         <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Preview release</th>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Preview release</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{preview release}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; font-size: 12px; line-height: 1.4;">{{{preview release}}}</td>
     </tr>
     </tr>
     }}
     }}


     {{#if:{{{latest release version|}}}|
    <!-- Heading: Environment -->
     {{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}|
     <tr>
     <tr>
        <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Latest version</th>
         <th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;">
        <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{latest release version}}}</td>
    </tr>
    }}
 
    {{#if:{{{latest preview version|}}}|
    <tr>
        <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Latest preview</th>
        <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{latest preview version}}}</td>
    </tr>
    }}
 
    <!-- Environment -->
    {{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}{{{size|}}}{{{language|}}}{{{language count|}}}|
    <tr>
         <th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; padding:6px 10px; background-color:#f8f9fa; color:#54595d; border-bottom:1px solid #eaecf0;">
             Environment
             Environment
         </th>
         </th>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{programming language|}}}|
     {{#if:{{{programming language|}}}|
     <tr>
     <tr>
         <th style="width:35%; padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Written in</th>
         <th style="width: 35%; padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Written in</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{programming language}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{programming language}}}</td>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{operating system|}}}|
     {{#if:{{{operating system|}}}|
     <tr>
     <tr>
         <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Operating system</th>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Operating system</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{operating system}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{operating system}}}</td>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{platform|}}}|
     {{#if:{{{platform|}}}|
     <tr>
     <tr>
         <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Platform</th>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Platform</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{platform}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{platform}}}</td>
     </tr>
     </tr>
     }}
     }}


     {{#if:{{{language|}}}|
    <!-- Heading: Software Metadata -->
     {{#if:{{{genre|}}}{{{license|}}}{{{website|}}}|
     <tr>
     <tr>
        <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Available in</th>
         <th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;">
        <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{language}}}</td>
    </tr>
    }}
 
    {{#if:{{{language count|}}}|
    <tr>
        <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Language count</th>
        <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{language count}}}</td>
    </tr>
    }}
 
    {{#if:{{{size|}}}|
    <tr>
        <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Size</th>
        <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{size}}}</td>
    </tr>
    }}
 
    <!-- Software Metadata -->
    {{#if:{{{genre|}}}{{{license|}}}{{{website|}}}{{{type|}}}{{{status|}}}|
    <tr>
         <th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; padding:6px 10px; background-color:#f8f9fa; color:#54595d; border-bottom:1px solid #eaecf0;">
             Software Metadata
             Software Metadata
         </th>
         </th>
     </tr>
     </tr>
     }}
     }}
    {{#if:{{{type|}}}|
    <tr>
        <th style="width:35%; padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Type</th>
        <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{type}}}</td>
    </tr>
    }}
     {{#if:{{{genre|}}}|
     {{#if:{{{genre|}}}|
     <tr>
     <tr>
         <th style="width:35%; padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Genre</th>
         <th style="width: 35%; padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Genre</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{genre}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{genre}}}</td>
     </tr>
     </tr>
     }}
     }}
    {{#if:{{{status|}}}|
    <tr>
        <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Status</th>
        <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{status}}}</td>
    </tr>
    }}
     {{#if:{{{license|}}}|
     {{#if:{{{license|}}}|
     <tr>
     <tr>
         <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">License</th>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">License</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{license}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{license}}}</td>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{website|}}}|
     {{#if:{{{website|}}}|
     <tr>
     <tr>
         <th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Website</th>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Website</th>
         <td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top; word-break:break-all;">{{{website}}}</td>
         <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; word-break: break-all;">{{{website}}}</td>
     </tr>
     </tr>
     }}
     }}


</table></includeonly>
</table></includeonly>

Revision as of 18:34, 18 May 2026