Template:Infobox software: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<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);"> | <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);"> | ||
<!-- TITLE --> | |||
<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;"> | ||
| Line 8: | Line 9: | ||
</tr> | </tr> | ||
<tr><th colspan="2" style="background:#f8f9fa;"> | <!-- LOGO --> | ||
{{#if:{{{logo|}}}| | |||
<tr> | |||
<td colspan="2" style="text-align:center;padding:12px;"> | |||
[[File:{{{logo}}}|180px|center]] | |||
{{#if:{{{logo caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{logo caption}}}</div>}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- SCREENSHOT --> | |||
{{#if:{{{screenshot|}}}| | |||
<tr> | |||
<td colspan="2" style="text-align:center;padding:12px;background:#f8f9fa;"> | |||
[[File:{{{screenshot}}}|240px|center]] | |||
{{#if:{{{caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{caption}}}</div>}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- DEVELOPMENT --> | |||
{{#if:{{{author|}}}{{{developer|}}}{{{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> | |||
}} | |||
{{#if:{{{author|}}}|<tr><th>Author</th><td>{{{author}}}</td></tr>}} | |||
{{#if:{{{developer|}}}|<tr><th>Developer</th><td>{{{developer}}}</td></tr>}} | |||
{{#if:{{{maintainer|}}}|<tr><th>Maintainer</th><td>{{{maintainer}}}</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:{{{repository|}}}|<tr><th>Repository</th><td>{{{repository}}}</td></tr>}} | |||
<!-- ENVIRONMENT --> | |||
{{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}{{{language|}}}{{{language count|}}}{{{size|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Environment</th> | |||
</tr> | |||
}} | |||
<tr><th> | {{#if:{{{programming language|}}}|<tr><th>Written in</th><td>{{{programming language}}}</td></tr>}} | ||
<tr><th>Platform</th><td>{{{platform| | {{#if:{{{operating system|}}}|<tr><th>Operating system</th><td>{{{operating system}}}</td></tr>}} | ||
<tr><th> | {{#if:{{{platform|}}}|<tr><th>Platform</th><td>{{{platform}}}</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:{{{size|}}}|<tr><th>Size</th><td>{{{size}}}</td></tr>}} | |||
<tr><th colspan="2" style="background:#f8f9fa;"> | <!-- USAGE STATISTICS --> | ||
{{#if:{{{active users|}}}{{{total users|}}}{{{active hosts|}}}{{{total hosts|}}}{{{average performance|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Usage statistics</th> | |||
</tr> | |||
}} | |||
{{#if:{{{active users|}}}| | |||
<tr> | <tr> | ||
<td | <th>Active users</th> | ||
{{ | <td>{{formatnum:{{{active users}}}}} | ||
{{#if:{{{ | {{#if:{{{stats updated|}}}|<br><small>as of {{Start date and age|{{{stats updated}}}}}</small>}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
}} | |||
<tr><th | {{#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:{{{average performance|}}}|<tr><th>Average performance</th><td>{{{average performance}}}</td></tr>}} | |||
< | <!-- BOINC ANALYTICS --> | ||
{{#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> | |||
}} | |||
<tr><th | {{#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>}} | |||
<tr><th> | <!-- METADATA --> | ||
<tr><th> | {{#if:{{{genre|}}}{{{license|}}}{{{website|}}}{{{type|}}}{{{status|}}}| | ||
<tr><th> | <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> | </table> | ||
</includeonly> | </includeonly> | ||
<noinclude> | |||
BOINC-focused infobox (v2). Includes optional stats timestamp via |stats updated=YYYY|MM|DD. | |||
</noinclude> | |||
Revision as of 00:27, 20 May 2026
BOINC-focused infobox (v2). Includes optional stats timestamp via |stats updated=YYYY|MM|DD.