Template:User16: Difference between revisions
Content added Content deleted
Enwikipedia>X! (Move to new domain) |
m (25 revisions imported: fixing lua errors) |
||
(17 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{<includeonly>safesubst:</includeonly>user-multi<noinclude>/template</noinclude> |
|||
<span id="{{ucfirst:{{{User|{{{1|Example}}}}}}}}" class="plainlinks">[[User:{{ucfirst:{{{User|{{{1|Example}}}}}}}}|{{ucfirst:{{{User|{{{1|Example}}}}}}}}]] ([[User talk:{{ucfirst:{{{User|{{{1|Example}}}}}}}}|talk]] <small>•</small> [http://en.wikipedia.org/w/wiki.phtml?title=User_talk:{{urlencode:{{ucfirst:{{{User|{{{1|Example}}}}}}}}}}&action=edit§ion=new message] <small>•</small> [[Special:Contributions/{{ucfirst:{{{User|{{{1|Example}}}}}}}}|contribs]] <small>•</small> {{#ifeq: {{{admin}}}|yes|<font color="002bb8">[{{fullurl:Special:Log/block|user={{urlencode:{{{User|{{{1|Example}}}}}}}}}} blocks]</font> <small>•</small> <font color="002bb8">[{{fullurl:Special:Log/protect|user={{urlencode:{{{User|{{{1|Example}}}}}}}}}} protects]</font> <small>•</small> <font color="002bb8">[{{fullurl:Special:Log/delete|user={{urlencode:{{{User|{{{1|Example}}}}}}}}}} deletions]</font> <small>•</small>|}} <font color="002bb8">[{{fullurl:Special:Log/move|user={{urlencode:{{{User|{{{1|Example}}}}}}}}}} page moves]</font> <small>•</small> [[Special:DeletedContributions/{{ucfirst:{{{1|Example User}}}}}|deleted contribs]] <small>•</small> [http://toolserver.org/~mathbot/cgi-bin/wp/rfa/edit_summary.cgi?user={{urlencode:{{ucfirst: {{{User|{{{1|Example}}}}}}}}}}&lang=en summary] <small>•</small> [http://toolserver.org/~interiot/cgi-bin/Tool1/wannabe_kate?username={{urlencode:{{ucfirst:{{{User|{{{1|Example}}}}}}}}}}&site={{SERVERNAME}} <span style="color:#002bb8">count</span>] <small>•</small> {{Plainlinks|URL= http://en.wikipedia.org/w/query.php?what=contribcounter&titles=User:{{{{{subst|}}}urlencode:{{{1|Example User}}}}}|NAME=total}} <small>•</small> [{{fullurl:Special:Log|user={{urlencode:{{ucfirst:{{{User|{{{1|Example}}}}}}}}}}}} <span style="color:#002bb8">logs</span>] <small>•</small> [{{fullurl:Special:Log/block|page=User:{{urlencode:{{ucfirst:{{{User|{{{1|Example}}}}}}}}}}}} <span style="color:#002bb8">block log</span>] <small>•</small> [[Special:Blockip/{{{User|{{{1|Example}}}}}}|block]] <small>•</small> [[Special:Emailuser/{{ucfirst:{{{User|{{{1|Example}}}}}}}}|email]])</span> |
|||
| User = {{{1|{{{User|{{{user|}}}}}}}}} |
|||
<noinclude> |
|||
| Project = {{{2|{{{Project|{{{project|}}}}}}}}} |
|||
{{/doc}} |
|||
| Lang = {{{3|{{{Lang|{{{lang|}}}}}}}}} |
|||
</noinclude> |
|||
| 1 = t |
|||
| 2 = msg |
|||
| 3 = c |
|||
| 4 = {{#ifeq:{{{admin|}}}|yes|bls}} |
|||
| 5 = {{#ifeq:{{{admin|}}}|yes|pr}} |
|||
| 6 = {{#ifeq:{{{admin|}}}|yes|del}} |
|||
| 7 = m |
|||
| 8 = {{#ifeq:{{{admin|}}}|yes|dc}} |
|||
| 9 = es |
|||
| 10 = ct |
|||
| 11 = api |
|||
| 12 = l |
|||
| 13 = bl |
|||
| 14 = {{#ifeq:{{{admin|}}}|yes|bu}} |
|||
| 15 = e |
|||
| doc = yes |
|||
}} |
Latest revision as of 07:11, 30 August 2019
User-multi error: "msg" is not a valid link code (help).
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.
{{User16|User=USERNAME}}
or{{User16|USERNAME}}
Examples
{{User16|Jimbo Wales}}
→ User-multi error: "msg" is not a valid link code (help).
In cases of usernames which contain = sign, the former syntax should be used, e.g.
{{User16|User=Billbailey=legend}}
→ User-multi error: "msg" is not a valid link code (help).
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