1,979
edits
(wrong one) |
(add color to the config) |
||
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" |