跳转到内容

Template: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.

代碼

代碼丟失

例子

Code Output
{{User-multi|user=Example|t|c|e}}
{{User-multi|user=Example|t|c|ct|m|l}}

Example 討論 · 貢獻 · 統計 · 移動頁面 · 日誌

{{User-multi|user=Example|lang=es|t|c|e}}
{{User-multi|user=Example|project=b|t|c|e}}
{{User-multi|user=Example|project=b|lang=es|t|c|e}}
{{User-multi|user=Example|project=wikibooks|lang=es|t|c|e}}
{{User-multi|user=Example|t|c|e|sup=yes}}
{{User-multi|user=Example|t|c|e|small=yes}}

增加新連結

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:Example