跳转到内容

Template:Toolbar/doc

维基新闻,自由的新闻源

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.