Template:User
enwiki>Xaosflux2020年8月8日 (六) 01:02的版本 (Changed protection level for "Template:User": no longer in interface ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
此模板基于以下Lua模块编写:
這是一個轻之舟百科內部的用戶連結模板。
用法
用戶名的定義可介由指名或未指名的參數。
{{User|User=用戶名}}或{{User|用戶名}}
範例
{{User|Jimbo Wales}}→ Jimbo Wales (討論 · 貢獻)
在用戶名包含 = 號的情況下,較前面的語法會被採納。
{{User|User=Billbailey=legend}}→ Billbailey=legend (討論 · 貢獻)
參數
- User是必要參數,例如
|User=Jimbo Wales。 - Project是指定使用的姊妹計畫而非中文求聞百科,應使用正確的維基計劃間代碼,例如
|Project=b。 - Lang是所使用計畫的跨語言連結代碼而非中文求聞百科,例如
|Lang=es。這可以用來和計畫參數結合。 - separator defines the symbol used to separate different links, e.g.
|separator=pipe. The default is a dot.
用户空間連結模板
用户資訊模板提供用户的資訊連結,類似簽名模板,但通常提供了額外的資訊。列表:
示範用户為User:Example。
標準模板
| 模板 | 用户資訊連結 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 模板链接:{{User link}}, 模板链接:{{U}} | Example | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User0}} | Example (討論) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User}} | Example (討論 · 貢獻) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User2}} | Example (討論 · 貢獻) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User3}}, 模板链接:{{Usertcl}} | Example (討論 · 貢獻 · 日誌) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User4}}, 模板链接:{{Usertce}} | Example (討論 · 貢獻 · 電子郵件) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User5}} | Example (討論 · 貢獻 · 刪除貢獻 · 移動頁面 · 封禁链接 · 封禁日誌) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User6}} | Example (討論 · 貢獻 · 日誌 · 移動頁面 · 封禁日誌) or (with |email=y)Example (討論 · 貢獻 · 日誌 · 移動頁面 · 封禁日誌 · 電子郵件) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User8}}, 模板链接:{{Usertcce}} | Example (討論 · 貢獻 · 電子郵件) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User plus}} | Example聯絡 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User-multi}} | Example (討論 · 貢獻 · 日誌 · 移動頁面 · 封禁日誌 · 封禁链接 · 電子郵件 · 中央認證 · 刪除貢獻 · 用户列表 · 用户名字空间日誌) With this template, you can specify which links you want displayed. The above example includes some of the available links. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User toolbox}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 模板链接:{{User sign}} | Example(留言)
} 管理員:通常在管理頁面使用用户連結模板
}
機器人:機器人所使用的模板
簽名:模板中添加缺少的用户簽名
用户空間連結模板用户資訊模板提供用户的資訊連結,類似簽名模板,但通常提供了額外的資訊。列表: 示範用户為User:Example。
管理員:通常在管理頁面使用用户連結模板
機器人:機器人所使用的模板 簽名:模板中添加缺少的用户簽名 |