Template:Infobox software: Difference between revisions

From BOINC Projects
Jump to navigation Jump to search
Al Piskun (talk | contribs)
No edit summary
Al Piskun (talk | contribs)
No edit summary
Line 8: Line 8:
     </tr>
     </tr>
      
      
     <!-- Fixed Image Section (Supports raw filenames or full image link strings) -->
     <!-- Fixed Image Section -->
     {{#if:{{{screenshot|}}}|
     {{#if:{{{screenshot|}}}|
     <tr>
     <tr>
Line 22: Line 22:
     }}
     }}
      
      
     <!-- Data Fields -->
     <!-- Heading: Development -->
    {{#if:{{{developer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}}|
    <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;">
            Development
        </th>
    </tr>
    }}
     {{#if:{{{developer|}}}|
     {{#if:{{{developer|}}}|
     <tr>
     <tr>
Line 39: Line 46:
         <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>
    }}
    {{#if:{{{repository|}}}|
    <tr>
        <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>
    </tr>
    }}
    <!-- Heading: Releases -->
    {{#if:{{{stable release|}}}{{{preview release|}}}|
    <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;">
            Releases
        </th>
    </tr>
    }}
    {{#if:{{{stable release|}}}|
    <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>
        <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; font-size: 12px; line-height: 1.4;">{{{stable release}}}</td>
    </tr>
    }}
    {{#if:{{{preview release|}}}|
    <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>
        <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; font-size: 12px; line-height: 1.4;">{{{preview release}}}</td>
    </tr>
    }}
    <!-- Heading: Environment -->
    {{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}|
    <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
        </th>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{programming language|}}}|
     {{#if:{{{programming language|}}}|
     <tr>
     <tr>
         <th style="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>
Line 57: Line 100:
         <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>
    }}
    <!-- Heading: Software Metadata -->
    {{#if:{{{genre|}}}{{{license|}}}{{{website|}}}|
    <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
        </th>
     </tr>
     </tr>
     }}
     }}
     {{#if:{{{genre|}}}|
     {{#if:{{{genre|}}}|
     <tr>
     <tr>
         <th style="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>
Line 73: Line 125:
     {{#if:{{{website|}}}|
     {{#if:{{{website|}}}|
     <tr>
     <tr>
         <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; 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; 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>
     }}
     }}
    <!-- Footer: Wikidata Integration -->
    <tr>
        <td colspan="2" style="text-align: right; padding: 4px 10px; background-color: #f8f9fa; font-size: 10px; color: #72777d; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;">
            [[File:Wikidata-logo.svg|16px|baseline|link=d:Special:Search/{{PAGENAME}}]] ''Edit this at Wikidata''
        </td>
    </tr>
</table></includeonly>
</table></includeonly>

Revision as of 15:31, 18 May 2026