Template:Infobox software: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
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 | <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;"> | ||
<tr> | <tr> | ||
<th colspan="2" style=" | <th colspan="2" style="background:#2c3e50; color:#fff; padding:12px; font-size:20px; text-align:center;"> | ||
{{{name|{{PAGENAME}}}}} | {{{name|{{PAGENAME}}}}} | ||
</th> | </th> | ||
| Line 14: | Line 13: | ||
<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|}}}|<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 24: | Line 27: | ||
<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|}}}|<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 30: | Line 37: | ||
<!-- DEVELOPMENT --> | <!-- DEVELOPMENT --> | ||
{{#if:{{{developer| | {{#if:{{{developer|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center; font-size:11px | <th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;"> | ||
DEVELOPMENT | |||
</th> | </th> | ||
</tr> | |||
<tr> | |||
<th>Developer</th> | |||
<td>{{{developer}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{author|}}}| | |||
<tr> | |||
<th>Author</th> | |||
<td>{{{author}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{released|}}}| | ||
<tr> | |||
<th>Initial release</th> | |||
<td>{{{released}}}</td> | |||
{{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td style="color:#b32424; font-weight: | </tr> | ||
}} | |||
{{#if:{{{discontinued|}}}| | |||
<tr> | |||
<th>Discontinued</th> | |||
<td style="color:#b32424; font-weight:bold;"> | |||
{{{discontinued}}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- SOFTWARE --> | <!-- SOFTWARE --> | ||
{{#if: | {{#if:{{{platform|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center; font-size:11px | <th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;"> | ||
SOFTWARE | |||
</th> | </th> | ||
</tr> | |||
<tr> | |||
<th>Platform</th> | |||
<td>{{{platform}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{programming language|}}}|<tr><th>Written in</th><td>{{{programming language}}}</td> | {{#if:{{{programming language|}}}| | ||
<tr> | |||
<th>Written in</th> | |||
<td>{{{programming language}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{operating system|}}}| | |||
{{#if:{{{ | |||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center; font-size:11px | <th>OS</th> | ||
<td>{{{operating system}}}</td> | |||
</tr> | |||
}} | |||
<!-- BOINC STATS --> | |||
{{#if:{{{average performance|}}}| | |||
<tr> | |||
<th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;"> | |||
BOINC STATISTICS | |||
</th> | </th> | ||
</tr> | |||
<tr> | |||
<th>Performance</th> | |||
<td>{{{average performance}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{active users|}}}| | ||
<tr> | |||
<th>Active users</th> | |||
<td>{{formatnum:{{{active users}}}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{total users|}}}| | |||
{{#if: | |||
<tr> | <tr> | ||
<th | <th>Total users</th> | ||
<td>{{formatnum:{{{total users}}}}}</td> | |||
</ | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{active hosts|}}}| | |||
{{#if:{{{active | <tr> | ||
<th>Active hosts</th> | |||
<td>{{formatnum:{{{active hosts}}}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{stats updated|}}}|<tr><th>Stats updated</th><td>{{{stats updated}}}</td></tr>}} | {{#if:{{{total hosts|}}}| | ||
<tr> | |||
<th>Total hosts</th> | |||
<td>{{formatnum:{{{total hosts}}}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{stats updated|}}}| | |||
<tr> | |||
<th>Stats updated</th> | |||
<td>{{{stats updated}}}</td> | |||
</tr> | |||
}} | |||
<!-- ANALYTICS --> | <!-- ANALYTICS --> | ||
{{#if:{{{rac| | {{#if:{{{rac|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center; font-size:11px | <th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;"> | ||
ANALYTICS | |||
</th> | </th> | ||
</tr> | |||
<tr> | |||
<th>RAC</th> | |||
<td>{{formatnum:{{{rac}}}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{credit per day|}}}| | |||
{{#if:{{{credit per day|}}}|<tr><th>Credit/day</th><td>{{formatnum:{{{credit per day}}}}}</td> | <tr> | ||
<th>Credit/day</th> | |||
<td>{{formatnum:{{{credit per day}}}}}</td> | |||
</tr> | |||
}} | |||
<!-- | <!-- METADATA --> | ||
{{#if: | {{#if:{{{website|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center; font-size:11px | <th colspan="2" style="background:#eaecf0; padding:6px; text-align:center; font-size:11px;"> | ||
METADATA | |||
</th> | </th> | ||
</tr> | |||
<tr> | |||
<th>Website</th> | |||
<td>{{{website}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{license|}}}|<tr><th>License</th><td>{{{license}}}</td></tr> | {{#if:{{{license|}}}| | ||
<tr> | |||
<th>License</th> | |||
<td>{{{license}}}</td> | |||
</tr> | |||
}} | |||
</table> | </table> | ||
| Line 120: | Line 191: | ||
<noinclude> | <noinclude> | ||
Modern BOINC infobox template. | |||
Modern BOINC | |||
</noinclude> | </noinclude> | ||
Revision as of 00:56, 20 May 2026
Modern BOINC infobox template.