Template:Admin: Difference between revisions
imported>Dragomagol m Removed a duplicate "File: |
imported>SpaceSmithers De-hardcodes the feedback formatting for future-proofing and pre-emptive fixing, as the admin page didn't follow the format anyhow. I'm not even sure how it was working all this time. Also listed all ranks with switch functionality. |
||
Line 27: | Line 27: | ||
| #default = [[File:Font Awesome 5 solid star.svg|16px]] | | #default = [[File:Font Awesome 5 solid star.svg|16px]] | ||
}} | }} | ||
{{{Name|No name provided}}}</span> • {{{Rank|GameAdmin}}} {{#if: {{{Feedback|}}} | • [ | {{{Name|No name provided}}}</span> • {{{Rank|GameAdmin}}} {{#if: {{{Feedback|}}} | • [{{{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 36: | Line 36: | ||
|Name=Hornygranny | |Name=Hornygranny | ||
|Rank=head | |Rank=head | ||
|Feedback=244}}</pre> | |Feedback=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=244}}</pre> | ||
...yields: | ...yields: | ||
Line 42: | Line 42: | ||
|Name=Hornygranny | |Name=Hornygranny | ||
|Rank=head | |Rank=head | ||
|Feedback=244}} | |Feedback=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=244}} | ||
<pre>{{Admin | <pre>{{Admin | ||
|Name=JoeAdmin | |Name=JoeAdmin | ||
|Rank=GameAdmin | |Rank=GameAdmin | ||
|Feedback=244}}</pre> | |Feedback=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=244}}</pre> | ||
...yields: | ...yields: | ||
Line 53: | Line 53: | ||
|Name=JoeAdmin | |Name=JoeAdmin | ||
|Rank=GameAdmin | |Rank=GameAdmin | ||
|Feedback=244}} | |Feedback=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=244}} | ||
And default rank: | And default rank: | ||
<pre>{{Admin | <pre>{{Admin | ||
|Name=Shaps | |Name=Shaps | ||
|Feedback=4603}}</pre> | |Feedback=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=4603}}</pre> | ||
...yields: | ...yields: | ||
{{Admin | {{Admin | ||
|Name=Shaps | |Name=Shaps | ||
|Feedback=4603}} | |Feedback=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=4603}} | ||
===List of ranks with auto-formatting=== | |||
{{Admin | |||
|Name=Maintainer | |||
|Rank=Maintainer | |||
}} | |||
{{Admin | |||
|Name=Spritetainer | |||
|Rank=Spritetainer | |||
}} | |||
{{Admin | |||
|Name=Maptainer | |||
|Rank=Maptainer | |||
}} | |||
{{Admin | |||
|Name=AdminObserver | |||
|Rank=AdminObserver | |||
}} | |||
{{Admin | |||
|Name=TrialAdmin | |||
|Rank=TrialAdmin | |||
}} | |||
{{Admin | |||
|Name=GameAdmin | |||
|Rank=GameAdmin | |||
}} | |||
{{Admin | |||
|Name=AdminTrainer | |||
|Rank=AdminTrainer | |||
}} | |||
{{Admin | |||
|Name=GameMaster | |||
|Rank=GameMaster | |||
}} | |||
{{Admin | |||
|Name=HeadAdmin | |||
|Rank=HeadAdmin | |||
}} | |||
{{Admin | |||
|Name=HeadCoder | |||
|Rank=HeadCoder | |||
}} | |||
{{Admin | |||
|Name=Host | |||
|Rank=Host | |||
}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 08:12, 16 September 2022
File:Font Awesome 5 solid star.svg 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=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=244}}
...yields: File:Font Awesome 5 solid star.svg Hornygranny • head • Feedback Thread
{{Admin |Name=JoeAdmin |Rank=GameAdmin |Feedback=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=244}}
...yields: File:Font Awesome 5 solid asterisk.svg JoeAdmin • GameAdmin • Feedback Thread
And default rank:
{{Admin |Name=Shaps |Feedback=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=4603}}
...yields: File:Font Awesome 5 solid star.svg Shaps • GameAdmin • Feedback Thread
List of ranks with auto-formatting
File:Font Awesome 5 solid code.svg Maintainer • Maintainer
File:Font Awesome 5 solid pen.svg
Spritetainer • Spritetainer
File:LocationLogo.png
Maptainer • Maptainer
File:Font Awesome 5 solid binoculars.svg
AdminObserver • AdminObserver
File:Font Awesome 5 solid gavel.svg
TrialAdmin • TrialAdmin
File:Font Awesome 5 solid asterisk.svg
GameAdmin • GameAdmin
File:Font Awesome 5 solid book-open.svg
AdminTrainer • AdminTrainer
File:Font Awesome 5 solid dungeon.svg
GameMaster • GameMaster
File:Font Awesome 5 solid star.svg
HeadAdmin • HeadAdmin
File:Font Awesome 5 solid star.svg
HeadCoder • HeadCoder
File:Font Awesome 5 solid server.svg
Host • Host