Template:Infobox Server: Difference between revisions
Appearance
Computerwhz (talk | contribs) Created page with "<includeonly> <table class="infobox" style="float:right; clear:right; width:22em; margin:0 0 1em 1em; border:1px solid #a2a9b1; border-spacing:3px; background:#f8f9fa; color:#202122; font-size:88%; line-height:1.5;"> <tr> <th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background:#ccccff;"> {{{title|{{PAGENAME}}}}} </th> </tr> {{#if:{{{logo|}}}| <tr> <td colspan="2" style="text-align:center;">[[File:{{{logo}}}|220px]]</td> </tr> }} {{#if:{{{..." |
Computerwhz (talk | contribs) mNo edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
</tr> | </tr> | ||
{{#if:{{{ | {{#if:{{{image|}}}| | ||
<tr> | <tr> | ||
<td colspan="2" style="text-align:center;">[[File:{{{ | <td colspan="2" style="text-align:center;">[[File:{{{image}}}|220px]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 19: | Line 19: | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{internal_name|}}}| | ||
<tr> | <tr> | ||
<th scope="row" style="text-align:left; white-space:nowrap;">Name</th> | <th scope="row" style="text-align:left; white-space:nowrap;">Internal Name</th> | ||
<td>{{{ | <td>{{{internal_name}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 44: | Line 44: | ||
<th scope="row" style="text-align:left; white-space:nowrap;">Active dates</th> | <th scope="row" style="text-align:left; white-space:nowrap;">Active dates</th> | ||
<td>{{{active_dates}}}</td> | <td>{{{active_dates}}}</td> | ||
</tr> | |||
}} | |||
{{#if:{{{short_join_command|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Short join command</th> | |||
<td>{{{short_join_command}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{internal_name|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Join command</th> | |||
<td>/server {{{internal_name}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{whitelisted|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Whitelisted</th> | |||
<td>{{{whitelisted}}}</td> | |||
</tr> | </tr> | ||
}} | }} | ||
| Line 59: | Line 80: | ||
{{Infobox company | {{Infobox company | ||
| title = | | title = | ||
| | | image = | ||
| caption = | | caption = | ||
| | | internal_name = | ||
| short_description = | | short_description = | ||
| release_date = | | release_date = | ||
| active_dates = | | active_dates = | ||
| short_join_command = | |||
| whitelisted = | |||
| status = | | status = | ||
}} | }} | ||
| Line 71: | Line 94: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "description": "An info box for a Minemania backend server", | ||
"params": { | "params": { | ||
"title": { | "title": { | ||
"label": "Title", | "label": "Title", | ||
"description": "The title shown at the top of the infobox.", | "description": "The title shown at the top of the infobox. This should be the friendly name of the server", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "image": { | ||
"label": " | "label": "Image", | ||
"description": " | "description": "image filename.", | ||
"example": " | "example": "image.png", | ||
"type": "wiki-file-name" | "type": "wiki-file-name", | ||
"suggested": true | |||
}, | }, | ||
"caption": { | "caption": { | ||
| Line 90: | Line 114: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "internal_name": { | ||
"label": "Name", | "label": "Internal Name", | ||
"description": " | "description": "The servers internal name. This can be found by checking how the /server command tab completes the servers name", | ||
"type": "string", | "type": "string", | ||
" | "required": true | ||
}, | }, | ||
"short_description": { | "short_description": { | ||
| Line 113: | Line 137: | ||
"description": "The dates during which the subject was active.", | "description": "The dates during which the subject was active.", | ||
"example": "2026–present", | "example": "2026–present", | ||
"type": "string" | |||
}, | |||
"short_join_command": { | |||
"label": "Short Join Command", | |||
"description": "If available the servers short join command", | |||
"example": "/hub", | |||
"type": "string" | |||
}, | |||
"whitelisted": { | |||
"label": "Whitelisted", | |||
"description": "Is this backend server whitelisted", | |||
"example": "yes", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
Latest revision as of 13:02, 11 June 2026
Usage
{{Infobox company
| title =
| image =
| caption =
| internal_name =
| short_description =
| release_date =
| active_dates =
| short_join_command =
| whitelisted =
| status =
}}
An info box for a Minemania backend server
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | The title shown at the top of the infobox. This should be the friendly name of the server | String | suggested |
| Image | image | image filename.
| File | suggested |
| Caption | caption | Caption shown below the logo or image. | String | optional |
| Internal Name | internal_name | The servers internal name. This can be found by checking how the /server command tab completes the servers name | String | required |
| Short description | short_description | A short description of the subject.
| Content | suggested |
| Release date | release_date | The release date of the subject.
| String | optional |
| Active dates | active_dates | The dates during which the subject was active.
| String | optional |
| Short Join Command | short_join_command | If available the servers short join command
| String | optional |
| Whitelisted | whitelisted | Is this backend server whitelisted
| String | optional |
| Status | status | Current status.
| String | suggested |