Template:Admin: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
mNo edit summary |
m (83 revisions imported from wikipedia:Template:Admin) |
||
(30 intermediate revisions by 27 users not shown) | |||
Line 1: | Line 1: | ||
{{User-multi<noinclude>/template</noinclude> |
|||
<noinclude>{{sprotected}}</noinclude><includeonly><span class="plainlinks">[[User:{{{1|This template needs a user name as argument:- see documentation}}}|{{{1|This template needs a user name as argument:- see documentation.}}}]] ([[User talk:{{{1|This template needs a user name as argument:- see documentation.}}}|talk]] • [[Special:Contributions/{{{1|This template needs a user name as argument:- see documentation.}}}|contribs]] • <font color="002bb8">[{{fullurl:Special:Log/block|user={{urlencode:{{{1|This template needs a user name as argument:- see documentation.}}}}}}} blocks]</font> • <font color="002bb8">[{{fullurl:Special:Log/protect|user={{urlencode:{{{1|This template needs a user name as argument:- see documentation.}}}}}}} protects]</font> • <font color="002bb8">[{{fullurl:Special:Log/delete|user={{urlencode:{{{1|This template needs a user name as argument:- see documentation.}}}}}}} deletions]</font> • <font color="002bb8">[{{fullurl:Special:Log/move|user={{urlencode:{{{1|This template needs a user name as argument:- see documentation.}}}}}}} moves]</font>)</span></includeonly><noinclude> |
|||
|User={{{User|{{{1|}}}}}} |
|||
==Usage== |
|||
|1=t |
|||
*Links to the user page, user talk page, and contributions, block, protect, delete and move logs of an editor. Thus |
|||
|2=c |
|||
:<nowiki>{{admin|Example}}</nowiki> |
|||
|3=bls |
|||
:produces |
|||
|4=pr |
|||
:{{admin|Example}} |
|||
|5=del |
|||
|6=m |
|||
*To reduce the text space used by this template, you can also use [[Template:Admin-abbr]] which produces the same links but abbreviates the words. |
|||
|7=rl |
|||
:<nowiki>{{admin-abbr|Jimbo Wales|Jimbo_Wales}}</nowiki> |
|||
|8=rfa |
|||
:produces |
|||
|doc=yes |
|||
:{{admin-abbr|Jimbo Wales|Jimbo_Wales}} |
|||
}} |
|||
[[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
.