Template:Infobox software: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="infobox" style="width: | <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);"> | ||
<!-- NAME --> | |||
<tr> | <tr> | ||
<th colspan="2" style=" | <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 9: | Line 10: | ||
<!-- LOGO --> | <!-- LOGO --> | ||
{{#if:{{{logo|}}}|<tr> | {{#if:{{{logo|}}}| | ||
<td colspan="2" style="text-align:center; padding:12px;"> | <tr> | ||
<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> | ||
}} | |||
<!-- SCREENSHOT --> | <!-- SCREENSHOT --> | ||
{{#if:{{{screenshot|}}}| | {{#if:{{{screenshot|}}}| | ||
<tr> | <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>}} | |||
{{#if:{{{ | |||
{{{ | |||
</td> | </td> | ||
</tr> | </tr> | ||
}} | |||
< | <!-- DEVELOPMENT (NO HEADER LOGIC TRIGGERS) --> | ||
{{#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>}} | }} | ||
{{#if:{{{ | {{#if:{{{developer|}}}|<tr><th>Developer</th><td>{{{developer}}}</td></tr>}} | ||
<th> | {{#if:{{{author|}}}|<tr><th>Author</th><td>{{{author}}}</td></tr>}} | ||
<td>{{{ | {{#if:{{{maintainer|}}}|<tr><th>Maintainer</th><td>{{{maintainer}}}</td></tr>}} | ||
</tr>}} | |||
{{#if:{{{ | {{#if:{{{released|}}}|<tr><th>Initial release</th><td>{{{released}}}</td></tr>}} | ||
<th> | {{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td style="color:#b32121;font-weight:500;">{{{discontinued}}}</td></tr>}} | ||
<td>{{{ | |||
</tr>}} | |||
{{#if:{{{ | {{#if:{{{repository|}}}|<tr><th>Repository</th><td>{{{repository}}}</td></tr>}} | ||
<th> | |||
<td>{{{ | |||
</tr>}} | |||
{{#if:{{{ | <!-- RELEASES --> | ||
<th> | {{#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>}} | }} | ||
< | {{#if:{{{stable release|}}}|<tr><th>Stable</th><td>{{{stable release}}}</td></tr>}} | ||
{{#if:{{{ | {{#if:{{{preview release|}}}|<tr><th>Preview</th><td>{{{preview release}}}</td></tr>}} | ||
<th | {{#if:{{{latest release version|}}}|<tr><th>Latest</th><td>{{{latest release version}}}</td></tr>}} | ||
{{#if:{{{latest preview version|}}}|<tr><th>Latest preview</th><td>{{{latest preview version}}}</td></tr>}} | |||
</th> | |||
</tr> | |||
< | <!-- ENVIRONMENT --> | ||
{{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}{{{language|}}}{{{size|}}}| | |||
<tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Environment</th></tr> | |||
</tr>}} | }} | ||
{{#if:{{{ | {{#if:{{{programming language|}}}|<tr><th>Language</th><td>{{{programming language}}}</td></tr>}} | ||
<th> | {{#if:{{{operating system|}}}|<tr><th>OS</th><td>{{{operating system}}}</td></tr>}} | ||
<td>{{{ | {{#if:{{{platform|}}}|<tr><th>Platform</th><td>{{{platform}}}</td></tr>}} | ||
</tr>}} | {{#if:{{{language|}}}|<tr><th>Languages</th><td>{{{language}}}</td></tr>}} | ||
{{#if:{{{size|}}}|<tr><th>Size</th><td>{{{size}}}</td></tr>}} | |||
{{#if:{{{ | <!-- USAGE --> | ||
<th> | {{#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;"> | ||
</tr>}} | Usage statistics<br> | ||
<span style="font-size:10px;font-weight:400;"> | |||
{{Start date and age|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}} | |||
</span> | |||
</th></tr> | |||
}} | |||
< | {{#if:{{{active users|}}}|<tr><th>Active users</th><td>{{formatnum:{{{active users}}}}}</td></tr>}} | ||
{{#if:{{{ | {{#if:{{{total users|}}}|<tr><th>Total users</th><td>{{formatnum:{{{total users}}}}}</td></tr>}} | ||
<th | {{#if:{{{active hosts|}}}|<tr><th>Hosts active</th><td>{{formatnum:{{{active hosts}}}}}</td></tr>}} | ||
{{#if:{{{total hosts|}}}|<tr><th>Hosts total</th><td>{{formatnum:{{{total hosts}}}}}</td></tr>}} | |||
</th> | {{#if:{{{average performance|}}}|<tr><th>Performance</th><td>{{{average performance}}}</td></tr>}} | ||
</tr> | |||
< | <!-- BOINC --> | ||
{{#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 metrics</th></tr> | |||
}} | |||
{{#if:{{{ | |||
<th colspan="2" style=" | |||
</th> | |||
</tr> | |||
{{#if:{{{credit per day|}}}|<tr> | {{#if:{{{rac|}}}|<tr><th>RAC</th><td>{{formatnum:{{{rac}}}}}</td></tr>}} | ||
<th>Credit/day</th> | {{#if:{{{credit per day|}}}|<tr><th>Credit/day</th><td>{{formatnum:{{{credit per day}}}}}</td></tr>}} | ||
<td>{{formatnum:{{{credit per day}}}}}</td> | {{#if:{{{gpu performance|}}}|<tr><th>GPU</th><td>{{{gpu performance}}}</td></tr>}} | ||
</tr>}} | {{#if:{{{cpu performance|}}}|<tr><th>CPU</th><td>{{{cpu performance}}}</td></tr>}} | ||
{{#if:{{{gpu performance|}}}|<tr> | |||
<th>GPU | |||
<td>{{{gpu performance}}}</td> | |||
</tr>}} | |||
{{#if:{{{cpu performance|}}}|<tr> | |||
<th>CPU | |||
<td>{{{cpu performance}}}</td> | |||
</tr>}} | |||
<!-- METADATA --> | <!-- METADATA --> | ||
{{#if:{{{website|}}}|<tr> | {{#if:{{{genre|}}}{{{license|}}}{{{website|}}}{{{type|}}}{{{status|}}}| | ||
<th colspan="2" style=" | <tr><th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;">Metadata</th></tr> | ||
Metadata | }} | ||
</th> | |||
</tr> | |||
{{#if:{{{license|}}}|<tr> | {{#if:{{{type|}}}|<tr><th>Type</th><td>{{{type}}}</td></tr>}} | ||
<th>License</th> | {{#if:{{{genre|}}}|<tr><th>Genre</th><td>{{{genre}}}</td></tr>}} | ||
<td>{{{license}}}</td> | {{#if:{{{status|}}}|<tr><th>Status</th><td>{{{status}}}</td></tr>}} | ||
</tr>}} | {{#if:{{{license|}}}|<tr><th>License</th><td>{{{license}}}</td></tr>}} | ||
{{#if:{{{website|}}}|<tr><th>Website</th><td>{{{website}}}</td></tr>}} | |||
</table> | </table> | ||
| Line 202: | Line 105: | ||
<noinclude> | <noinclude> | ||
Stable BOINC infobox (low-parser-load version). | |||
</noinclude> | </noinclude> | ||
Revision as of 02:14, 20 May 2026
Stable BOINC infobox (low-parser-load version).