Template:Admin: Difference between revisions

From tgwiki2
Jump to navigation Jump to search
imported>San7890
Adds templates for AdminCandidate and RememberedForever.
imported>San7890
actually we can use a broom svg from Wikimedia Commons
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
| Maintainer = [[File:Font Awesome 5 solid code.svg|16px]]
| Maintainer = [[File:Font Awesome 5 solid code.svg|16px]]
| Spritetainer = [[File:Font Awesome 5 solid pen.svg|16px]]
| Spritetainer = [[File:Font Awesome 5 solid pen.svg|16px]]
| Maptainer = [[File:LocationLogo.png|16px]]
| Maptainer = [[File:Font Awesome 6 Solid Map Marker.png|12px]]
| AdminObserver = [[File:Font_Awesome_5_solid_binoculars.svg|16px]]
| AdminObserver = [[File:Font_Awesome_5_solid_binoculars.svg|16px]]
| AdminCandidate = [[File:Font Awesome 6 solid broom.png|16px]]
| AdminCandidate = [[File:Font Awesome 5 solid broom.svg|16px]]
| TrialAdmin = [[File:Font Awesome 5 solid gavel.svg|16px]]
| TrialAdmin = [[File:Font Awesome 5 solid gavel.svg|16px]]
| GameAdmin = [[File:Font Awesome 5 solid asterisk.svg|16px]]
| GameAdmin = [[File:Font Awesome 5 solid asterisk.svg|16px]]

Latest revision as of 22:25, 16 September 2022

File:Font Awesome 5 solid star.svg No name provided • {{{Rank}}} + {{{Icon}}}

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

Usage

{{Admin
|Name=Hornygranny
|Rank=head
|Icon=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
|Icon=GameAdmin
|Feedback=https://tgstation13.org/phpBB/viewtopic.php?f=37&t=244}}

...yields: File:Font Awesome 5 solid asterisk.svg JoeAdmin • GameAdmin • Feedback Thread


Having a different Icon and Rank is handled by the template itself. If both fields are true like you saw above, the rank will autogenerate to have just that one title. However, if you mix the two like such:

{{Admin
|Name=san7890
|Rank=GameMaster
|Icon=Maptainer
|Feedback=https://tgstation13.org/phpBB/viewtopic.php?t=30403
}}

...yields: san7890 • GameMaster + Maptainer • Feedback Thread


Note that the Rank field should not be "GameMaster + Maptainer", the template will automatically generate the rank if the two fields mis-match.

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 • {{{Rank}}} + {{{Icon}}} • 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


Maptainer • Maptainer


File:Font Awesome 5 solid binoculars.svg AdminObserver • AdminObserver


File:Font Awesome 5 solid broom.svg AdminCandidate • AdminCandidate


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


RememberedForever • RememberedForever