Template:Admin: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
No edit summary |
m (83 revisions imported from wikipedia:Template:Admin) |
||
(63 intermediate revisions by 38 users not shown) | |||
Line 1: | Line 1: | ||
{{User-multi<noinclude>/template</noinclude> |
|||
<!-- NOTE: if username has SPACE ' ' within it, use UNDERSCORE _ instead (as the SECOND parameter), its unfixable for logs, there is no wikilink to go to a user's logs. It's not the template's fault, its the fault of whoever's using the template. (ex: use {{Vandal|Willy on wheels|Willy_on_wheels}} rather than {{Vandal|Willy on wheels}} --><span class="plainlinks">[[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] • [[Special:Contributions/{{{1}}}|contribs]] • [{{SERVER}}{{localurl:Special:Log/move|user={{{2|{{{1}}}}}}}} <font color="#002bb8">page moves</font>] • [{{SERVER}}{{localurl:Special:Log/block|page=User:{{{2|{{{1}}}}}}}} <font color="#002bb8">block log</font>] ¦ [{{SERVER}}{{localurl:Special:Log/block|user={{{1}}}}} <font color="#002bb8">blocks</font>] • [{{SERVER}}{{localurl:Special:Log/protect|user={{{1}}}}} <font color="#002bb8">page protects</font>] • [{{SERVER}}{{localurl:Special:Log/delete|user={{{1}}}}} <font color="#002bb8">page deletions</font>])</span><noinclude> |
|||
|User={{{User|{{{1|}}}}}} |
|||
---- |
|||
|1=t |
|||
'''Usage:''' |
|||
|2=c |
|||
<nowiki>{{admin|username}}</nowiki> |
|||
|3=bls |
|||
|4=pr |
|||
If the admin has a username with spaces in it, instead use: |
|||
|5=del |
|||
|6=m |
|||
<nowiki>{{admin|Username with spaces|Username_with_underscores}}</nowiki> |
|||
|7=rl |
|||
|8=rfa |
|||
[[Category:Internal link templates|Vandal]] |
|||
|doc=yes |
|||
</noinclude> |
|||
}} |
Latest revision as of 00:10, January 19, 2022
Example (talk · contribs · blocks · protections · deletions · page moves · rights · RfA)
Template documentation
This template uses Lua: |
This is a user link template for use internally on Wikipedia.
Usage
The username can be defined via a named or an unnamed parameter, i.e.
{{Admin|User=USERNAME}}
or{{Admin|USERNAME}}
Examples
{{Admin|Jimbo Wales}}
→ Jimbo Wales (talk · contribs · blocks · protections · deletions · page moves · rights · RfA)
In cases of usernames which contain = sign, the former syntax should be used, e.g.
{{Admin|User=Billbailey=legend}}
→ Billbailey=legend (talk · contribs · blocks · protections · deletions · page moves · rights · RfA)
Parameters
- User is a required parameter, e.g.
|User=Jimbo Wales
.