Шаблон:Admin: различия между версиями
imported>San7890 (Adjusts the Maptainer Location Pin to not be so artifacty. It's kinda oddly shaped in comparison to the rest, so I shrunk it down to 12px to fix the "box".) |
imported>San7890 (actually we can use a broom svg from Wikimedia Commons) |
||
Строка 20: | Строка 20: | ||
| Maptainer = [[File:Font Awesome 6 Solid Map Marker.png|12px]] | | 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 | | 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]] |
Текущая версия от 22:25, 16 сентября 2022
Файл: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: Файл: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: Файл: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: Файл:Font Awesome 5 solid star.svg Shaps • {{{Rank}}} + {{{Icon}}} • Feedback Thread
List of ranks with auto-formatting
Файл:Font Awesome 5 solid code.svg Maintainer • Maintainer
Файл:Font Awesome 5 solid pen.svg
Spritetainer • Spritetainer
Файл:Font Awesome 5 solid binoculars.svg
AdminObserver • AdminObserver
Файл:Font Awesome 5 solid broom.svg
AdminCandidate • AdminCandidate
Файл:Font Awesome 5 solid gavel.svg
TrialAdmin • TrialAdmin
Файл:Font Awesome 5 solid asterisk.svg
GameAdmin • GameAdmin
Файл:Font Awesome 5 solid book-open.svg
AdminTrainer • AdminTrainer
Файл:Font Awesome 5 solid dungeon.svg
GameMaster • GameMaster
Файл:Font Awesome 5 solid star.svg
HeadAdmin • HeadAdmin
Файл:Font Awesome 5 solid star.svg
HeadCoder • HeadCoder
Файл:Font Awesome 5 solid server.svg
Host • Host