Jump to content

Template:Infobox Server: Difference between revisions

From MineMania Wiki
No edit summary
Remove title parameter
 
(4 intermediate revisions by the same user not shown)
Line 58: Line 58:
<th scope="row" style="text-align:left; white-space:nowrap;">Join command</th>
<th scope="row" style="text-align:left; white-space:nowrap;">Join command</th>
<td>/server {{{internal_name}}}</td>
<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 71: Line 78:
== Usage ==
== Usage ==
<pre>
<pre>
{{Infobox company
{{Infobox Server
| title =
| image =
| image =
| caption =
| caption =
Line 89: Line 95:
"description": "An info box for a Minemania backend server",
"description": "An info box for a Minemania backend server",
"params": {
"params": {
"title": {
"label": "Title",
"description": "The title shown at the top of the infobox. This should be the friendly name of the server",
"type": "string",
"suggested": true
},
"image": {
"image": {
"label": "Image",
"label": "Image",
Line 104: Line 104:
"caption": {
"caption": {
"label": "Caption",
"label": "Caption",
"description": "Caption shown below the logo or image.",
"description": "Caption shown below the image.",
"type": "string"
"type": "string"
},
},
Line 111: Line 111:
"description": "The servers internal name. This can be found by checking how the /server command tab completes the servers name",
"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
"suggested": true
},
},
"short_description": {
"short_description": {
"label": "Short description",
"label": "Short description",
"description": "A short description of the subject.",
"description": "A short description of the subject.",
"example": "A Minecraft server network.",
"example": "A peaceful survival server",
"type": "content",
"type": "content",
"suggested": true
"suggested": true
Line 134: Line 134:
         "short_join_command": {
         "short_join_command": {
"label": "Short Join Command",
"label": "Short Join Command",
"description": "If available the servers short join command",
"description": "The servers short join command (Not all servers will have this)",
"example": "/hub",
"example": "/hub",
"type": "string"
"type": "string"
Line 147: Line 147:
"label": "Status",
"label": "Status",
"description": "Current status.",
"description": "Current status.",
"example": "Active",
"example": "Active, Shutdown",
"type": "string",
"type": "string",
"suggested": true
"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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Imageimage

image filename.

Example
image.png
Filesuggested
Captioncaption

Caption shown below the image.

Stringoptional
Internal Nameinternal_name

The servers internal name. This can be found by checking how the /server command tab completes the servers name

Stringsuggested
Short descriptionshort_description

A short description of the subject.

Example
A peaceful survival server
Contentsuggested
Release daterelease_date

The release date of the subject.

Example
1 January 2026
Stringoptional
Active datesactive_dates

The dates during which the subject was active.

Example
2026–present
Stringoptional
Short Join Commandshort_join_command

The servers short join command (Not all servers will have this)

Example
/hub
Stringoptional
Whitelistedwhitelisted

Is this backend server whitelisted

Example
yes
Stringoptional
Statusstatus

Current status.

Example
Active, Shutdown
Stringrequired