Template:Admin: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
imported>Atlanta-Ned
(Hold onto yer butts, kids.)
 
imported>Atlanta-Ned
(Simplified the feedback link. Now all you need is the thread ID)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="{{{#switch: Rank | head = color: #AA0000; | coder = color: #669900; | color: #9570c0;}}}">
<div style="border: 1px solid #aaa; padding: 5px;>
{{{Name|No name provided}}} {{{Feedback|No feedback link given}}} ''{{{Notes|}}}''
<span style="{{#switch: {{{Rank}}}
| head = color: #AA0000;
| coder = color: #669900;
| #default = color: #9570c0;
}} 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}}}''}}
</div>
</div>


Line 10: Line 14:
|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 16: Line 20:
|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:38, 30 March 2016

No name provided

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 • Feedback Thread


And default rank:

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

...yields:

Shaps • Feedback Thread