模板:User-multi

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

这是一个全能的用户连结模板,大多数的用户空间连结模板都是调用此而来的

用法

编辑
独立开法
{{user-multi|code 1|code 2|code 3|...|user=username|project=project|lang=lang}}
模板中的用法
{{<includeonly>safesubst:</includeonly>User-multi<noinclude>/template</noinclude>
 | User      = {{{1|{{{User|{{{user|}}}}}}}}}
 | Project   = {{{2|{{{Project|{{{project|}}}}}}}}}
 | Lang      = {{{3|{{{Lang|{{{lang|}}}}}}}}}
 | separator = {{{separator|dot}}}
 | small     = <!-- yes -->
 | sup       = <!-- yes -->
 | span      = <!-- no -->
 | 1         = <!-- link code 1 -->
 | 2         = <!-- link code 2 -->
 | 3         = <!-- link code 3 -->
 ...
 | demo      = {{{demo|}}}
 | doc       = <!-- yes -->
}}

The doc parameter is used to provide automatic documentation on the template page, i.e. |doc=yes.

代码

编辑

代码丢失

例子

编辑

Template:Markup

增加新连结

编辑

To add a new link, you need to edit the Lua module that this template is based on, Module:UserLinks. Instructions are in the source code, if you feel capable programming in Lua. If you're not familiar with Lua, feel free to make a request on Template talk:User-multi, and someone might add the link for you. 列表:

示范用户为User:ExampleTemplate:Navbox with collapsible groups