Template:Infobox software: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| 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-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);"> | ||
<!-- Header | <!-- Header --> | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align: center; font-size: 18px; font-weight: 600; padding: 12px; background | <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> | ||
| Line 11: | Line 11: | ||
{{#if:{{{logo|}}}| | {{#if:{{{logo|}}}| | ||
<tr> | <tr> | ||
<td colspan="2" style="text-align:center; padding:12px | <td colspan="2" style="text-align:center;padding:12px;"> | ||
[[File:{{{logo}}}|180px|center]] | [[File:{{{logo}}}|180px|center]] | ||
{{#if:{{{logo caption|}}}|<div style="font-size:11px; color:#54595d; margin-top:6px;">{{{logo caption}}}</div>}} | {{#if:{{{logo caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{logo caption}}}</div>}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 21: | Line 21: | ||
{{#if:{{{screenshot|}}}| | {{#if:{{{screenshot|}}}| | ||
<tr> | <tr> | ||
<td colspan="2" style="text-align: center; padding: 12px; background | <td colspan="2" style="text-align:center;padding:12px;background:#f8f9fa;"> | ||
[[File:{{{screenshot}}}|240px|center]] | [[File:{{{screenshot}}}|240px|center]] | ||
{{#if:{{{caption|}}}|<div style="font-size: 11px; color: #54595d; margin-top: 6px;">{{{caption}}}</div>}} | {{#if:{{{caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{caption}}}</div>}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 30: | Line 30: | ||
<!-- Development --> | <!-- Development --> | ||
{{#if:{{{developer|}}}{{{author|}}}{{{maintainer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}}| | {{#if:{{{developer|}}}{{{author|}}}{{{maintainer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}}| | ||
<tr> | <tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Development</th></tr> | ||
}} | }} | ||
| Line 40: | Line 36: | ||
{{#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>}} | |||
<!-- Initial release WITH AGE --> | |||
{{#if:{{{released|}}}| | |||
<tr> | |||
<th>Initial release</th> | |||
<td> | |||
{{{released}}} | |||
{{#if:{{{released date|}}}|<br><small>{{{{Start date and age|{{{released date}}}}}}}</small>}} | |||
</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>}} | ||
| Line 46: | Line 53: | ||
<!-- Releases --> | <!-- Releases --> | ||
{{#if:{{{stable release|}}}{{{preview release|}}}{{{latest release version|}}}{{{latest preview version|}}}| | {{#if:{{{stable release|}}}{{{preview release|}}}{{{latest release version|}}}{{{latest preview version|}}}| | ||
<tr> | <tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Releases</th></tr> | ||
}} | }} | ||
| Line 60: | Line 63: | ||
<!-- Environment --> | <!-- Environment --> | ||
{{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}{{{size|}}}{{{language|}}}{{{language count|}}}| | {{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}{{{size|}}}{{{language|}}}{{{language count|}}}| | ||
<tr> | <tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Environment</th></tr> | ||
}} | }} | ||
| Line 75: | Line 74: | ||
<!-- ========================= --> | <!-- ========================= --> | ||
<!-- USAGE STATISTICS | <!-- USAGE STATISTICS --> | ||
<!-- ========================= --> | <!-- ========================= --> | ||
{{#if:{{{average performance|}}}{{{active users|}}}{{{total users|}}}{{{active hosts|}}}{{{total hosts|}}}| | {{#if:{{{average performance|}}}{{{active users|}}}{{{total users|}}}{{{active hosts|}}}{{{total hosts|}}}{{{rac|}}}{{{credit per day|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center; font-size:11px; font-weight:700 | <th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;"> | ||
Usage statistics | Usage statistics | ||
</th> | </th> | ||
| Line 85: | Line 84: | ||
}} | }} | ||
<!-- Average performance WITH timestamp --> | |||
{{#if:{{{average performance|}}}| | {{#if:{{{average performance|}}}| | ||
<tr> | <tr> | ||
<th>Average performance</th> | <th>Average performance</th> | ||
<td> | <td> | ||
{{{average performance}}} | |||
{{#if:{{{average performance date|}}}| | |||
<br><small>{{{{Start date and age|{{{average performance date}}}}}}}</small> | |||
}} | }} | ||
</td> | </td> | ||
| Line 103: | Line 97: | ||
}} | }} | ||
{{#if:{{{active users|}}}|<tr><th>Active users</th><td>{{formatnum:{{{active users}}} | {{#if:{{{active users|}}}| | ||
<tr> | |||
<th>Active users</th> | |||
<td> | |||
{{formatnum:{{{active users}}}}} | |||
{{#if:{{{active users date|}}}| | |||
<br><small>{{{{Start date and age|{{{active users date}}}}}}}</small> | |||
}} | |||
</td> | |||
</tr> | |||
}} | |||
{{#if:{{{total users|}}}| | |||
{{#if:{{{ | |||
<tr> | <tr> | ||
<th | <th>Total users</th> | ||
<td> | |||
</ | {{formatnum:{{{total users}}}}} | ||
{{#if:{{{total users date|}}}| | |||
<br><small>{{{{Start date and age|{{{total users date}}}}}}}</small> | |||
}} | |||
</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{active hosts|}}}| | ||
<tr> | |||
<th>Active hosts</th> | |||
<td> | |||
{{formatnum:{{{active hosts}}}}} | |||
{{#if:{{{active hosts date|}}}| | |||
<br><small>{{{{Start date and age|{{{active hosts date}}}}}}}</small> | |||
}} | |||
</td> | |||
</tr> | |||
}} | |||
</ | {{#if:{{{total hosts|}}}| | ||
<tr> | |||
<th>Total hosts</th> | |||
<td> | |||
{{formatnum:{{{total hosts}}}}} | |||
{{#if:{{{total hosts date|}}}| | |||
<br><small>{{{{Start date and age|{{{total hosts date}}}}}}}</small> | |||
}} | |||
</td> | |||
</tr> | |||
}} | |||
< | <!-- BOINC ANALYTICS EXTENSION --> | ||
{{#if:{{{rac|}}}{{{credit per day|}}}{{{gpu performance|}}}{{{cpu performance|}}}| | |||
{ | <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> | |||
</ | |||
</ | |||