跳转到内容

模板:Hubs

来自天灾之下:危险连接资料站
wiki>AKlapper (WMF)2021年3月11日 (四) 12:15的版本 (Remove random icon size differences and lack of vertical alignment of text in random boxes, by not randomly making some icons 30px while others icons are only 20px.)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)


  • 文件:Community Noun project 2280.svg Users
  • 文件:Octicons-terminal.svg System Administrators
  • 文件:Source code project 1171.svg Developers
  • 文件:OOjs UI icon language-ltr.svg Translators
模板文档

Usage

The template can be centered or right aligned by passing in the alignment as its first parameter. If the page containing the template belongs to a specific area of documentation (i.e. user, administrator, developer or translator), an additional parameter can also be set which makes bold and enlarges the corresponding icon(s).

{{hubs
| <center|right>
| <dev|admin|user|trans> = true
}}

Examples

{{hubs|center}}
{{hubs|right}}
{{hubs|user=true}}
{{hubs|admin=true|dev=true}}
{{hubs|right|dev=true}}