Template:Infobox software: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary Tag: Manual revert |
||
| Line 7: | Line 7: | ||
</th> | </th> | ||
</tr> | </tr> | ||
<!-- | <!-- Fixed Image Section --> | ||
{{#if:{{{screenshot|}}}| | {{#if:{{{screenshot|}}}| | ||
<tr> | <tr> | ||
<td colspan="2" style="text-align: center; padding: 12px; background-color: #f8f9fa; border-bottom: 1px solid #eaecf0;"> | <td colspan="2" style="text-align: center; padding: 12px; background-color: #f8f9fa; border-bottom: 1px solid #eaecf0;"> | ||
[[File:{{{screenshot}}}|240px|center]] | {{#ifexist: Media:{{{screenshot}}} | ||
| [[File:{{{screenshot}}}|240px|center]] | |||
| <div style="max-width:240px; margin:0 auto; text-align:center;">{{{screenshot}}}</div> | |||
}} | }} | ||
{{#if:{{{caption|}}}|<div style="font-size: 11px; color: #54595d; line-height: 1.3; margin-top: 6px; padding: 0 4px;">{{{caption}}}</div>}} | |||
</td> | </td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- | <!-- Heading: Development --> | ||
{{#if:{{{developer | {{#if:{{{developer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;"> | <th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;"> | ||
| Line 42: | Line 30: | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{developer|}}}| | {{#if:{{{developer|}}}| | ||
<tr> | <tr> | ||
<th style="width:35%; padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Developer</th> | <th style="width: 35%; padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Developer</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{developer | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{developer}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{released|}}}| | {{#if:{{{released|}}}| | ||
<tr> | <tr> | ||
<th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Initial release</th> | <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Initial release</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{released}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{released}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{discontinued|}}}| | {{#if:{{{discontinued|}}}| | ||
<tr> | <tr> | ||
<th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Discontinued</th> | <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Discontinued</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top; color:#b32121; font-weight:500;">{{{discontinued}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; color: #b32121; font-weight: 500;">{{{discontinued}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{repository|}}}| | {{#if:{{{repository|}}}| | ||
<tr> | <tr> | ||
<th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Repository</th> | <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Repository</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top; word-break:break-all;">{{{repository}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; word-break: break-all;">{{{repository}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- Releases --> | <!-- Heading: Releases --> | ||
{{#if:{{{stable release|}}}{{{preview release | {{#if:{{{stable release|}}}{{{preview release|}}}| | ||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; padding:6px 10px; background-color:#f8f9fa; color:#54595d; border-bottom:1px solid #eaecf0;"> | <th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;"> | ||
Releases | Releases | ||
</th> | </th> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{stable release|}}}| | {{#if:{{{stable release|}}}| | ||
<tr> | <tr> | ||
<th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Stable release</th> | <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Stable release</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{stable release}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; font-size: 12px; line-height: 1.4;">{{{stable release}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{preview release|}}}| | {{#if:{{{preview release|}}}| | ||
<tr> | <tr> | ||
<th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Preview release</th> | <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Preview release</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{preview release}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; font-size: 12px; line-height: 1.4;">{{{preview release}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | <!-- Heading: Environment --> | ||
{{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}| | |||
<tr> | <tr> | ||
<th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;"> | |||
<th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; padding:6px 10px; background-color:#f8f9fa; color:#54595d; border-bottom:1px solid #eaecf0;"> | |||
Environment | Environment | ||
</th> | </th> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{programming language|}}}| | {{#if:{{{programming language|}}}| | ||
<tr> | <tr> | ||
<th style="width:35%; padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Written in</th> | <th style="width: 35%; padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Written in</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{programming language}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{programming language}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{operating system|}}}| | {{#if:{{{operating system|}}}| | ||
<tr> | <tr> | ||
<th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Operating system</th> | <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Operating system</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{operating system}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{operating system}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{platform|}}}| | {{#if:{{{platform|}}}| | ||
<tr> | <tr> | ||
<th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Platform</th> | <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Platform</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{platform}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{platform}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{ | <!-- Heading: Software Metadata --> | ||
{{#if:{{{genre|}}}{{{license|}}}{{{website|}}}| | |||
<tr> | <tr> | ||
<th colspan="2" style="text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; background-color: #f8f9fa; color: #54595d; border-bottom: 1px solid #eaecf0;"> | |||
<th colspan="2" style="text-align:center; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; padding:6px 10px; background-color:#f8f9fa; color:#54595d; border-bottom:1px solid #eaecf0;"> | |||
Software Metadata | Software Metadata | ||
</th> | </th> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{genre|}}}| | {{#if:{{{genre|}}}| | ||
<tr> | <tr> | ||
<th style="width:35%; padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Genre</th> | <th style="width: 35%; padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Genre</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{genre}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{genre}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{license|}}}| | {{#if:{{{license|}}}| | ||
<tr> | <tr> | ||
<th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">License</th> | <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">License</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top;">{{{license}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{license}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{website|}}}| | {{#if:{{{website|}}}| | ||
<tr> | <tr> | ||
<th style="padding:8px 10px; text-align:left; font-weight:600; color:#54595d; border-bottom:1px solid #eaecf0; vertical-align:top;">Website</th> | <th style="padding: 8px 10px; text-align: left; font-weight: 600; color: #54595d; border-bottom: 1px solid #eaecf0; vertical-align: top;">Website</th> | ||
<td style="padding:8px 10px; border-bottom:1px solid #eaecf0; vertical-align:top; word-break:break-all;">{{{website}}}</td> | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; word-break: break-all;">{{{website}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
</table></includeonly> | </table></includeonly> | ||