Template:Infobox software: Difference between revisions

From BOINC Projects
Jump to navigation Jump to search
Al Piskun (talk | contribs)
No edit summary
Al Piskun (talk | contribs)
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>}}
            <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>}}
            <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|}}}|
{{#if:{{{advanced stats|}}}{{{last checked|}}}{{{server status|}}}{{{uptime|}}}{{{api 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;padding:6px;background:#f8f9fa;">
            Advanced stats
        Advanced stats
        </th>
    </th>
    </tr>
</tr>


    <tr>
<tr>
        <td colspan="2" style="padding:0;">
    <td colspan="2" style="padding:0;">


            <div class="mw-collapsible mw-collapsed" style="padding:8px;font-size:12px;">
<div class="mw-collapsible mw-collapsed" style="padding:8px;font-size:12px;">


                {{#if:{{{server status|}}}|
{{#if:{{{server status|}}}|<div><b>Server status:</b> {{{server status}}}</div>}}
                <div><b>Server status:</b> {{{server status}}}</div>
                }}


                {{#if:{{{uptime|}}}|
{{#if:{{{uptime|}}}|<div><b>Uptime:</b> {{{uptime}}}</div>}}
                <div><b>Uptime:</b> {{{uptime}}}</div>
                }}


                {{#if:{{{api status|}}}|
{{#if:{{{api status|}}}|<div><b>API status:</b> {{{api status}}}</div>}}
                <div><b>API status:</b> {{{api status}}}</div>
                }}


                {{#if:{{{last checked|}}}|
{{#if:{{{last checked|}}}|<div><b>Last checked:</b> {{{last checked}}}</div>}}
                <div><b>Last checked:</b> {{{last checked}}}</div>
                }}


                {{#if:{{{advanced stats|}}}|
{{#if:{{{advanced stats|}}}|<div style="margin-top:6px;">{{{advanced stats}}}</div>}}
                <div style="margin-top:6px;">
                    {{{advanced stats}}}
                </div>
                }}


            </div>
</div>


        </td>
    </td>
    </tr>
</tr>


    }}
}}


     <!-- Metadata -->
     <!-- Metadata -->
Line 290: Line 270:
     "average performance": {
     "average performance": {
       "label": "Average performance",
       "label": "Average performance",
      "description": "Average compute performance",
       "type": "string"
       "type": "string"
     },
     },
Line 337: Line 316:
     "project status": {
     "project status": {
       "label": "Project status",
       "label": "Project status",
      "description": "Active, offline, completed, paused, etc.",
       "type": "string"
       "type": "string"
     },
     },
Line 343: Line 321:
     "server status": {
     "server status": {
       "label": "Server status",
       "label": "Server status",
      "description": "Manual server status indicator",
       "type": "string"
       "type": "string"
     },
     },
Line 364: Line 341:
     "advanced stats": {
     "advanced stats": {
       "label": "Advanced stats",
       "label": "Advanced stats",
      "description": "Additional advanced monitoring information",
       "type": "content"
       "type": "content"
     },
     },

Revision as of 19:56, 19 May 2026


<templatedata> {

 "description": "Infobox for software and BOINC project articles",
 "params": {
   "name": {
     "label": "Name",
     "description": "Name of the software or project",
     "type": "string",
     "suggested": true
   },
   "logo": {
     "label": "Logo",
     "type": "wiki-file-name"
   },
   "logo caption": {
     "label": "Logo caption",
     "type": "string"
   },
   "screenshot": {
     "label": "Screenshot",
     "type": "wiki-file-name"
   },
   "caption": {
     "label": "Screenshot caption",
     "type": "string"
   },
   "author": {
     "label": "Author",
     "type": "string"
   },
   "developer": {
     "label": "Developer",
     "type": "string"
   },
   "maintainer": {
     "label": "Maintainer",
     "type": "string"
   },
   "released": {
     "label": "Initial release",
     "type": "string"
   },
   "discontinued": {
     "label": "Discontinued",
     "type": "string"
   },
   "repository": {
     "label": "Repository",
     "type": "string"
   },
   "stable release": {
     "label": "Stable release",
     "type": "string"
   },
   "preview release": {
     "label": "Preview release",
     "type": "string"
   },
   "latest release version": {
     "label": "Latest version",
     "type": "string"
   },
   "latest preview version": {
     "label": "Latest preview version",
     "type": "string"
   },
   "programming language": {
     "label": "Programming language",
     "type": "string"
   },
   "operating system": {
     "label": "Operating system",
     "type": "string"
   },
   "platform": {
     "label": "Platform",
     "type": "string"
   },
   "language": {
     "label": "Language",
     "type": "string"
   },
   "language count": {
     "label": "Language count",
     "type": "number"
   },
   "size": {
     "label": "Size",
     "type": "string"
   },
   "average performance": {
     "label": "Average performance",
     "type": "string"
   },
   "active users": {
     "label": "Active users",
     "type": "number"
   },
   "total users": {
     "label": "Total users",
     "type": "number"
   },
   "active hosts": {
     "label": "Active hosts",
     "type": "number"
   },
   "total hosts": {
     "label": "Total hosts",
     "type": "number"
   },
   "rac": {
     "label": "RAC",
     "description": "Recent Average Credit",
     "type": "number"
   },
   "credit per day": {
     "label": "Credit per day",
     "type": "number"
   },
   "gpu performance": {
     "label": "GPU performance",
     "type": "string"
   },
   "cpu performance": {
     "label": "CPU performance",
     "type": "string"
   },
   "project status": {
     "label": "Project status",
     "type": "string"
   },
   "server status": {
     "label": "Server status",
     "type": "string"
   },
   "uptime": {
     "label": "Uptime",
     "type": "string"
   },
   "api status": {
     "label": "API status",
     "type": "string"
   },
   "last checked": {
     "label": "Last checked",
     "type": "string"
   },
   "advanced stats": {
     "label": "Advanced stats",
     "type": "content"
   },
   "type": {
     "label": "Type",
     "type": "string"
   },
   "genre": {
     "label": "Genre",
     "type": "string"
   },
   "status": {
     "label": "Status",
     "type": "string"
   },
   "license": {
     "label": "License",
     "type": "string"
   },
   "website": {
     "label": "Website",
     "type": "string"
   }
 },
 "paramOrder": [
   "name",
   "logo",
   "logo caption",
   "screenshot",
   "caption",
   "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",
   "rac",
   "credit per day",
   "gpu performance",
   "cpu performance",
   "project status",
   "server status",
   "uptime",
   "api status",
   "last checked",
   "advanced stats",
   "type",
   "genre",
   "status",
   "license",
   "website"
 ]

} </templatedata>