CURRENT MISSION: Conclude the 2026 soyjak.party hack page, aswell as any pages relating to it, such as the Summer 2026 Crisis page.
Update Quotecord with any relevant info. See the blackboard for more info.
Template:Booruuser: Difference between revisions
From Soyjak Wiki, the free ensoyclopedia
Jump to navigationJump to search
No edit summary |
I upgraded it by instead of hard coding the custom classes, you pass those in as a parameter. Ill add the documentation for it tomorrow |
||
| Line 1: | Line 1: | ||
<span class="plainlinks">[https://soybooru.com/user/{{{1}}} | <span class="plainlinks">[https://soybooru.com/user/{{{1}}} {{#tag:span|{{{label|{{{1}}}}}}|style=background:#cedff0;color:{{{color|{{#switch:{{{class|user}}}|blocked=grey|user=#2860AD| trusted=#1400ff|approver=#E67E22|janitor=#F1C40F|moderator=purple|admin=red| #000000}}}}};font-weight:{{{weight|{{#switch:{{{class|}}}|approver=bold|janitor=bold|moderator=bold|admin=bold|normal}}}}};text-decoration:{{#switch:{{{class|}}}| blocked=line-through|}}}}]</span> | ||
<noinclude>{{Documentation}}</noinclude> | |||
Revision as of 06:50, 25 December 2025
Usage
Creates a styled external link to a SoyBooru user page
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Username | 1 | The Soybooru username. Used both as the link target and the default display text. | String | required |
| User role | class | Applies styling based on whether the user is blocked.
| String | optional |
| Custom label | label | Overrides the displayed username. Allows formatted wikitext
| Unknown | optional |
Example
{{booruuser|trevor|class=blocked}}
trevor
{{booruuser|jimbo|class=moderator}}
jimbo