Jump to content

Template:Infobox Server: Difference between revisions

From MineMania Wiki
No edit summary
Remove title parameter
 
(9 intermediate revisions by the same user not shown)
Line 7: Line 7:
</tr>
</tr>


{{#if:{{{logo|}}}|
{{#if:{{{image|}}}|
<tr>
<tr>
<td colspan="2" style="text-align:center;">[[File:{{{logo}}}|220px]]</td>
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|220px]]</td>
</tr>
</tr>
}}
}}
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>
}}
{{#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 company
{{Infobox Server
| title =
| image =
| logo =
| caption =
| caption =
| name =
| 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": {
"title": {
"image": {
"label": "Title",
"label": "Image",
"description": "The title shown at the top of the infobox.",
"description": "image filename.",
"type": "string",
"example": "image.png",
"suggested": true
"type": "wiki-file-name",
},
            "suggested": true
"logo": {
"label": "Logo",
"description": "Logo filename without the File: prefix.",
"example": "Logo.png",
"type": "wiki-file-name"
},
},
"caption": {
"caption": {
"label": "Caption",
"label": "Caption",
"description": "Caption shown below the logo or image.",
"description": "Caption shown below the image.",
"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
"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 Minecraft server network.",
"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",
"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