Template:User11: Difference between revisions
Content added Content deleted
Enwikipedia>Frietjes m (normalise output using template:toolbar) |
m (24 revisions imported: fixing lua errors) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{<includeonly>safesubst:</includeonly>user-multi<noinclude>/template</noinclude> |
|||
<span id="{{{User|{{{1|Example}}}}}}" style="color:#002bb8">[[User:{{{User|{{{1|Example}}}}}}|{{{User|{{{1|''Example''}}}}}}]] {{toolbar|separator=dot |
|||
| |
| User = {{{1|{{{User|{{{user|}}}}}}}}} |
||
| Project = {{{2|{{{Project|{{{project|}}}}}}}}} |
|||
|2=[[Special:Contributions/{{{User|{{{1|Example}}}}}}|contribs]] |
|||
| Lang = {{{3|{{{Lang|{{{lang|}}}}}}}}} |
|||
|3=[http://toolserver.org/~soxred93/ec/{{urlencode:{{{User|{{{1|Example}}}}}}}} <span style="color:#002bb8">count</span>] |
|||
| 1 = t |
|||
|4={{Plainlinks|URL=http://en.wikipedia.org/w/api.php?action=query&list=users&usprop=editcount&ususers={{{{{subst|}}}urlencode:{{{1|Example User}}}}}|NAME=total}} |
|||
| 2 = c |
|||
|5=[{{fullurl:Special:Log/block|page=User:{{urlencode:{{{User|{{{1|Example}}}}}}}}}} <span style="color:#002bb8">block log</span>] }}</span><noinclude> |
|||
| 3 = ct |
|||
| 4 = api |
|||
== Usage == |
|||
| 5 = bl |
|||
*<code><nowiki>{{User11|Jimbo Wales}}</nowiki></code> → {{User11|Jimbo Wales}} |
|||
| doc = yes |
|||
}} |
|||
Names with (or without) equal signs can be given as '''1='''''Username'' or '''User='''''Username'' : |
|||
*<tt><nowiki>{{User11|1=Billbailey=legend}}</nowiki></tt> → {{User11|1=Billbailey=legend}} |
|||
*<tt><nowiki>{{User11|User=Billbailey=legend}}</nowiki></tt> → {{User11|User=Billbailey=legend}} |
|||
{{Signatures}} |
|||
[[Category:Username internal link templates|User11]] |
|||
[[ar:قالب:مس11]] |
|||
</noinclude> |
Latest revision as of 07:11, 30 August 2019
Example (talk · contribs · count · api · block log)
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.
{{User11|User=USERNAME}}
or{{User11|USERNAME}}
Examples
In cases of usernames which contain = sign, the former syntax should be used, e.g.
Parameters
- User is a required parameter, e.g.
|User=Jimbo Wales
. - Project defines a Wikimedia sister project to be used instead of the English Wikipedia, the correct code for the interwiki link should be used, e.g.
|Project=b
. - Lang is the interlanguage code for a project to be used instead of the English Wikipedia, e.g.
|Lang=es
. This can be used in conjunction with the project parameter.
Userspace link templates
User information templates provide informational links for a user; they are similar to signatures, but often provide additional information, and may be used by other users. List:
- Demo is User:Example