Jump to content

Template:Staff table row: Difference between revisions

From MineMania Wiki
Created page with "<includeonly> <tr> <td class="cw-staff-table-user">{{{user|}}}</td> <td class="cw-staff-table-status" style="{{#if:{{{status_colour|}}}|background-color: {{{status_colour}}}; color: {{{status_text_colour|#ffffff}}};|}}">{{{status|}}}</td> <td class="cw-staff-table-since">{{{since|}}}</td> <td class="cw-staff-table-position">{{{position|}}}</td> </tr> </includeonly><noinclude> == Usage == <pre> {{Staff table row | user = ExampleUser | status = Active..."
 
m Protected "Template:Staff table row": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(No difference)

Latest revision as of 13:20, 5 June 2026

Usage

{{Staff table row
| user = [[User:ExampleUser|ExampleUser]]
| status = Active
| status_colour = #2ea043
| status_text_colour = #ffffff
| since = 2026
| position = Administrator
}}

Creates one row for Template:Staff table.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Useruser

The staff member's username or linked user page.

Example
[[User:ExampleUser|ExampleUser]]
Contentrequired
Statusstatus

The user's current staff status.

Example
Active
Stringrequired
Status background colourstatus_colour

Background colour for the status cell. Use a hex colour.

Example
#2ea043
Stringsuggested
Status text colourstatus_text_colour

Text colour for the status cell.

Example
#ffffff
Stringoptional
Sincesince

Date or year the user joined staff.

Example
2026
Stringrequired
Positionposition

The user's staff position.

Example
Administrator
Stringrequired