模板:Toolbar
![]() | 此模板使用Lua语言: |
This template is used to create 'toolbars' of links that are laid out in the same way as those produced by the core MediaWiki software.
Usage
编辑- {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }} → (user | talk | block)
Up to twenty links can be specified.
There is a "separator" parameter:
- {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] | separator=dot }} → (user · talk · block)
Also, there are "class" and "style" parameters.
上述文档嵌入自Template:Toolbar/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |