Template:Infobox software: Difference between revisions
Jump to navigation
Jump to search
whitespace solution attempt |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><table class="infobox bs-infobox" style="width:300px; float:right; clear:right; margin:0 0 1em 1em; border-radius:6px; font-size:13px; line-height:1.5; border-collapse:separate; border-spacing:0; overflow:hidden;"> | <includeonly><table class="infobox bs-infobox" style="width:300px; float:right; clear:right; margin:0 0 1em 1em; border-radius:6px; font-size:13px; line-height:1.5; border-collapse:separate; border-spacing:0; overflow:hidden;"> | ||
<tr><th colspan="2" class="bs-infobox-title">{{{name|{{PAGENAME}}}}}</th></tr> | <tr><th colspan="2" class="bs-infobox-title">{{{name|{{PAGENAME}}}}}</th></tr> | ||
{{#if:{{{logo|}}}|<tr><td colspan="2" class="bs-infobox-logo">[[File:{{{logo}}}|180px|center]]{{#if:{{{logo caption|}}}|<div class="bs-infobox-caption">{{{logo caption}}}</div>}}</td></tr>}} | |||
{{#if:{{{screenshot|}}}|<tr><td colspan="2" class="bs-infobox-screenshot">[[File:{{{screenshot}}}|250px|center]]{{#if:{{{caption|}}}|<div class="bs-infobox-caption">{{{caption}}}</div>}}</td></tr>}} | |||
{{#if:{{{logo|}}}|<tr> | {{#if:{{{status|}}}{{{category|}}}{{{compute|}}}{{{dependencies|}}}|<tr><th colspan="2" class="bs-infobox-section">Project</th></tr>}} | ||
<td colspan="2" class="bs-infobox-logo"> | {{#if:{{{status|}}}|{{#ifeq:{{{status}}}|Active|<tr class="bs-infobox-active"><th class="bs-infobox-active">Status</th><td class="bs-infobox-active" style="font-weight:600;">{{{status}}}</td></tr>|<tr class="bs-infobox-inactive"><th class="bs-infobox-inactive">Status</th><td class="bs-infobox-inactive" style="font-weight:600;">{{{status}}}</td></tr>}}}} | ||
[[File:{{{logo}}}|180px|center]] | |||
{{#if:{{{logo caption|}}}|<div class="bs-infobox-caption">{{{logo caption}}}</div>}} | |||
</td> | |||
</tr>}} | |||
{{#if:{{{screenshot|}}}|<tr> | |||
<td colspan="2" class="bs-infobox-screenshot"> | |||
[[File:{{{screenshot}}}|250px|center]] | |||
{{#if:{{{caption|}}}|<div class="bs-infobox-caption">{{{caption}}}</div>}} | |||
</td> | |||
</tr>}} | |||
{{#if:{{{status|}}}{{{category|}}}{{{compute|}}}{{{dependencies|}}}|<tr> | |||
<th colspan="2" class="bs-infobox-section">Project</th> | |||
</tr>}} | |||
{{#if:{{{status|}}}|{{#ifeq:{{{status}}}|Active| | |||
<tr class="bs-infobox-active"><th class="bs-infobox-active">Status</th><td class="bs-infobox-active" style="font-weight:600;">{{{status}}}</td></tr>| | |||
<tr class="bs-infobox-inactive"><th class="bs-infobox-inactive">Status</th><td class="bs-infobox-inactive" style="font-weight:600;">{{{status}}}</td></tr>}}}} | |||
{{#if:{{{category|}}}|<tr><th>Category</th><td>{{{category}}}</td></tr>}} | {{#if:{{{category|}}}|<tr><th>Category</th><td>{{{category}}}</td></tr>}} | ||
{{#if:{{{compute|}}}|<tr><th>Compute</th><td>{{{compute}}}</td></tr>}} | {{#if:{{{compute|}}}|<tr><th>Compute</th><td>{{{compute}}}</td></tr>}} | ||
{{#if:{{{dependencies|}}}|<tr><th>Requires</th><td>{{{dependencies}}}</td></tr>}} | {{#if:{{{dependencies|}}}|<tr><th>Requires</th><td>{{{dependencies}}}</td></tr>}} | ||
{{#if:{{{developer|}}}{{{author|}}}{{{sponsor|}}}{{{maintainer|}}}{{{released|}}}{{{completed|}}}{{{discontinued|}}}{{{repository|}}}|<tr><th colspan="2" class="bs-infobox-section">Development</th></tr>}} | |||
{{#if:{{{developer|}}}{{{author|}}}{{{sponsor|}}}{{{maintainer|}}}{{{released|}}}{{{completed|}}}{{{discontinued|}}}{{{repository|}}}|<tr> | |||
<th colspan="2" class="bs-infobox-section">Development</th> | |||
</tr>}} | |||
{{#if:{{{developer|}}}|<tr><th style="width:110px;">Developer</th><td>{{{developer}}}</td></tr>}} | {{#if:{{{developer|}}}|<tr><th style="width:110px;">Developer</th><td>{{{developer}}}</td></tr>}} | ||
{{#if:{{{author|}}}|<tr><th>Author</th><td>{{{author}}}</td></tr>}} | {{#if:{{{author|}}}|<tr><th>Author</th><td>{{{author}}}</td></tr>}} | ||
| Line 44: | Line 17: | ||
{{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td class="bs-infobox-ended">{{{discontinued}}}</td></tr>}} | {{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td class="bs-infobox-ended">{{{discontinued}}}</td></tr>}} | ||
{{#if:{{{repository|}}}|<tr><th>Repository</th><td>{{{repository}}}</td></tr>}} | {{#if:{{{repository|}}}|<tr><th>Repository</th><td>{{{repository}}}</td></tr>}} | ||
{{#if:{{{programming language|}}}{{{operating system|}}}{{{size|}}}|<tr><th colspan="2" class="bs-infobox-section">Software</th></tr>}} | |||
{{#if:{{{programming language|}}}{{{operating system|}}}{{{size|}}}|<tr> | |||
<th colspan="2" class="bs-infobox-section">Software</th> | |||
</tr>}} | |||
{{#if:{{{programming language|}}}|<tr><th style="width:110px;">Written in</th><td>{{{programming language}}}</td></tr>}} | {{#if:{{{programming language|}}}|<tr><th style="width:110px;">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:{{{size|}}}|<tr><th>Size</th><td>{{{size}}}</td></tr>}} | {{#if:{{{size|}}}|<tr><th>Size</th><td>{{{size}}}</td></tr>}} | ||
{{#if:{{{stats as of|}}}{{{average performance|}}}{{{active users|}}}{{{total users|}}}{{{active hosts|}}}{{{total hosts|}}}|<tr><th colspan="2" class="bs-infobox-section">BOINC statistics</th></tr>}} | |||
{{#if:{{{stats as of|}}}{{{average performance|}}}{{{active users|}}}{{{total users|}}}{{{active hosts|}}}{{{total hosts|}}}|<tr> | |||
<th colspan="2" class="bs-infobox-section">BOINC statistics</th> | |||
</tr>}} | |||
{{#if:{{{stats as of|}}}|<tr><th style="width:110px;" class="bs-infobox-statsdate">Stats as of</th><td class="bs-infobox-statsdate" style="font-weight:600;">{{{stats as of}}}</td></tr>}} | {{#if:{{{stats as of|}}}|<tr><th style="width:110px;" class="bs-infobox-statsdate">Stats as of</th><td class="bs-infobox-statsdate" style="font-weight:600;">{{{stats as of}}}</td></tr>}} | ||
{{#if:{{{average performance|}}}|<tr><th>Performance</th><td>{{{average performance}}}</td></tr>}} | {{#if:{{{average performance|}}}|<tr><th>Performance</th><td>{{{average performance}}}</td></tr>}} | ||
| Line 65: | Line 28: | ||
{{#if:{{{active hosts|}}}|<tr><th>Active hosts</th><td>{{formatnum:{{{active hosts}}}}}</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:{{{total hosts|}}}|<tr><th>Total hosts</th><td>{{formatnum:{{{total hosts}}}}}</td></tr>}} | ||
{{#if:{{{rac|}}}{{{credit per day|}}}{{{gpu performance|}}}{{{cpu performance|}}}|<tr><th colspan="2" class="bs-infobox-section">Analytics</th></tr>}} | |||
{{#if:{{{rac|}}}{{{credit per day|}}}{{{gpu performance|}}}{{{cpu performance|}}}|<tr> | |||
<th colspan="2" class="bs-infobox-section">Analytics</th> | |||
</tr>}} | |||
{{#if:{{{rac|}}}|<tr><th style="width:110px;">RAC</th><td>{{formatnum:{{{rac}}}}}</td></tr>}} | {{#if:{{{rac|}}}|<tr><th style="width:110px;">RAC</th><td>{{formatnum:{{{rac}}}}}</td></tr>}} | ||
{{#if:{{{credit per day|}}}|<tr><th>Credit/day</th><td>{{formatnum:{{{credit per day}}}}}</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:{{{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:{{{cpu performance|}}}|<tr><th>CPU performance</th><td>{{{cpu performance}}}</td></tr>}} | ||
{{#if:{{{website|}}}{{{license|}}}|<tr><th colspan="2" class="bs-infobox-section">Metadata</th></tr>}} | |||
{{#if:{{{website|}}}{{{license|}}}|<tr> | |||
<th colspan="2" class="bs-infobox-section">Metadata</th> | |||
</tr>}} | |||
{{#if:{{{website|}}}|<tr><th style="width:110px;">Website</th><td>{{{website}}}</td></tr>}} | {{#if:{{{website|}}}|<tr><th style="width:110px;">Website</th><td>{{{website}}}</td></tr>}} | ||
{{#if:{{{license|}}}|<tr><th>License</th><td>{{{license}}}</td></tr>}} | {{#if:{{{license|}}}|<tr><th>License</th><td>{{{license}}}</td></tr>}} | ||
Revision as of 13:46, 24 May 2026
Template:Infobox software
Modern BOINC-oriented infobox template for distributed computing and software project articles.
Parameters
| Parameter | Description | Required |
|---|---|---|
name |
Software name (defaults to page name) | No |
logo |
Logo filename | No |
logo caption |
Caption below logo | No |
screenshot |
Screenshot filename | No |
caption |
Caption below screenshot | No |
| Project | ||
status |
Active, Completed, etc. Green background when "Active", red otherwise | No |
category |
Research category (e.g. Astrophysics, Mathematics) | No |
compute |
Processing type: CPU, GPU, or CPU & GPU | No |
dependencies |
Additional software required (e.g. VirtualBox, CUDA, Git) | No |
| Development | ||
developer |
Developer name | No |
author |
Original author | No |
sponsor |
Sponsoring organization | No |
maintainer |
Current maintainer | No |
released |
Initial release date | No |
completed |
Completion date or status (shown in red) | No |
discontinued |
Discontinuation date (shown in red) | No |
repository |
Source code repository link | No |
| Software | ||
programming language |
Language(s) the software is written in | No |
operating system |
Supported operating systems | No |
size |
Download/install size | No |
| BOINC statistics | ||
stats as of |
Date the statistics below were recorded | No |
average performance |
Average FLOPS or equivalent | No |
active users |
Current active user count | No |
total users |
All-time total users | No |
active hosts |
Current active host count | No |
total hosts |
All-time total hosts | No |
| Analytics | ||
rac |
Recent Average Credit | No |
credit per day |
Credits granted per day | No |
gpu performance |
GPU-specific performance metric | No |
cpu performance |
CPU-specific performance metric | No |
| Metadata | ||
website |
Official website URL | No |
license |
Software license | No |
Full example
{{Infobox software
| name = Einstein@Home
| logo = Ein.jpg
| logo caption = Einstein@Home logo
| screenshot = [email protected]
| caption = Einstein@Home screensaver
| status = Active
| category = Astrophysics
| compute = CPU & GPU
| dependencies = None
| developer = Bruce Allen
| author = Bruce Allen
| sponsor = Max Planck Society
| maintainer = Einstein@Home team
| released = {{Start date and age|2005|02|19}}
| completed = No
| discontinued =
| repository = {{URL|https://git.ligo.org/einsteinathome}}
| programming language = C, C++
| operating system = Windows, Linux, macOS, Android
| size = ~50 MB
| stats as of = {{Start date and age|2026|05|19}}
| average performance = 21 PFLOPS
| active users = 14531
| total users = 1061585
| active hosts = 24489
| total hosts = 8237726
| rac = 18500000
| credit per day = 950000
| gpu performance = 15 PFLOPS
| cpu performance = 6 PFLOPS
| website = {{URL|https://einsteinathome.org/}}
| license = GPL-2.0-or-later
}}
Minimal example
{{Infobox software
| name = My Project
| status = Active
| category = Mathematics
| compute = CPU
| developer = Jane Smith
| released = {{Start date and age|2020|01|01}}
| operating system = Windows, Linux, macOS
| website = {{URL|https://example.org/}}
| license = MIT
}}