Template:User-multi/template: Difference between revisions
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
|* ''user'' is a required parameter, e.g. {{para|user|WikiDwarf}}. | |* ''user'' is a required parameter, e.g. {{para|user|WikiDwarf}}. | ||
}}{{#ifeq:{{{Project|¬}}}|¬| | }}{{#ifeq:{{{Project|¬}}}|¬| | ||
|* ''Project'' defines a | |* ''Project'' defines a Bharatpedia sister project to be used, the correct code for the interwiki link should be used, e.g. {{para|Project|b}}. | ||
}}{{#ifeq:{{{project|¬}}}|¬| | }}{{#ifeq:{{{project|¬}}}|¬| | ||
|* ''project'' defines a | |* ''project'' defines a Bharatpedia to be used, the correct code for the interwiki link should be used, e.g. {{para|project|b}}. | ||
}}{{#ifeq:{{{Lang|¬}}}|¬| | }}{{#ifeq:{{{Lang|¬}}}|¬| | ||
|* ''Lang'' is the [[Help:Interlanguage links|interlanguage]] code for a project to be used | |* ''Lang'' is the [[Help:Interlanguage links|interlanguage]] code for a project to be used, e.g. {{para|Lang|es}}. This can be used in conjunction with the project parameter. | ||
}}{{#ifeq:{{{lang|¬}}}|¬| | }}{{#ifeq:{{{lang|¬}}}|¬| | ||
|* ''lang'' is the [[Help:Interlanguage links|interlanguage]] code for a project to be used | |* ''lang'' is the [[Help:Interlanguage links|interlanguage]] code for a project to be used, e.g. {{para|lang|es}}. This can be used in conjunction with the project parameter. | ||
}}{{#ifeq:{{{small|¬}}}|¬| | }}{{#ifeq:{{{small|¬}}}|¬| | ||
|* ''small'' causes a smaller text to be used, e.g. {{para|small|yes}}. | |* ''small'' causes a smaller text to be used, e.g. {{para|small|yes}}. |
Revision as of 11:19, 14 April 2021

![]() | 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