Jump to content

Template:Infobox Server: Difference between revisions

From MineMania Wiki
m Protected "Template:Infobox Server" ([Edit=Allow only trusted users] (indefinite) [Move=Allow only trusted users] (indefinite))
No edit summary
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;">Active dates</th>
<td>{{{short_join_command}}}</td>
</tr>
}}
{{#if:{{{name|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Short join command</th>
<td>{{{short_join_command}}}</td>
</tr>
</tr>
}}
}}
Line 49: Line 63:
{{#if:{{{whitelisted|}}}|
{{#if:{{{whitelisted|}}}|
<tr>
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Whitelisted</th>
<th scope="row" style="text-align:left; white-space:nowrap;">Join command</th>
<td>{{{whitelisted}}}</td>
<td>/server {{{name}}}</td>
</tr>
</tr>
}}
}}
Line 72: Line 86:
| release_date =
| release_date =
| active_dates =
| active_dates =
| short_join_command =
| whitelisted =
| whitelisted =
| status =
| status =
Line 100: Line 115:
"name": {
"name": {
"label": "Name",
"label": "Name",
"description": "Name shown as a labelled field inside the infobox.",
"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
"required": true
},
},
"short_description": {
"short_description": {
Line 121: Line 136:
"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"
"type": "string"
},
},

Revision as of 16:11, 5 June 2026

Usage

{{Infobox company
| title =
| image =
| caption =
| 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
Titletitle

The title shown at the top of the infobox.

Stringsuggested
Imageimage

image filename.

Example
image.png
Fileoptional
Captioncaption

Caption shown below the logo or image.

Stringoptional
Namename

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

Stringrequired
Short descriptionshort_description

A short description of the subject.

Example
A Minecraft server network.
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

If available the servers short join command

Example
/hub
Stringoptional
Whitelistedwhitelisted

Is this backend server whitelisted

Example
yes
Stringoptional
Statusstatus

Current status.

Example
Active
Stringsuggested