Template:User10: Difference between revisions
Content added Content deleted
Enwikipedia>Frietjes m (normalise output using template:toolbar) |
m (21 revisions imported: fixing lua errors) |
||
(6 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=[{{fullurl:Special:Log|user={{urlencode:{{ucfirst:{{{User|{{{1|Example}}}}}}}}}}}} <span style="color:#002bb8">logs</span>] }}</span><noinclude> |
|||
| 2 = c |
|||
| 3 = ct |
|||
== Usage == |
|||
| 4 = l |
|||
*<code><nowiki>{{User10|Jimbo Wales}}</nowiki></code> → {{User10|Jimbo Wales}} |
|||
| doc = yes |
|||
}} |
|||
Names with (or without) equal signs can be given as '''1='''''Username'' or '''User='''''Username'' : |
|||
*<tt><nowiki>{{User10|1=Billbailey=legend}}</nowiki></tt> → {{User10|1=Billbailey=legend}} |
|||
*<tt><nowiki>{{User10|User=Billbailey=legend}}</nowiki></tt> → {{User10|User=Billbailey=legend}} |
|||
{{Signatures}} |
|||
[[Category:Username internal link templates|User10]] |
|||
[[ar:قالب:مس10]] |
|||
[[mk:Шаблон:Корисник10]] |
|||
</noinclude> |
Latest revision as of 07:11, 30 August 2019
Example (talk · contribs · count · logs)
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.
{{User10|User=USERNAME}}
or{{User10|USERNAME}}
Examples
{{User10|Jimbo Wales}}
→ Jimbo Wales (talk · contribs · count · logs)
In cases of usernames which contain = sign, the former syntax should be used, e.g.
{{User10|User=Billbailey=legend}}
→ Billbailey=legend (talk · contribs · count · logs)
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