Template:Server subbox: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
| subbox = yes | | subbox = yes | ||
| headerstyle = background-color:{{{color|#0a5ba6}}}; color:{{{text_color|#ffffff}}}; | | headerstyle = background-color:{{{color|#0a5ba6}}}; color:{{{text_color|#ffffff}}}; | ||
| header1 = [[{{{server|}}}]] | | header1 = <span class="link-inherit-color">[[{{{server|}}}]]</span> | ||
| label2 = Status | | label2 = Status | ||
| data2 = {{{status|}}} | | data2 = {{{status|}}} |
Revision as of 00:34, 13 July 2022
[[]] |
---|
This infobox details a user's presence and status in a specific server. This infobox is meant for embedding inside the subboxes parameter of {{Infobox user}}. Multiple subboxes can be embedded inside the same user infobox. It should not be used as a standalone infobox.
Usage
Usage of this template should look a little something like this:
{{Infobox user | name = Example User ... | subboxes = {{Server subbox | server = Irony Hub | status = Left server | roles = {{role|Trollsome|#9062f8}} | joined = September 11, 2020 | left = February 30, 2021 }} {{Server subbox | server = Whenthe | status = Active | roles = {{role|Bluename|#007ac1}} | joined = December 25, 2020 }} }}
TemplateData
This infobox details a user's presence and status in a specific server. This infobox is meant for embedding inside the subboxes parameter of {{Infobox user}}. Multiple subboxes can be embedded inside the same user infobox. It should not be used as a standalone infobox.
Parameter | Description | Type | Status | |
---|---|---|---|---|
color | color | The background color of the heading. Must be a valid CSS color value.
| String | optional |
text_color | text_color | The color of the text of the heading. Defaults to white; change it to black if the headings are a very light color. Must be a valid CSS color value.
| String | optional |
server | server | The name of the server this subbox is about. | String | required |
status | status | Usually one of the following: Active, Inactive, Banned, Left server, No longer in server | String | suggested |
roles | roles | Major roles the user has in the server. Use the {{role}} template for cool formatting. | String | suggested |
joined | joined | The date the user joined this server. | String | suggested |
left | left | The date the user left or was banned from this server. | String | suggested |
nocat | nocat | Set this to "yes" to prevent this template from automatically adding page categories. This shouldn't be used in most circumstances. | Unknown | optional |