Template:Server subbox/doc

From Irony Wiki
Jump to navigation Jump to search

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[edit source]

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[edit source]

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
colorcolor

The background color of the heading. Must be a valid CSS color value.

Auto value
#0a5ba6
Stringoptional
text_colortext_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.

Default
#ffffff
Stringoptional
serverserver

The name of the server this subbox is about.

Stringrequired
statusstatus

Usually one of the following: Active, Inactive, Banned, Left server, No longer in server

Stringsuggested
rolesroles

Major roles the user has in the server. Use the {{role}} template for cool formatting.

Stringsuggested
joinedjoined

The date the user joined this server.

Stringsuggested
leftleft

The date the user left or was banned from this server.

Stringsuggested
nocatnocat

Set this to "yes" to prevent this template from automatically adding page categories. This shouldn't be used in most circumstances.

Unknownoptional