|
|
| Line 1: |
Line 1: |
| <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);"> | | <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:#fff; 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);"> |
|
| |
|
| <!-- Header -->
| | <tr> |
| <tr>
| | <th colspan="2" style="text-align:center;font-size:18px;font-weight:600;padding:12px;background:#2c3e50;color:#fff;"> |
| <th colspan="2" style="text-align:center;font-size:18px;font-weight:600;padding:12px;background:#2c3e50;color:#fff;">
| | {{{name|{{PAGENAME}}}}} |
| {{{name|{{PAGENAME}}}}}
| | </th> |
| </th>
| | </tr> |
| </tr>
| |
|
| |
|
| <!-- Logo -->
| | {{#if:{{{logo|}}} |
| {{#if:{{{logo|}}}|
| | |<tr><td colspan="2" style="text-align:center;padding:12px;"> |
| <tr>
| | [[File:{{{logo}}}|180px|center]] |
| <td colspan="2" style="text-align:center;padding:12px;">
| | {{#if:{{{logo caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{logo caption}}}</div>}} |
| [[File:{{{logo}}}|180px|center]]
| | </td></tr> |
| {{#if:{{{logo caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{logo caption}}}</div>}}
| | }} |
| </td>
| |
| </tr>
| |
| }}
| |
|
| |
|
| <!-- Screenshot -->
| | {{#if:{{{screenshot|}}} |
| {{#if:{{{screenshot|}}}|
| | |<tr><td colspan="2" style="text-align:center;padding:12px;background:#f8f9fa;"> |
| <tr>
| | [[File:{{{screenshot}}}|240px|center]] |
| <td colspan="2" style="text-align:center;padding:12px;background:#f8f9fa;">
| | {{#if:{{{caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{caption}}}</div>}} |
| [[File:{{{screenshot}}}|240px|center]]
| | </td></tr> |
| {{#if:{{{caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{caption}}}</div>}}
| | }} |
| </td>
| |
| </tr>
| |
| }}
| |
|
| |
|
| <!-- Development -->
| | {{#if:{{{author|}}}{{{developer|}}}{{{maintainer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}} |
| {{#if:{{{developer|}}}{{{author|}}}{{{maintainer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}}|
| | |<tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Development</th></tr> |
| <tr>
| | }} |
| <th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">
| |
| Development
| |
| </th>
| |
| </tr>
| |
| }}
| |
|
| |
|
| {{#if:{{{author|}}}|<tr><th>Author</th><td>{{{author}}}</td></tr>}}
| | {{#if:{{{author|}}}|<tr><th>Author</th><td>{{{author}}}</td></tr>}} |
| {{#if:{{{developer|}}}|<tr><th>Developer</th><td>{{{developer}}}</td></tr>}}
| | {{#if:{{{developer|}}}|<tr><th>Developer</th><td>{{{developer}}}</td></tr>}} |
| {{#if:{{{maintainer|}}}|<tr><th>Maintainer</th><td>{{{maintainer}}}</td></tr>}}
| | {{#if:{{{maintainer|}}}|<tr><th>Maintainer</th><td>{{{maintainer}}}</td></tr>}} |
| {{#if:{{{released|}}}|<tr><th>Initial release</th><td>{{{released}}}</td></tr>}}
| | {{#if:{{{released|}}}|<tr><th>Initial release</th><td>{{{released}}}</td></tr>}} |
| {{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td style="color:#b32121;font-weight:500;">{{{discontinued}}}</td></tr>}}
| | {{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td style="color:#b32121;font-weight:500;">{{{discontinued}}}</td></tr>}} |
| {{#if:{{{repository|}}}|<tr><th>Repository</th><td>{{{repository}}}</td></tr>}}
| | {{#if:{{{repository|}}}|<tr><th>Repository</th><td>{{{repository}}}</td></tr>}} |
|
| |
|
| <!-- Releases -->
| | {{#if:{{{stable release|}}}{{{preview release|}}}{{{latest release version|}}}{{{latest preview version|}}} |
| {{#if:{{{stable release|}}}{{{preview release|}}}{{{latest release version|}}}{{{latest preview version|}}}|
| | |<tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Releases</th></tr> |
| <tr>
| | }} |
| <th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">
| |
| Releases
| |
| </th>
| |
| </tr>
| |
| }}
| |
|
| |
|
| {{#if:{{{stable release|}}}|<tr><th>Stable release</th><td>{{{stable release}}}</td></tr>}}
| | {{#if:{{{stable release|}}}|<tr><th>Stable release</th><td>{{{stable release}}}</td></tr>}} |
| {{#if:{{{preview release|}}}|<tr><th>Preview release</th><td>{{{preview release}}}</td></tr>}}
| | {{#if:{{{preview release|}}}|<tr><th>Preview release</th><td>{{{preview release}}}</td></tr>}} |
| {{#if:{{{latest release version|}}}|<tr><th>Latest version</th><td>{{{latest release version}}}</td></tr>}}
| | {{#if:{{{latest release version|}}}|<tr><th>Latest version</th><td>{{{latest release version}}}</td></tr>}} |
| {{#if:{{{latest preview version|}}}|<tr><th>Latest preview</th><td>{{{latest preview version}}}</td></tr>}}
| | {{#if:{{{latest preview version|}}}|<tr><th>Latest preview</th><td>{{{latest preview version}}}</td></tr>}} |
|
| |
|
| <!-- Environment -->
| | {{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}{{{language|}}}{{{language count|}}}{{{size|}}} |
| {{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}{{{size|}}}{{{language|}}}{{{language count|}}}|
| | |<tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Environment</th></tr> |
| <tr>
| | }} |
| <th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">
| |
| Environment
| |
| </th>
| |
| </tr>
| |
| }}
| |
|
| |
|
| {{#if:{{{programming language|}}}|<tr><th>Written in</th><td>{{{programming language}}}</td></tr>}}
| | {{#if:{{{programming language|}}}|<tr><th>Written in</th><td>{{{programming language}}}</td></tr>}} |
| {{#if:{{{operating system|}}}|<tr><th>Operating system</th><td>{{{operating system}}}</td></tr>}}
| | {{#if:{{{operating system|}}}|<tr><th>Operating system</th><td>{{{operating system}}}</td></tr>}} |
| {{#if:{{{platform|}}}|<tr><th>Platform</th><td>{{{platform}}}</td></tr>}}
| | {{#if:{{{platform|}}}|<tr><th>Platform</th><td>{{{platform}}}</td></tr>}} |
| {{#if:{{{language|}}}|<tr><th>Available in</th><td>{{{language}}}</td></tr>}}
| | {{#if:{{{language|}}}|<tr><th>Available in</th><td>{{{language}}}</td></tr>}} |
| {{#if:{{{language count|}}}|<tr><th>Language count</th><td>{{{language count}}}</td></tr>}}
| | {{#if:{{{language count|}}}|<tr><th>Language count</th><td>{{{language count}}}</td></tr>}} |
| {{#if:{{{size|}}}|<tr><th>Size</th><td>{{{size}}}</td></tr>}}
| | {{#if:{{{size|}}}|<tr><th>Size</th><td>{{{size}}}</td></tr>}} |
|
| |
|
| <!-- ========================= -->
| | {{#if:{{{average performance|}}}{{{active users|}}}{{{total users|}}}{{{active hosts|}}}{{{total hosts|}}} |
| <!-- USAGE STATISTICS -->
| | |<tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Usage statistics</th></tr> |
| <!-- ========================= -->
| | }} |
| {{#if:{{{average performance|}}}{{{active users|}}}{{{total users|}}}{{{active hosts|}}}{{{total hosts|}}}|
| |
| <tr>
| |
| <th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">
| |
| Usage statistics
| |
| </th>
| |
| </tr>
| |
| }}
| |
|
| |
|
| {{#if:{{{average performance|}}}|
| | {{#if:{{{average performance|}}}|<tr><th>Average performance</th><td>{{{average performance}}}</td></tr>}} |
| <tr><th>Average performance</th><td>{{{average performance}}}</td></tr>
| | {{#if:{{{active users|}}}|<tr><th>Active users</th><td>{{formatnum:{{{active users}}}}}</td></tr>}} |
| }}
| | {{#if:{{{total users|}}}|<tr><th>Total users</th><td>{{formatnum:{{{total users}}}}}</td></tr>}} |
| | {{#if:{{{active hosts|}}}|<tr><th>Active hosts</th><td>{{formatnum:{{{active hosts}}}}}</td></tr>}} |
| | {{#if:{{{total hosts|}}}|<tr><th>Total hosts</th><td>{{formatnum:{{{total hosts}}}}}</td></tr>}} |
|
| |
|
| {{#if:{{{active users|}}}|
| | {{#if:{{{rac|}}}{{{credit per day|}}}{{{gpu performance|}}}{{{cpu performance|}}} |
| <tr><th>Active users</th><td>{{formatnum:{{{active users}}}}}</td></tr>
| | |<tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">BOINC analytics</th></tr> |
| }}
| | }} |
|
| |
|
| {{#if:{{{total users|}}}|
| | {{#if:{{{rac|}}}|<tr><th>RAC</th><td>{{formatnum:{{{rac}}}}}</td></tr>}} |
| <tr><th>Total users</th><td>{{formatnum:{{{total users}}}}}</td></tr>
| | {{#if:{{{credit per day|}}}|<tr><th>Credit/day</th><td>{{formatnum:{{{credit per day}}}}}</td></tr>}} |
| }}
| | {{#if:{{{gpu performance|}}}|<tr><th>GPU performance</th><td>{{{gpu performance}}}</td></tr>}} |
| | {{#if:{{{cpu performance|}}}|<tr><th>CPU performance</th><td>{{{cpu performance}}}</td></tr>}} |
|
| |
|
| {{#if:{{{active hosts|}}}|
| | {{#if:{{{genre|}}}{{{license|}}}{{{website|}}}{{{type|}}}{{{status|}}} |
| <tr><th>Active hosts</th><td>{{formatnum:{{{active hosts}}}}}</td></tr>
| | |<tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Software metadata</th></tr> |
| }}
| | }} |
|
| |
|
| {{#if:{{{total hosts|}}}|
| | {{#if:{{{type|}}}|<tr><th>Type</th><td>{{{type}}}</td></tr>}} |
| <tr><th>Total hosts</th><td>{{formatnum:{{{total hosts}}}}}</td></tr>
| | {{#if:{{{genre|}}}|<tr><th>Genre</th><td>{{{genre}}}</td></tr>}} |
| }}
| | {{#if:{{{status|}}}|<tr><th>Status</th><td>{{{status}}}</td></tr>}} |
| | {{#if:{{{license|}}}|<tr><th>License</th><td>{{{license}}}</td></tr>}} |
| | {{#if:{{{website|}}}|<tr><th>Website</th><td>{{{website}}}</td></tr>}} |
|
| |
|
| <!-- BOINC analytics -->
| | </table> |
| {{#if:{{{rac|}}}{{{credit per day|}}}{{{gpu performance|}}}{{{cpu performance|}}}|
| | </includeonly> |
| <tr>
| |
| <th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">
| |
| BOINC analytics
| |
| </th>
| |
| </tr>
| |
| }}
| |
| | |
| {{#if:{{{rac|}}}|<tr><th>RAC</th><td>{{formatnum:{{{rac}}}}}</td></tr>}}
| |
| {{#if:{{{credit per day|}}}|<tr><th>Credit/day</th><td>{{formatnum:{{{credit per day}}}}}</td></tr>}}
| |
| {{#if:{{{gpu performance|}}}|<tr><th>GPU performance</th><td>{{{gpu performance}}}</td></tr>}}
| |
| {{#if:{{{cpu performance|}}}|<tr><th>CPU performance</th><td>{{{cpu performance}}}</td></tr>}}
| |
| | |
| <!-- Metadata -->
| |
| {{#if:{{{genre|}}}{{{license|}}}{{{website|}}}{{{type|}}}{{{status|}}}|
| |
| <tr>
| |
| <th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">
| |
| Software Metadata
| |
| </th>
| |
| </tr>
| |
| }}
| |
| | |
| {{#if:{{{type|}}}|<tr><th>Type</th><td>{{{type}}}</td></tr>}}
| |
| {{#if:{{{genre|}}}|<tr><th>Genre</th><td>{{{genre}}}</td></tr>}}
| |
| {{#if:{{{status|}}}|<tr><th>Status</th><td>{{{status}}}</td></tr>}}
| |
| {{#if:{{{license|}}}|<tr><th>License</th><td>{{{license}}}</td></tr>}}
| |
| {{#if:{{{website|}}}|<tr><th>Website</th><td>{{{website}}}</td></tr>}}
| |
| | |
| </table></includeonly>
| |
|
| |
|
| <noinclude> | | <noinclude> |
| <templatedata>
| | Template:Infobox software – cleaned version for BOINC/software articles. |
| {
| |
| "description": "Infobox for software and BOINC project articles",
| |
| "params": {
| |
| | |
| "name": {
| |
| "label": "Name",
| |
| "description": "Name of the software or project",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| | |
| "logo": {
| |
| "label": "Logo",
| |
| "type": "wiki-file-name"
| |
| },
| |
| | |
| "logo caption": {
| |
| "label": "Logo caption",
| |
| "type": "string"
| |
| },
| |
| | |
| "screenshot": {
| |
| "label": "Screenshot",
| |
| "type": "wiki-file-name"
| |
| },
| |
| | |
| "caption": {
| |
| "label": "Screenshot caption",
| |
| "type": "string"
| |
| },
| |
| | |
| "author": {
| |
| "label": "Author",
| |
| "type": "string"
| |
| },
| |
| | |
| "developer": {
| |
| "label": "Developer",
| |
| "type": "string"
| |
| },
| |
| | |
| "maintainer": {
| |
| "label": "Maintainer",
| |
| "type": "string"
| |
| },
| |
| | |
| "released": {
| |
| "label": "Initial release",
| |
| "type": "string",
| |
| "description": "Release date or version string"
| |
| },
| |
| | |
| "discontinued": {
| |
| "label": "Discontinued",
| |
| "type": "string"
| |
| },
| |
| | |
| "repository": {
| |
| "label": "Repository",
| |
| "type": "string"
| |
| },
| |
| | |
| "stable release": {
| |
| "label": "Stable release",
| |
| "type": "string"
| |
| },
| |
| | |
| "preview release": {
| |
| "label": "Preview release",
| |
| "type": "string"
| |
| },
| |
| | |
| "latest release version": {
| |
| "label": "Latest version",
| |
| "type": "string"
| |
| },
| |
| | |
| "latest preview version": {
| |
| "label": "Latest preview version",
| |
| "type": "string"
| |
| },
| |
| | |
| "programming language": {
| |
| "label": "Programming language",
| |
| "type": "string"
| |
| },
| |
| | |
| "operating system": {
| |
| "label": "Operating system",
| |
| "type": "string"
| |
| },
| |
| | |
| "platform": {
| |
| "label": "Platform",
| |
| "type": "string"
| |
| },
| |
| | |
| "language": {
| |
| "label": "Language",
| |
| "type": "string"
| |
| },
| |
| | |
| "language count": {
| |
| "label": "Language count",
| |
| "type": "number"
| |
| },
| |
| | |
| "size": {
| |
| "label": "Size",
| |
| "type": "string"
| |
| },
| |
| | |
| "average performance": {
| |
| "label": "Average performance",
| |
| "type": "string"
| |
| },
| |
| | |
| "active users": {
| |
| "label": "Active users",
| |
| "type": "number"
| |
| },
| |
| | |
| "total users": {
| |
| "label": "Total users",
| |
| "type": "number"
| |
| },
| |
| | |
| "active hosts": {
| |
| "label": "Active hosts",
| |
| "type": "number"
| |
| },
| |
| | |
| "total hosts": {
| |
| "label": "Total hosts",
| |
| "type": "number"
| |
| },
| |
| | |
| "rac": {
| |
| "label": "RAC",
| |
| "description": "Recent Average Credit",
| |
| "type": "number"
| |
| },
| |
| | |
| "credit per day": {
| |
| "label": "Credit per day",
| |
| "type": "number"
| |
| },
| |
| | |
| "gpu performance": {
| |
| "label": "GPU performance",
| |
| "type": "string"
| |
| },
| |
| | |
| "cpu performance": {
| |
| "label": "CPU performance",
| |
| "type": "string"
| |
| },
| |
| | |
| "project status": {
| |
| "label": "Project status",
| |
| "type": "string"
| |
| },
| |
| | |
| "type": {
| |
| "label": "Type",
| |
| "type": "string"
| |
| },
| |
| | |
| "genre": {
| |
| "label": "Genre",
| |
| "type": "string"
| |
| },
| |
| | |
| "status": {
| |
| "label": "Status",
| |
| "type": "string"
| |
| },
| |
| | |
| "license": {
| |
| "label": "License",
| |
| "type": "string"
| |
| },
| |
| | |
| "website": {
| |
| "label": "Website",
| |
| "type": "string"
| |
| }
| |
| },
| |
| | |
| "paramOrder": [
| |
| "name",
| |
| "logo",
| |
| "logo caption",
| |
| "screenshot",
| |
| "caption",
| |
| | |
| "author",
| |
| "developer",
| |
| "maintainer",
| |
| "released",
| |
| "discontinued",
| |
| "repository",
| |
| | |
| "stable release",
| |
| "preview release",
| |
| "latest release version",
| |
| "latest preview version",
| |
| | |
| "programming language",
| |
| "operating system",
| |
| "platform",
| |
| "language",
| |
| "language count",
| |
| "size",
| |
| | |
| "average performance",
| |
| "active users",
| |
| "total users",
| |
| "active hosts",
| |
| "total hosts",
| |
| | |
| "rac",
| |
| "credit per day",
| |
| "gpu performance",
| |
| "cpu performance",
| |
| "project status",
| |
| | |
| "type",
| |
| "genre",
| |
| "status",
| |
| "license",
| |
| "website"
| |
| ]
| |
| }
| |
| </templatedata>
| |
| </noinclude> | | </noinclude> |