Created page with "{{#invoke:UserLinks|main|user=Example|User=Example}}{{#ifeq:{{{doc<noinclude>|yes</noinclude>}}}|yes |{{documentation |content= {{#ifeq:{{FULLPAGENAME}}|Template:User| {{hi..." |
No edit summary |
||
| Line 13: | Line 13: | ||
=== Examples === | === Examples === | ||
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>| | * <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|WikiDwarf}}</nowiki></code> → {{ {{BASEPAGENAME}}|User=WikiDwarf}} | ||
In cases of usernames which contain = sign, the former syntax should be used, e.g. | In cases of usernames which contain = sign, the former syntax should be used, e.g. | ||
| Line 20: | Line 20: | ||
=== Parameters === | === Parameters === | ||
{{#ifeq:{{{User|¬}}}|¬| | {{#ifeq:{{{User|¬}}}|¬| | ||
|* ''User'' is a required parameter, e.g. {{para|User| | |* ''User'' is a required parameter, e.g. {{para|User|WikiDwarf}}. | ||
}}{{#ifeq:{{{user|¬}}}|¬| | }}{{#ifeq:{{{user|¬}}}|¬| | ||
|* ''user'' is a required parameter, e.g. {{para|user| | |* ''user'' is a required parameter, e.g. {{para|user|WikiDwarf}}. | ||
}}{{#ifeq:{{{Project|¬}}}|¬| | }}{{#ifeq:{{{Project|¬}}}|¬| | ||
|* ''Project'' defines a [[Wikipedia:Wikimedia sister projects|Wikimedia sister project]] to be used instead of the English Wikipedia, the correct code for the [[Help:Interwikimedia links|interwiki]] link should be used, e.g. {{para|Project|b}}. | |* ''Project'' defines a [[Wikipedia:Wikimedia sister projects|Wikimedia sister project]] to be used instead of the English Wikipedia, the correct code for the [[Help:Interwikimedia links|interwiki]] link should be used, e.g. {{para|Project|b}}. | ||
Revision as of 15:58, 1 December 2020
| File:Lua-logo-nolabel.svg | 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.
{{User-multi|=USERNAME}}or{{User-multi|USERNAME}}
Examples
{{User-multi|WikiDwarf}}→ WikiDwarf
In cases of usernames which contain = sign, the former syntax should be used, e.g.
{{User-multi|=Billbailey=legend}}→ Billbailey=legend
Parameters
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 user used is User:Example