Template:Infobox software: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Manual revert |
||
| 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 / Title --> | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center;font-size:18px;font-weight:600;padding:12px;background:#2c3e50;color:# | <th colspan="2" style="text-align: center; font-size: 18px; font-weight: 600; padding: 12px; background-color: #2c3e50; color: #ffffff; border-top-left-radius: 3px; border-top-right-radius: 3px;"> | ||
{{{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; background-color:#ffffff; border-bottom:1px solid #eaecf0;"> | ||
[[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:#f8f9fa;"> | <td colspan="2" style="text-align: center; padding: 12px; background-color: #f8f9fa; border-bottom: 1px solid #eaecf0;"> | ||
[[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 31: | Line 31: | ||
{{#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;"> | <th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 6px 10px; background-color: #f8f9fa; color: #54595d;"> | ||
Development | Development | ||
</th> | </th> | ||
| Line 47: | Line 47: | ||
{{#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;"> | <th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; padding:6px 10px; background-color:#f8f9fa;"> | ||
Releases | Releases | ||
</th> | </th> | ||
| Line 61: | Line 61: | ||
{{#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;"> | <th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; padding:6px 10px; background-color:#f8f9fa;"> | ||
Environment | Environment | ||
</th> | </th> | ||
| Line 75: | Line 75: | ||
<!-- ========================= --> | <!-- ========================= --> | ||
<!-- USAGE STATISTICS --> | <!-- USAGE STATISTICS (NEW) --> | ||
<!-- ========================= --> | <!-- ========================= --> | ||
{{#if:{{{average performance|}}}{{{active users|}}}{{{total users|}}}{{{active hosts|}}}{{{total hosts|}}}| | {{#if:{{{average performance|}}}{{{active users|}}}{{{total users|}}}{{{active hosts|}}}{{{total hosts|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;"> | <th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; padding:6px 10px; background-color:#f8f9fa;"> | ||
Usage statistics | Usage statistics | ||
</th> | </th> | ||
| Line 86: | Line 86: | ||
{{#if:{{{average performance|}}}| | {{#if:{{{average performance|}}}| | ||
<tr> | <tr> | ||
<th | <th>Average performance</th> | ||
<td> | |||
</ | {{#ifexpr: {{{average performance|0}}} > 1000000000000 | ||
| {{#expr: {{{average performance}}} / 1000000000000 }} TFLOPS | |||
| {{#ifexpr: {{{average performance|0}}} > 1000000000 | |||
| {{#expr: {{{average performance}}} / 1000000000 }} GFLOPS | |||
| {{#ifexpr: {{{average performance|0}}} > 1000000 | |||
| {{#expr: {{{average performance}}} / 1000000 }} MFLOPS | |||
| {{formatnum:{{{average performance}}}}} FLOPS | |||
}} | |||
}} | |||
}} | |||
</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#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>}} | ||
{{#if:{{{ | {{#if:{{{active hosts|}}}|<tr><th>Active hosts</th><td>{{formatnum:{{{active hosts}}}}}</td></tr>}} | ||
{{#if:{{{ | {{#if:{{{total hosts|}}}|<tr><th>Total hosts</th><td>{{formatnum:{{{total hosts}}}}}</td></tr>}} | ||
<!-- Metadata --> | <!-- Software Metadata --> | ||
{{#if:{{{genre|}}}{{{license|}}}{{{website|}}}{{{type|}}}{{{status|}}}| | {{#if:{{{genre|}}}{{{license|}}}{{{website|}}}{{{type|}}}{{{status|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;"> | <th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; padding:6px 10px; background-color:#f8f9fa;"> | ||
Software Metadata | Software Metadata | ||
</th> | </th> | ||
| Line 139: | Line 128: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Infobox for software | "description": "Infobox for software articles", | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "Name of the software | "description": "Name of the software (defaults to page name)", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"author": { | "author": { | ||
"label": "Author", | "label": "Author", | ||
"type": "string" | "type": "string", | ||
"suggested": true | |||
}, | }, | ||
"developer": { | "developer": { | ||
"label": "Developer", | "label": "Developer", | ||
"type": "string" | "type": "string", | ||
"suggested": true | |||
}, | }, | ||
"maintainer": { | "maintainer": { | ||
"label": "Maintainer", | "label": "Maintainer", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"released": { | "released": { | ||
"label": "Initial release", | "label": "Initial release", | ||
"type": "string", | "type": "string", | ||
" | "suggested": true | ||
}, | }, | ||
"discontinued": { | "discontinued": { | ||
"label": "Discontinued", | "label": "Discontinued", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"repository": { | "repository": { | ||
"label": "Repository", | "label": "Repository", | ||
"type": " | "type": "url" | ||
}, | }, | ||
"stable release": { | "stable release": { | ||
"label": "Stable release", | "label": "Stable release", | ||
"type": "string" | "type": "string", | ||
"suggested": true | |||
}, | }, | ||
"preview release": { | "preview release": { | ||
"label": "Preview release", | "label": "Preview release", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"latest release version": { | "latest release version": { | ||
"label": "Latest version", | "label": "Latest version", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"latest preview version": { | "latest preview version": { | ||
"label": "Latest preview | "label": "Latest preview", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"programming language": { | "programming language": { | ||
"label": " | "label": "Written in", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"operating system": { | "operating system": { | ||
"label": "Operating system", | "label": "Operating system", | ||
"type": "string" | "type": "string", | ||
"suggested": true | |||
}, | }, | ||
"platform": { | "platform": { | ||
"label": "Platform", | "label": "Platform", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"language": { | "language": { | ||
"label": " | "label": "Available in", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"language count": { | "language count": { | ||
"label": "Language count", | "label": "Language count", | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"size": { | "size": { | ||
"label": "Size", | "label": "Size", | ||
"type": "string" | "type": "string" | ||
}, | |||
"type": { | |||
"label": "Type", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"genre": { | |||
"label": "Genre", | |||
"type": "string" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"license": { | |||
"label": "License", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"website": { | |||
"label": "Website", | |||
"type": "url", | |||
"suggested": true | |||
}, | }, | ||
"average performance": { | "average performance": { | ||
"label": "Average performance", | "label": "Average performance", | ||
"type": " | "description": "Compute or reported performance (e.g. FLOPS, GFLOPS, TFLOPS)", | ||
"type": "number" | |||
}, | }, | ||
"active users": { | "active users": { | ||
"label": "Active users", | "label": "Active users", | ||
"description": "Currently active users participating in the project", | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"total users": { | "total users": { | ||
"label": "Total users", | "label": "Total users", | ||
"description": "Total registered users", | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"active hosts": { | "active hosts": { | ||
"label": "Active hosts", | "label": "Active hosts", | ||
"description": "Currently active computing hosts", | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"total hosts": { | "total hosts": { | ||
"label": "Total hosts", | "label": "Total hosts", | ||
"description": "Total registered computing hosts", | |||
"type": "number" | "type": "number" | ||
} | } | ||
}, | }, | ||
| Line 329: | Line 262: | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
"author", | "author", | ||
"developer", | "developer", | ||
| Line 358: | Line 286: | ||
"active hosts", | "active hosts", | ||
"total hosts", | "total hosts", | ||
"type", | "type", | ||
Revision as of 20:03, 19 May 2026
<templatedata> {
"description": "Infobox for software articles",
"params": {
"name": {
"label": "Name",
"description": "Name of the software (defaults to page name)",
"type": "string",
"suggested": true
},
"author": {
"label": "Author",
"type": "string",
"suggested": true
},
"developer": {
"label": "Developer",
"type": "string",
"suggested": true
},
"maintainer": {
"label": "Maintainer",
"type": "string"
},
"released": {
"label": "Initial release",
"type": "string",
"suggested": true
},
"discontinued": {
"label": "Discontinued",
"type": "string"
},
"repository": {
"label": "Repository",
"type": "url"
},
"stable release": {
"label": "Stable release",
"type": "string",
"suggested": true
},
"preview release": {
"label": "Preview release",
"type": "string"
},
"latest release version": {
"label": "Latest version",
"type": "string"
},
"latest preview version": {
"label": "Latest preview",
"type": "string"
},
"programming language": {
"label": "Written in",
"type": "string"
},
"operating system": {
"label": "Operating system",
"type": "string",
"suggested": true
},
"platform": {
"label": "Platform",
"type": "string"
},
"language": {
"label": "Available in",
"type": "string"
},
"language count": {
"label": "Language count",
"type": "number"
},
"size": {
"label": "Size",
"type": "string"
},
"type": {
"label": "Type",
"type": "string",
"suggested": true
},
"genre": {
"label": "Genre",
"type": "string"
},
"status": {
"label": "Status",
"type": "string",
"suggested": true
},
"license": {
"label": "License",
"type": "string",
"suggested": true
},
"website": {
"label": "Website",
"type": "url",
"suggested": true
},
"average performance": {
"label": "Average performance",
"description": "Compute or reported performance (e.g. FLOPS, GFLOPS, TFLOPS)",
"type": "number"
},
"active users": {
"label": "Active users",
"description": "Currently active users participating in the project",
"type": "number"
},
"total users": {
"label": "Total users",
"description": "Total registered users",
"type": "number"
},
"active hosts": {
"label": "Active hosts",
"description": "Currently active computing hosts",
"type": "number"
},
"total hosts": {
"label": "Total hosts",
"description": "Total registered computing hosts",
"type": "number"
}
},
"paramOrder": [ "name", "author", "developer", "maintainer", "released", "discontinued", "repository",
"stable release", "preview release", "latest release version", "latest preview version",
"programming language", "operating system", "platform", "language", "language count", "size",
"average performance", "active users", "total users", "active hosts", "total hosts",
"type", "genre", "status", "license", "website" ]
} </templatedata>