Jump to content

Template:Infobox Server: Difference between revisions

From MineMania Wiki
No edit summary
mNo edit summary
 
(4 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 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>
</tr>
}}
}}
Line 68: Line 82:
| image =
| image =
| caption =
| caption =
| name =
| internal_name =
| short_description =
| short_description =
| release_date =
| release_date =
| active_dates =
| active_dates =
| short_join_command =
| whitelisted =
| whitelisted =
| status =
| status =
Line 83: 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 91: 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 98: Line 114:
"type": "string"
"type": "string"
},
},
"name": {
"internal_name": {
"label": "Name",
"label": "Internal 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 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"
"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