Template:Admin: Difference between revisions

From /VM/station wiki
imported>Atlanta-Ned
m I hate templates sooooo much
imported>Atlanta-Ned
m Protected "Template:Admin": Template used on an already protected page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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> • {{{Feedback|No feedback link given}}} {{#if: {{{Note|}}} | • ''{{{Note}}}''}}
| AdminObserver = color: #FFF; background: #3498db;
</div>
| 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; border-radius: 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}}}''}}


<noinclude>This template is meant as a way to quickly list an administrator and relevant links.
<noinclude>This template is meant as a way to quickly list an administrator and relevant links.
Line 14: Line 22:
|Name=Hornygranny
|Name=Hornygranny
|Rank=head
|Rank=head
|Feedback=[https://tgstation13.org/phpBB/viewtopic.php?f=37&t=244 Feedback Thread]}}</pre>
|Feedback=244}}</pre>


...yields:
...yields:
Line 20: Line 28:
|Name=Hornygranny
|Name=Hornygranny
|Rank=head
|Rank=head
|Feedback=[https://tgstation13.org/phpBB/viewtopic.php?f=37&t=244 Feedback Thread]}}
|Feedback=244}}


And default rank:
And default rank:
<pre>{{Admin
<pre>{{Admin
|Name=Shaps
|Name=Shaps
|Feedback=[https://tgstation13.org/phpBB/viewtopic.php?f=37&t=4603 Feedback Thread]}}</pre>
|Feedback=4603}}</pre>


...yields:
...yields:
{{Admin
{{Admin
|Name=Shaps
|Name=Shaps
|Feedback=[https://tgstation13.org/phpBB/viewtopic.php?f=37&t=4603 Feedback Thread]}}
|Feedback=4603}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 17:10, 5 February 2019

No name provided • GameAdmin {{#if: | • Feedback Thread}} {{#if: | • {{{Note}}}}}

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

Usage[edit]

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

...yields: Hornygranny • head {{#if: 244 | • Feedback Thread}} {{#if: | • {{{Note}}}}}


And default rank:

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

...yields: Shaps • GameAdmin {{#if: 4603 | • Feedback Thread}} {{#if: | • {{{Note}}}}}