Template:Admin: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(make this not suck too much when subst'd, rmv block log link) |
m (83 revisions imported from wikipedia:Template:Admin) |
||
(50 intermediate revisions by 36 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 |
|||
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 {{admin|Name_with_spaces}} rather than {{admin|Name with spaces}} |
|||
|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 |
|||
}} |
|||
[[Category:Internal link templates|Vandal]] |
|||
</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
.