Template:Infobox software: Difference between revisions

From BOINC Projects
Jump to navigation Jump to search
Al Piskun (talk | contribs)
No edit summary
Al Piskun (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="infobox" style="width:300px; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #c8ccd1; border-radius:6px; background:#fff; font-size:13px; line-height:1.5; overflow:hidden;">
<table class="infobox" style="width:300px; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #c8ccd1; border-radius:6px; background:#fff; color:#202122; font-size:13px; line-height:1.5; border-collapse:separate; border-spacing:0; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,0.08);">


<tr>
<tr>
<th colspan="2" style="background:#2c3e50; color:#fff; padding:12px; font-size:20px; text-align:center;">
<th colspan="2" style="background:#2c3e50; color:#fff; padding:12px; font-size:20px; text-align:center; font-weight:700;">
{{{name|{{PAGENAME}}}}}
{{{name|{{PAGENAME}}}}}
</th>
</th>
Line 9: Line 9:


<!-- LOGO -->
<!-- LOGO -->
{{#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|}}}|
{{#if:{{{logo caption|}}}|<div style="font-size:11px; color:#54595d; margin-top:6px;">{{{logo caption}}}</div>}}
<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;">
<td colspan="2" style="text-align:center; padding:12px; background:#f8f9fa;">
[[File:{{{screenshot}}}|250px|center]]
[[File:{{{screenshot}}}|250px|center]]
{{#if:{{{caption|}}}|
{{#if:{{{caption|}}}|<div style="font-size:11px; color:#54595d; margin-top:6px;">{{{caption}}}</div>}}
<div style="font-size:11px; color:#54595d; margin-top:6px;">
{{{caption}}}
</div>
}}
</td>
</td>
</tr>
</tr>}}
}}


<!-- DEVELOPMENT -->
<!-- DEVELOPMENT -->
{{#if:{{{developer|}}}|
{{#if:{{{developer|}}}|<tr>
<tr>
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px; text-transform:uppercase;">
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;">
Development
DEVELOPMENT
</th>
</th>
</tr>
</tr>
<tr>
<tr>
<th>Developer</th>
<th style="width:110px;">Developer</th>
<td>{{{developer}}}</td>
<td>{{{developer}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{author|}}}|
{{#if:{{{author|}}}|<tr>
<tr>
<th>Author</th>
<th>Author</th>
<td>{{{author}}}</td>
<td>{{{author}}}</td>
</tr>
</tr>}}
}}
 
{{#if:{{{maintainer|}}}|<tr>
<th>Maintainer</th>
<td>{{{maintainer}}}</td>
</tr>}}


{{#if:{{{released|}}}|
{{#if:{{{released|}}}|<tr>
<tr>
<th>Initial release</th>
<th>Initial release</th>
<td>{{{released}}}</td>
<td>{{{released}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{discontinued|}}}|
{{#if:{{{discontinued|}}}|<tr>
<tr>
<th>Discontinued</th>
<th>Discontinued</th>
<td style="color:#b32424; font-weight:bold;">
<td style="color:#b32424; font-weight:600;">
{{{discontinued}}}
{{{discontinued}}}
</td>
</td>
</tr>
</tr>}}
}}
 
{{#if:{{{repository|}}}|<tr>
<th>Repository</th>
<td>{{{repository}}}</td>
</tr>}}


<!-- SOFTWARE -->
<!-- SOFTWARE -->
{{#if:{{{platform|}}}|
{{#if:{{{platform|}}}|<tr>
<tr>
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px; text-transform:uppercase;">
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;">
Software
SOFTWARE
</th>
</th>
</tr>
</tr>
<tr>
<tr>
<th>Platform</th>
<th>Platform</th>
<td>{{{platform}}}</td>
<td>{{{platform}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{programming language|}}}|
{{#if:{{{programming language|}}}|<tr>
<tr>
<th>Written in</th>
<th>Written in</th>
<td>{{{programming language}}}</td>
<td>{{{programming language}}}</td>
</tr>}}
{{#if:{{{operating system|}}}|<tr>
<th>Operating system</th>
<td>{{{operating system}}}</td>
</tr>}}
{{#if:{{{language|}}}|<tr>
<th>Language</th>
<td>{{{language}}}</td>
</tr>}}
{{#if:{{{size|}}}|<tr>
<th>Size</th>
<td>{{{size}}}</td>
</tr>}}
<!-- PROJECT -->
{{#if:{{{project status|}}}|<tr>
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px; text-transform:uppercase;">
Project
</th>
</tr>
</tr>
}}


{{#if:{{{operating system|}}}|
<tr>
<tr>
<th>OS</th>
<th>Status</th>
<td>{{{operating system}}}</td>
<td>{{{project status}}}</td>
</tr>
</tr>}}
}}
 
{{#if:{{{type|}}}|<tr>
<th>Type</th>
<td>{{{type}}}</td>
</tr>}}
 
{{#if:{{{genre|}}}|<tr>
<th>Genre</th>
<td>{{{genre}}}</td>
</tr>}}


<!-- BOINC STATS -->
<!-- BOINC STATS -->
{{#if:{{{average performance|}}}|
{{#if:{{{average performance|}}}|<tr>
<tr>
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px; text-transform:uppercase;">
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;">
BOINC statistics
BOINC STATISTICS
</th>
</th>
</tr>
</tr>
<tr>
<tr>
<th>Performance</th>
<th>Performance</th>
<td>{{{average performance}}}</td>
<td>{{{average performance}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{active users|}}}|
{{#if:{{{active users|}}}|<tr>
<tr>
<th>Active users</th>
<th>Active users</th>
<td>{{formatnum:{{{active users}}}}}</td>
<td>{{formatnum:{{{active users}}}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{total users|}}}|
{{#if:{{{total users|}}}|<tr>
<tr>
<th>Total users</th>
<th>Total users</th>
<td>{{formatnum:{{{total users}}}}}</td>
<td>{{formatnum:{{{total users}}}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{active hosts|}}}|
{{#if:{{{active hosts|}}}|<tr>
<tr>
<th>Active hosts</th>
<th>Active hosts</th>
<td>{{formatnum:{{{active hosts}}}}}</td>
<td>{{formatnum:{{{active hosts}}}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{total hosts|}}}|
{{#if:{{{total hosts|}}}|<tr>
<tr>
<th>Total hosts</th>
<th>Total hosts</th>
<td>{{formatnum:{{{total hosts}}}}}</td>
<td>{{formatnum:{{{total hosts}}}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{stats updated|}}}|
{{#if:{{{stats updated|}}}|<tr>
<tr>
<th>Stats updated</th>
<th>Stats updated</th>
<td>{{{stats updated}}}</td>
<td>{{{stats updated}}}</td>
</tr>
</tr>}}
}}


<!-- ANALYTICS -->
<!-- ANALYTICS -->
{{#if:{{{rac|}}}|
{{#if:{{{rac|}}}|<tr>
<tr>
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px; text-transform:uppercase;">
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;">
Analytics
ANALYTICS
</th>
</th>
</tr>
</tr>
<tr>
<tr>
<th>RAC</th>
<th>RAC</th>
<td>{{formatnum:{{{rac}}}}}</td>
<td>{{formatnum:{{{rac}}}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{credit per day|}}}|
{{#if:{{{credit per day|}}}|<tr>
<tr>
<th>Credit/day</th>
<th>Credit/day</th>
<td>{{formatnum:{{{credit per day}}}}}</td>
<td>{{formatnum:{{{credit per day}}}}}</td>
</tr>
</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 -->
<!-- METADATA -->
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|<tr>
<tr>
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px; text-transform:uppercase;">
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;">
Metadata
METADATA
</th>
</th>
</tr>
</tr>
<tr>
<tr>
<th>Website</th>
<th>Website</th>
<td>{{{website}}}</td>
<td>{{{website}}}</td>
</tr>
</tr>}}
}}


{{#if:{{{license|}}}|
{{#if:{{{license|}}}|<tr>
<tr>
<th>License</th>
<th>License</th>
<td>{{{license}}}</td>
<td>{{{license}}}</td>
</tr>
</tr>}}
}}


</table>
</table>
Line 191: Line 202:


<noinclude>
<noinclude>
Modern BOINC infobox template.
== Template:Infobox software ==
 
Modern BOINC-oriented infobox template for distributed computing and software project articles.
 
=== Example ===
 
<pre>
{{Infobox software
| name                = Einstein@Home
| logo                = Ein.jpg
| screenshot          = [email protected]
| caption              = Einstein@Home screensaver
| developer            = Max Planck Society
| released            = {{Start date and age|2005|02|19}}
 
| operating system    = Windows, Linux, macOS, Android
| platform            = BOINC
| genre                = Volunteer computing
 
| license              = GPL-2.0-or-later
| website              = {{URL|https://einsteinathome.org/}}
 
| average performance  = 21 PFLOPS
| active users        = 14531
| total users          = 1061585
| active hosts        = 24489
| total hosts          = 8237726
 
| stats updated        = {{Start date and age|2026|05|19}}
}}
</pre>
 
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 01:03, 20 May 2026


Template:Infobox software

Modern BOINC-oriented infobox template for distributed computing and software project articles.

Example

{{Infobox software
| name                 = Einstein@Home
| logo                 = Ein.jpg
| screenshot           = [email protected]
| caption              = Einstein@Home screensaver
| developer            = Max Planck Society
| released             = {{Start date and age|2005|02|19}}

| operating system     = Windows, Linux, macOS, Android
| platform             = BOINC
| genre                = Volunteer computing

| license              = GPL-2.0-or-later
| website              = {{URL|https://einsteinathome.org/}}

| average performance  = 21 PFLOPS
| active users         = 14531
| total users          = 1061585
| active hosts         = 24489
| total hosts          = 8237726

| stats updated        = {{Start date and age|2026|05|19}}
}}