1,986
edits
(start documentation) |
(expand) |
||
Line 1: | Line 1: | ||
This infobox is for use on articles about [[:Category:Discord servers|Discord servers]]. | This infobox is for use on articles about [[:Category:Discord servers|Discord servers]]. | ||
== Configuration == | |||
Here is a blank instance of this template with all parameters: | |||
<pre><nowiki> | |||
{{Infobox discord server | |||
| name = <!-- If this field is not provided, the page name will be used. --> | |||
| image = <!-- Just enter the file name. Do not include "File:" or any brackets. For example: Sillytime space.svg --> | |||
| image_size = <!-- Override the size of the image, in pixels --> | |||
| caption = | |||
| status = <!-- Usually one of the following: active, inactive, deleted, nuked, archived, private --> | |||
| invite = | |||
| id = | |||
| users = <!-- Approximately the total number of members of the server --> | |||
| owner = | |||
| links = <!-- Other links relating to the server, like if they have a website --> | |||
| founded = <!-- The date the server was founded --> | |||
| defunct = <!-- The date the server was shut down, if applicable --> | |||
| founder = | |||
| nocat = <!-- Set this to "yes" to prevent this template from automatically adding page categories. This shouldn't be used in most cirumstances. --> | |||
}} | |||
</nowiki></pre> | |||
== Example == | |||
Here is an example. The configured parameters are also listed. | |||
{{Infobox Discord server | |||
| image = Sillytime space.gif | |||
| image_size = 150 | |||
| id = 710551456091996260 | |||
| status = deleted | |||
| owner = [[Thumper]]#6970 | |||
| founded = May 26, 2020 | |||
| defunct = December 28, 2021 | |||
| founder = [[Dkaih35]] | |||
| nocat = yes | |||
}} | |||
<pre><nowiki> | |||
{{Infobox Discord server | |||
| image = Sillytime space.gif | |||
| image_size = 150 | |||
| id = 710551456091996260 | |||
| status = deleted | |||
| owner = [[Thumper]]#6970 | |||
| founded = May 26, 2020 | |||
| defunct = December 28, 2021 | |||
| founder = [[Dkaih35]] | |||
| nocat = yes | |||
}} | |||
</nowiki></pre> | |||
== "status" parameter == | |||
The <code>|status =</code> parameter has a special output when given certain inputs. It provides special formatting and automatically adds the page to a category. | |||
{| class="wikitable" | |||
|+ | |||
!Status | |||
!Explanation | |||
!Appearance | |||
!Category | |||
|- | |||
|<code>active</code> | |||
|The server is alive and well. | |||
|<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> | |||
|[[:Category:Active servers]] | |||
|- | |||
|<code>inactive</code> | |||
|The server is still up, but sees very little activity. | |||
|<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> | |||
|[[:Category:Inactive servers]] | |||
|- | |||
|<code>deleted</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> Deleted</span> | |||
| rowspan="3" |[[:Category:Defunct servers]] | |||
|- | |||
|<code>nuked</code> | |||
|The server was nuked and no longer exists. Essentially the same as "deleted" | |||
|<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> Nuked</span> | |||
|- | |||
|<code>archived</code> | |||
|The server still exists, but it is in a read-only state. | |||
|<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> Archived</span> | |||
|- | |||
|<code>private</code> | |||
|The server exists, 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> | |||
|[[:Category:Private servers]] | |||
|- | |||
|(anything else) | |||
| | |||
|text | |||
|[[:Category:Discord servers]] | |||
|} | |||
== TemplateData == | == TemplateData == | ||
Line 103: | Line 196: | ||
"image caption", | "image caption", | ||
"caption", | "caption", | ||
"color", | "color", | ||
"text_color", | "text_color", | ||
"status", | "status", | ||
"invite", | "invite", | ||
"id", | |||
"users", | "users", | ||
"owner", | "owner", |