Template:Infobox Discord server/doc: Difference between revisions
+category |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Configuration == | == Configuration == | ||
Here is a blank instance of this template with all parameters: | Here is a blank instance of this template with all of the most common parameters: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infobox Discord server | {{Infobox Discord server | ||
Line 9: | Line 9: | ||
| image_size = <!-- Override the size of the image, in pixels --> | | image_size = <!-- Override the size of the image, in pixels --> | ||
| caption = | | caption = | ||
| color = <!-- The background color of the headings. Defaults to #0a5ba6. Must be a valid CSS color value. Will also be used on all subboxes for this server. --> | |||
| text_color = <!-- The text color for the headings. Defaults to white; change it if the background is a light color. Will also be used on all subboxes for this server. --> | |||
| status = <!-- Usually one of the following: active, inactive, deleted, nuked, archived, private --> | | status = <!-- Usually one of the following: active, inactive, deleted, nuked, archived, private --> | ||
| invite = | | invite = | ||
Line 123: | Line 125: | ||
}, | }, | ||
"color": { | "color": { | ||
"description": "The background color of the headings. Must be a valid CSS color value.", | "description": "The background color of the headings. Must be a valid CSS color value. Will also be accessible from {{Server color}} and will be used on the subboxes for this server.", | ||
"type": "string", | "type": "string", | ||
"default": "#0a5ba6" | "default": "#0a5ba6" | ||
}, | }, | ||
"text_color": { | "text_color": { | ||
"description": "The color of the text of the headings. Defaults to white; change it to black if the headings are a very light color. Must be a valid CSS color value.", | "description": "The color of the text of the headings. Defaults to white; change it to black if the headings are a very light color. Must be a valid CSS color value. Will also be accessible from {{Server color}} and will be used on the subboxes for this server.", | ||
"type": "string", | "type": "string", | ||
"default": "#ffffff" | "default": "#ffffff" | ||
Line 134: | Line 136: | ||
"status": { | "status": { | ||
"description": "The status of the server. Usually one of the following: active, inactive, deleted, nuked, archived, private.", | "description": "The status of the server. Usually one of the following: active, inactive, deleted, nuked, archived, private.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"suggestedvalues": [ | |||
"active", | |||
"inactive", | |||
"deleted", | |||
"nuked", | |||
"archived", | |||
"private" | |||
] | |||
}, | }, | ||
"nocat": { | "nocat": { | ||
Line 179: | Line 188: | ||
}, | }, | ||
"id": { | "id": { | ||
"description": "Discord's internal | "description": "Discord's internal snowflake ID of the server.", | ||
"example": "501310750074077215", | "example": "501310750074077215", | ||
"type": "number", | "type": "number", | ||
Line 218: | Line 227: | ||
</templatedata> | </templatedata> | ||
<includeonly> | <includeonly> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates|Discord server]] | ||
[[Category:Templates that | [[Category:Templates that store Cargo data]] | ||
</includeonly> | </includeonly> |