Template:Infobox Server: Difference between revisions
Appearance
Computerwhz (talk | contribs) No edit summary |
Computerwhz (talk | contribs) Remove title parameter |
||
| (9 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 57: | Line 78: | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Infobox | {{Infobox Server | ||
| | | image = | ||
| caption = | | caption = | ||
| | | internal_name = | ||
| short_description = | | short_description = | ||
| release_date = | | release_date = | ||
| active_dates = | | active_dates = | ||
| short_join_command = | |||
| whitelisted = | |||
| status = | | status = | ||
}} | }} | ||
| Line 73: | Line 95: | ||
"description": "An info box for a Minemania backend server", | "description": "An info box for a Minemania backend server", | ||
"params": { | "params": { | ||
" | "image": { | ||
"label": " | "label": "Image", | ||
"description": " | "description": "image filename.", | ||
"example": "image.png", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
"example": " | |||
"type": "wiki-file-name" | |||
}, | }, | ||
"caption": { | "caption": { | ||
"label": "Caption", | "label": "Caption", | ||
"description": "Caption shown below the | "description": "Caption shown below the image.", | ||
"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", | ||
"suggested": true | "suggested": true | ||
| Line 99: | Line 116: | ||
"label": "Short description", | "label": "Short description", | ||
"description": "A short description of the subject.", | "description": "A short description of the subject.", | ||
"example": "A | "example": "A peaceful survival server", | ||
"type": "content", | "type": "content", | ||
"suggested": true | "suggested": true | ||
| Line 113: | Line 130: | ||
"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": "The servers short join command (Not all servers will have this)", | |||
"example": "/hub", | |||
"type": "string" | |||
}, | |||
"whitelisted": { | |||
"label": "Whitelisted", | |||
"description": "Is this backend server whitelisted", | |||
"example": "yes", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 118: | Line 147: | ||
"label": "Status", | "label": "Status", | ||
"description": "Current status.", | "description": "Current status.", | ||
"example": "Active", | "example": "Active, Shutdown", | ||
"type": "string", | "type": "string", | ||
" | "required": true | ||
} | } | ||
} | } | ||
Latest revision as of 10:38, 27 July 2026
Usage
{{Infobox Server
| 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 | |
|---|---|---|---|---|
| Image | image | image filename.
| File | suggested |
| Caption | caption | Caption shown below the 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 | suggested |
| 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 | The servers short join command (Not all servers will have this)
| String | optional |
| Whitelisted | whitelisted | Is this backend server whitelisted
| String | optional |
| Status | status | Current status.
| String | required |