Latest revision |
Your text |
Line 1: |
Line 1: |
| This infobox is for use on articles about video game servers.
| |
|
| |
| == Configuration ==
| |
| Here is a blank instance of this template with all parameters:
| |
| <pre><nowiki> | | <pre><nowiki> |
| {{Infobox game server | | {{Infobox game server |
Line 9: |
Line 5: |
| | image_size = <!-- Override the size of the image, in pixels --> | | | image_size = <!-- Override the size of the image, in pixels --> |
| | caption = | | | caption = |
| | status = <!-- Usually one of the following: active, inactive, defunct, private -->
| |
| | game = | | | game = |
| | ip = | | | ip = |
| | version = | | | version = |
| | gamemods = | | | gamemods = |
| | opened =
| |
| | closed =
| |
| | owner = | | | owner = |
| | moderators = | | | moderators = |
| | links = | | | links = |
| }}</nowiki></pre> | | }}</nowiki></pre> |
|
| |
| == "status" parameter ==
| |
| The <code>|status =</code> parameter has a special output that provides special formatting when given certain inputs.
| |
|
| |
| {| class="wikitable"
| |
| |+
| |
| !Status
| |
| !Explanation
| |
| !Appearance
| |
| |-
| |
| |<code>active</code>
| |
| |The server is operational and has an active playerbase.
| |
| |<span style="box-sizing: border-box; display: inline-flex; vertical-align: middle; align-items: center;"><span style="width: 0.75em; height: 0.75em; margin-right: 4px; border-radius: 50%; background-color: #00dd00;"></span> Active</span>
| |
| |-
| |
| |<code>inactive</code>
| |
| |The server is operational, but does not have an active playerbase.
| |
| |<span style="box-sizing: border-box; display: inline-flex; vertical-align: middle; align-items: center;"><span style="width: 0.75em; height: 0.75em; margin-right: 4px; border-radius: 50%; background-color: #ffc000;"></span> Inactive</span>
| |
| |-
| |
| |<code>defunct</code>
| |
| |The server no longer exists :(
| |
| |<span style="box-sizing: border-box; display: inline-flex; vertical-align: middle; align-items: center;"><span style="width: 0.75em; height: 0.75em; margin-right: 4px; border-radius: 50%; background-color: #dc0000;"></span> Defunct</span>
| |
| |-
| |
| |<code>private</code>
| |
| |The server is operational, but it is private. Only certain people can join.
| |
| |<span style="box-sizing: border-box; display: inline-flex; vertical-align: middle; align-items: center;"><span style="width: 0.75em; height: 0.75em; margin-right: 4px; border-radius: 50%; background-color: #b9bbbe;"></span> Private</span>
| |
| |-
| |
| |(anything else)
| |
| |
| |
| |text
| |
| |}
| |
|
| |
| == TemplateData ==
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "name": {
| |
| "description": "The name of the server. You don't need to enter anything unless the name is different from the name of the page.",
| |
| "type": "string",
| |
| "default": "{{PAGENAME}}",
| |
| "suggested": true
| |
| },
| |
| "image": {
| |
| "description": "An image to represent this server, such as an icon or a screenshot.",
| |
| "type": "wiki-file-name",
| |
| "suggested": true
| |
| },
| |
| "landscape": {},
| |
| "image size": {
| |
| "description": "Override the size of the image, in pixels",
| |
| "type": "number"
| |
| },
| |
| "imagesize": {},
| |
| "image_upright": {},
| |
| "alt": {
| |
| "description": "Alt text for the image"
| |
| },
| |
| "image caption": {},
| |
| "caption": {
| |
| "description": "A caption for the image"
| |
| },
| |
| "status": {
| |
| "description": "The status of the server.",
| |
| "example": "active",
| |
| "type": "string",
| |
| "suggestedvalues": [
| |
| "active",
| |
| "inactive",
| |
| "defunct",
| |
| "private"
| |
| ],
| |
| "suggested": true
| |
| },
| |
| "game": {
| |
| "description": "The video game that this server is for.",
| |
| "example": "{{w|Minecraft}}",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "ip": {
| |
| "description": "The IP address used to connect to this server.",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "version": {
| |
| "description": "The version of the game this server is running.",
| |
| "example": "Java Edition 1.20.1",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "gamemods": {
| |
| "description": "Any mods that the server requires the player to have installed.",
| |
| "type": "unknown"
| |
| },
| |
| "owner": {
| |
| "description": "The owner(s) of the server.",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "moderators": {
| |
| "description": "The moderator(s) of the server.",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "links": {
| |
| "description": "Any links relating to this server."
| |
| },
| |
| "opened": {
| |
| "label": "established",
| |
| "description": "The date that the server was first opened for players.",
| |
| "type": "date",
| |
| "suggested": true
| |
| },
| |
| "closed": {
| |
| "label": "defunct",
| |
| "description": "The date that the server was shut down, if applicable.",
| |
| "type": "date"
| |
| }
| |
| },
| |
| "description": "Infobox for use on articles about video game servers. None of the parameters are required.",
| |
| "format": "block",
| |
| "paramOrder": [
| |
| "name",
| |
| "image",
| |
| "landscape",
| |
| "image size",
| |
| "imagesize",
| |
| "image_upright",
| |
| "alt",
| |
| "image caption",
| |
| "caption",
| |
| "status",
| |
| "game",
| |
| "ip",
| |
| "version",
| |
| "gamemods",
| |
| "opened",
| |
| "closed",
| |
| "owner",
| |
| "moderators",
| |
| "links"
| |
| ]
| |
| }
| |
| </templatedata>
| |
|
| |
| <includeonly>
| |
| [[Category:Infobox templates|game server]]
| |
| </includeonly>
| |