跳至內容

模板:Toolbar

維基新聞,自由的新聞源
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

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.