Jump to content

Template:Infobox Server: Difference between revisions

From MineMania Wiki
No edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 19: Line 19:
}}
}}


{{#if:{{{name|}}}|
{{#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>{{{name}}}</td>
<td>{{{internal_name}}}</td>
</tr>
</tr>
}}
}}
Line 49: Line 49:
{{#if:{{{short_join_command|}}}|
{{#if:{{{short_join_command|}}}|
<tr>
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Active dates</th>
<th scope="row" style="text-align:left; white-space:nowrap;">Short join command</th>
<td>{{{short_join_command}}}</td>
<td>{{{short_join_command}}}</td>
</tr>
</tr>
}}
}}


{{#if:{{{name|}}}|
{{#if:{{{internal_name|}}}|
<tr>
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Short join command</th>
<th scope="row" style="text-align:left; white-space:nowrap;">Join command</th>
<td>{{{short_join_command}}}</td>
<td>/server {{{internal_name}}}</td>
</tr>
</tr>
}}
}}
Line 63: Line 63:
{{#if:{{{whitelisted|}}}|
{{#if:{{{whitelisted|}}}|
<tr>
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Join command</th>
<th scope="row" style="text-align:left; white-space:nowrap;">Whitelisted</th>
<td>/server {{{name}}}</td>
<td>{{{whitelisted}}}</td>
</tr>
</tr>
}}
}}
Line 82: Line 82:
| image =
| image =
| caption =
| caption =
| name =
| internal_name =
| short_description =
| short_description =
| release_date =
| release_date =
Line 98: Line 98:
"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
Line 106: Line 106:
"description": "image filename.",
"description": "image filename.",
"example": "image.png",
"example": "image.png",
"type": "wiki-file-name"
"type": "wiki-file-name",
            "suggested": true
},
},
"caption": {
"caption": {
Line 113: Line 114:
"type": "string"
"type": "string"
},
},
"name": {
"internal_name": {
"label": "Name",
"label": "Internal Name",
"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",

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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

The title shown at the top of the infobox. This should be the friendly name of the server

Stringsuggested
Imageimage

image filename.

Example
image.png
Filesuggested
Captioncaption

Caption shown below the logo or image.

Stringoptional
Internal Nameinternal_name

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