Template:Infobox software: Difference between revisions

From BOINC Projects
Jump to navigation Jump to search
Al Piskun (talk | contribs)
Wikipedia template
Al Piskun (talk | contribs)
Undo revision 1059 by Al Piskun (talk)
Tag: Undo
Line 1: Line 1:
{{Infobox software
<includeonly><table class="infobox" style="width: 280px; float: right; clear: right; margin: 0 0 1em 1em; border: 1px solid #c8ccd1; border-radius: 4px; border-collapse: separate; border-spacing: 0; background-color: #ffffff; color: #202122; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Lato, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.5; box-shadow: 0 1px 3px rgba(0,0,0,0.05);">
| title = <!-- defaults to {{PAGENAMEBASE}} -->
   
| logo = <!-- File name without 'File:' -->
    <!-- Header / Title -->
| logo caption =
    <tr>
| logo alt =
        <th colspan="2" style="text-align: center; font-size: 18px; font-weight: 600; padding: 12px; background-color: #2c3e50; color: #ffffff; border-top-left-radius: 3px; border-top-right-radius: 3px;">
| logo upright =
            {{{name|{{PAGENAME}}}}}
| logo size =
        </th>
| collapsible = <!-- Any text here will collapse the screenshot. -->
    </tr>
| screenshot = <!-- File name without 'File:' -->
   
| screenshot upright =
    <!-- Fixed Image Section -->
| screenshot size =
    {{#if:{{{screenshot|}}}|
| screenshot alt =
    <tr>
| caption =
        <td colspan="2" style="text-align: center; padding: 12px; background-color: #f8f9fa; border-bottom: 1px solid #eaecf0;">
| other_names =
            {{#ifexist: Media:{{{screenshot}}}
| author =
 
| developer =
                | [[File:{{{screenshot}}}|240px|center]]
| released = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
                | <div style="max-width:240px; margin:0 auto; text-align:center;">{{{screenshot}}}</div>
| ver layout = <!-- simple (default) or stacked -->
            }}
| discontinued = <!-- Set to yes, if software is discontinued, otherwise omit. -->
            {{#if:{{{caption|}}}|<div style="font-size: 11px; color: #54595d; line-height: 1.3; margin-top: 6px; padding: 0 4px;">{{{caption}}}</div>}}
| latest release version =  
        </td>
| latest release date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
    </tr>
| latest preview version =
    }}
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
   
| repo = <!-- {{URL|example.org}} -->
    <!-- Heading: Development -->
| qid =  
    {{#if:{{{developer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}}|
| programming language =
    <tr>
| middleware =
        <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;">
| engine = <!-- or |engines= -->
            Development
| operating system =
        </th>
| platform =  
    </tr>
| included with =  
    }}
| replaces =
    {{#if:{{{developer|}}}|
| replaced_by =
    <tr>
| service_name =  
        <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>
| size =  
        <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{developer}}}</td>
| standard =  
    </tr>
| language =
    }}
| language count = <!-- Number only -->
    {{#if:{{{released|}}}|
| language footnote =  
    <tr>
| genre =
        <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Initial release</th>
| license = <!-- or |licence= -->
        <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{released}}}</td>
| website = <!-- {{URL|example.org}} or {{official URL}} -->
    </tr>
| AsOf =  
    }}
| module = <!-- Used to embed other templates -->
    {{#if:{{{discontinued|}}}|
}}
    <tr>
        <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>
    </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>
    }}
    {{#if:{{{programming language|}}}|
    <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>
        <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{programming language}}}</td>
    </tr>
    }}
    {{#if:{{{operating system|}}}|
    <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>
        <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{operating system}}}</td>
    </tr>
    }}
    {{#if:{{{platform|}}}|
    <tr>
        <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>
    </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>
    }}
    {{#if:{{{genre|}}}|
    <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>
        <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{genre}}}</td>
    </tr>
    }}
    {{#if:{{{license|}}}|
    <tr>
        <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>
    </tr>
    }}
    {{#if:{{{website|}}}|
    <tr>
        <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>
    </tr>
    }}
 
</table></includeonly>

Revision as of 18:18, 18 May 2026