Template:Server subbox: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox
{{Infobox
| subbox = yes
| child = yes
| headerstyle = background-color:{{{color|#0a5ba6}}}; color:{{{text_color|#ffffff}}};
| headerstyle = background-color:{{{color|#0a5ba6}}}; color:{{{text_color|#ffffff}}};
| header1 = <span class="link-inherit-color">[[{{{server|}}}]]</span>
| header1 = <span class="link-inherit-color">[[{{{server|}}}]]</span>

Revision as of 04:44, 14 July 2022

[[]]

Documentation

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.

Template parameters[Edit template data]

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