Difference between revisions of "Template:Admin"

From NSV13
Jump to navigationJump to search
imported>Atlanta-Ned
(Simplified the feedback link. Now all you need is the thread ID)
(rename Seniormin to GM)
 
(12 intermediate revisions by 3 users 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;
+
| TrialAdmin = color: #11806a;
| coder = color: #669900;
+
| GameAdmin = color: #FFF; background: #1abc9c;
  | #default = color: #9570c0;
+
| GameMaster = color: #FFF; background: #ad1457;
}} font-weight: bold;">{{{Name|No name provided}}}</span> {{#if: {{{Feedback|}}} | • [https://tgstation13.org/phpBB/viewtopic.php?f=37&t={{{Feedback}}} Feedback Thread]}} {{#if: {{{Note|}}} | • ''{{{Note}}}''}}
+
| HeadAdmin = color: #FFF; background: #9c2323;
</div>
+
| HeadCoder = color: #FFF; background: #9b59b6;
 +
| ProjectLead = color: #FFF; background: #32c8fd;
 +
| Host = color: #FFF; background: #9b59b6;
 +
  | #default = color: #11806a;
 +
}} font-weight: bold; padding: 2px 3px; border-radius: 3px;">{{{Name|No name provided}}}</span> {{{Rank|Peasant}}} {{#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 12: Line 15:
  
 
<pre>{{Admin
 
<pre>{{Admin
|Name=Hornygranny
+
|Name=name
|Rank=head
+
|Rank=HeadAdmin}}</pre>
|Feedback=244}}</pre>
 
  
 
...yields:
 
...yields:
 
{{Admin
 
{{Admin
|Name=Hornygranny
+
|Name=name
|Rank=head
+
|Rank=HeadAdmin}}
|Feedback=244}}
 
  
 
And default rank:
 
And default rank:
 
<pre>{{Admin
 
<pre>{{Admin
|Name=Shaps
+
|Name=name}}</pre>
|Feedback=4603}}</pre>
 
  
 
...yields:
 
...yields:
 
{{Admin
 
{{Admin
|Name=Shaps
+
|Name=name}}
|Feedback=4603}}
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:46, 21 April 2020

No name provided • Peasant

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

Usage[edit source]

{{Admin
|Name=name
|Rank=HeadAdmin}}

...yields: name • HeadAdmin


And default rank:

{{Admin
|Name=name}}

...yields: name • Peasant