Template:Infobox software: Difference between revisions
No edit summary |
No edit summary |
||
| Line 13: | 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|}}}| | {{#if:{{{logo caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{logo caption}}}</div>}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 27: | Line 23: | ||
<td colspan="2" style="text-align:center;padding:12px;background:#f8f9fa;"> | <td colspan="2" style="text-align:center;padding:12px;background:#f8f9fa;"> | ||
[[File:{{{screenshot}}}|240px|center]] | [[File:{{{screenshot}}}|240px|center]] | ||
{{#if:{{{caption|}}}| | {{#if:{{{caption|}}}|<div style="font-size:11px;color:#54595d;margin-top:6px;">{{{caption}}}</div>}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 116: | Line 108: | ||
<!-- ========================= --> | <!-- ========================= --> | ||
{{#if:{{{advanced stats|}}}{{{last checked|}}}{{{server status|}}}{{{uptime|}}}{{{api status|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align:center;font-size:11px;font-weight:700;padding:6px;background:#f8f9fa;"> | |||
Advanced stats | |||
</th> | |||
</tr> | |||
<tr> | |||
<td colspan="2" style="padding:0;"> | |||
<div class="mw-collapsible mw-collapsed" style="padding:8px;font-size:12px;"> | |||
{{#if:{{{server status|}}}|<div><b>Server status:</b> {{{server status}}}</div>}} | |||
{{#if:{{{uptime|}}}|<div><b>Uptime:</b> {{{uptime}}}</div>}} | |||
{{#if:{{{api status|}}}|<div><b>API status:</b> {{{api status}}}</div>}} | |||
{{#if:{{{last checked|}}}|<div><b>Last checked:</b> {{{last checked}}}</div>}} | |||
{{#if:{{{advanced stats|}}}|<div style="margin-top:6px;">{{{advanced stats}}}</div>}} | |||
</div> | |||
</td> | |||
</tr> | |||
}} | |||
<!-- Metadata --> | <!-- Metadata --> | ||
| Line 290: | Line 270: | ||
"average performance": { | "average performance": { | ||
"label": "Average performance", | "label": "Average performance", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 337: | Line 316: | ||
"project status": { | "project status": { | ||
"label": "Project status", | "label": "Project status", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 343: | Line 321: | ||
"server status": { | "server status": { | ||
"label": "Server status", | "label": "Server status", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 364: | Line 341: | ||
"advanced stats": { | "advanced stats": { | ||
"label": "Advanced stats", | "label": "Advanced stats", | ||
"type": "content" | "type": "content" | ||
}, | }, | ||