Template:Infobox software: Difference between revisions
Jump to navigation
Jump to search
Wikipedia template |
Tag: Undo |
||
| 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);"> | |||
<!-- Header / Title --> | |||
| | <tr> | ||
<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}}}}} | |||
</th> | |||
</tr> | |||
| | |||
<!-- Fixed Image Section --> | |||
| screenshot | {{#if:{{{screenshot|}}}| | ||
| screenshot | <tr> | ||
| caption | <td colspan="2" style="text-align: center; padding: 12px; background-color: #f8f9fa; border-bottom: 1px solid #eaecf0;"> | ||
{{#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> | |||
| | </tr> | ||
}} | |||
<!-- Heading: Development --> | |||
{{#if:{{{developer|}}}{{{released|}}}{{{discontinued|}}}{{{repository|}}}| | |||
<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;"> | |||
Development | |||
| operating system | </th> | ||
| platform = | </tr> | ||
| | }} | ||
{{#if:{{{developer|}}}| | |||
| | <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> | |||
| | <td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{developer}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{released|}}}| | |||
| | <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> | ||
<td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{released}}}</td> | |||
</tr> | |||
}} | |||
| | {{#if:{{{discontinued|}}}| | ||
}} | <tr> | ||
<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> | |||
</tr> | |||
}} | |||
{{#if:{{{repository|}}}| | |||
<tr> | |||
<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> | |||
</tr> | |||
}} | |||
<!-- Heading: Releases --> | |||
{{#if:{{{stable release|}}}{{{preview release|}}}| | |||
<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;"> | |||
Releases | |||
</th> | |||
</tr> | |||
}} | |||
{{#if:{{{stable release|}}}| | |||
<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> | |||
<td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; font-size: 12px; line-height: 1.4;">{{{stable release}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{preview release|}}}| | |||
<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> | |||
<td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top; font-size: 12px; line-height: 1.4;">{{{preview release}}}</td> | |||
</tr> | |||
}} | |||
<!-- Heading: Environment --> | |||
{{#if:{{{programming language|}}}{{{operating system|}}}{{{platform|}}}| | |||
<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;"> | |||
Environment | |||
</th> | |||
</tr> | |||
}} | |||
{{#if:{{{programming language|}}}| | |||
<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> | |||
<td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{programming language}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{operating system|}}}| | |||
<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> | |||
<td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{operating system}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{platform|}}}| | |||
<tr> | |||
<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> | |||
</tr> | |||
}} | |||
<!-- Heading: Software Metadata --> | |||
{{#if:{{{genre|}}}{{{license|}}}{{{website|}}}| | |||
<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;"> | |||
Software Metadata | |||
</th> | |||
</tr> | |||
}} | |||
{{#if:{{{genre|}}}| | |||
<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> | |||
<td style="padding: 8px 10px; border-bottom: 1px solid #eaecf0; vertical-align: top;">{{{genre}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{license|}}}| | |||
<tr> | |||
<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> | |||
</tr> | |||
}} | |||
{{#if:{{{website|}}}| | |||
<tr> | |||
<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> | |||
</tr> | |||
}} | |||
</table></includeonly> | |||