Template:Admin: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
Encephalon (talk | contribs) m (Reverted edits by Encephalon (talk) to last version by Brighterorange) |
m (83 revisions imported from wikipedia:Template:Admin) |
||
(39 intermediate revisions by 32 users not shown) | |||
Line 1: | Line 1: | ||
{{User-multi<noinclude>/template</noinclude> |
|||
<span class="plainlinks">[[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] • [[Special:Contributions/{{{1}}}|contribs]] • [{{fullurl:Special:Log/block|user={{{2|{{{1}}}}}}}} blocks] • [{{fullurl:Special:Log/protect|user={{{2|{{{1}}}}}}}} protects] • [{{fullurl:Special:Log/delete|user={{{2|{{{1}}}}}}}} deletions] • [{{fullurl:Special:Log/move|user={{{2|{{{1}}}}}}}} moves])</span><noinclude> |
|||
|User={{{User|{{{1|}}}}}} |
|||
|1=t |
|||
===Usage=== |
|||
|2=c |
|||
Links to an administrator along with that user's contributions and admin actions. |
|||
|3=bls |
|||
|4=pr |
|||
:'''<nowiki>{{admin|Username}}</nowiki>''' |
|||
|5=del |
|||
|6=m |
|||
If the admin has a username with spaces in it, instead use: |
|||
|7=rl |
|||
|8=rfa |
|||
:'''<nowiki>{{admin|Username with spaces|Username_with_underscores}}</nowiki>''' |
|||
|doc=yes |
|||
}} |
|||
(The problem is unfixable for logs, as there is no wikilink available for these.) |
|||
[[Category:Internal link templates|Admin]] |
|||
</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
.