Jump to content

Template:Infobox Server: Difference between revisions

From MineMania Wiki
No edit summary
No edit summary
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 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:{{{whitelisted|}}}|
<tr>
<th scope="row" style="text-align:left; white-space:nowrap;">Whitelisted</th>
<td>{{{whitelisted}}}</td>
</tr>
</tr>
}}
}}
Line 59: Line 66:
{{Infobox company
{{Infobox company
| title =
| title =
| logo =
| image =
| caption =
| caption =
| name =
| name =
Line 65: Line 72:
| release_date =
| release_date =
| active_dates =
| active_dates =
| whitelisted =
| status =
| status =
}}
}}
Line 79: Line 87:
"suggested": true
"suggested": true
},
},
"logo": {
"image": {
"label": "Logo",
"label": "Image",
"description": "Logo filename without the File: prefix.",
"description": "image filename.",
"example": "Logo.png",
"example": "image.png",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
Line 113: Line 121:
"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"
},
        "whitelisted": {
"label": "Whitelisted",
"description": "Is this backend server whitelisted",
"example": "yes",
"type": "string"
"type": "string"
},
},

Revision as of 07:17, 5 June 2026

Usage

{{Infobox company
| title =
| image =
| caption =
| name =
| short_description =
| release_date =
| active_dates =
| 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

Name shown as a labelled field inside the infobox.

Stringsuggested
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
Whitelistedwhitelisted

Is this backend server whitelisted

Example
yes
Stringoptional
Statusstatus

Current status.

Example
Active
Stringsuggested