Шаблон:Admin: различия между версиями

imported>Atlanta-Ned
м (Ok this should work)
imported>Atlanta-Ned
м (Updating colors)
Строка 1: Строка 1:
<div style="border: 1px solid #aaa; padding: 5px;>
<div style="border: 1px solid #aaa; padding: 5px;>
<span style="{{#switch: {{{Rank}}}
<span style="{{#switch: {{{Rank}}}
| head = color: #AA0000;
| Coder = color: #FFF; background: #31b626;
| coder = color: #669900;
| Codermin = color: #FFF; background: #31b626;
  | #default = color: #9570c0;
| Debugger = color: #FFF; background: #31b626;
}} font-weight: bold;">{{{Name|No name provided}}}</span> • {{{Rank|GameAdmin}}} {{#if: {{{Feedback|}}} | • [https://tgstation13.org/phpBB/viewtopic.php?f=37&t={{{Feedback}}} Feedback Thread]}} {{#if: {{{Note|}}} | • ''{{{Note}}}''}}
| AdminObserver = color: #FFF; background: #3498db;
| TrialAdmin = color: #FFF; background: #d05995;
| GameAdmin = color: #FFF; background: #9b59b6;
| Barista = color: #FFF; background: #6b4711;
| AdminTrainer = color: #FFF; background: #9570c0;
| GameMaster = color: #000; background: #d9b733;
| HeadAdmin = color: #000; background: #ffa500;
| HeadCoder = color: #FFF; background: #31b626;
| Host = color: #FFF; background: #A00;
  | #default = color: #9b59b6;
}} font-weight: bold; padding: 2px 3px;">{{{Name|No name provided}}}</span> • {{{Rank|GameAdmin}}} {{#if: {{{Feedback|}}} | • [https://tgstation13.org/phpBB/viewtopic.php?f=37&t={{{Feedback}}} Feedback Thread]}} {{#if: {{{Note|}}} | • ''{{{Note}}}''}}
</div>
</div>



Версия от 17:00, 5 февраля 2019

No name provided • GameAdmin

This template is meant as a way to quickly list an administrator and relevant links.

Usage

{{Admin
|Name=Hornygranny
|Rank=head
|Feedback=244}}

...yields:

Hornygranny • head • Feedback Thread


And default rank:

{{Admin
|Name=Shaps
|Feedback=4603}}

...yields:

Shaps • GameAdmin • Feedback Thread