「テンプレート:Toolbar/doc」の版間の差分
提供: ひつじ小屋別館2代目
(add {{lua}} template) |
細 (1版) |
(相違点なし)
|
2013年9月3日 (火) 02:57時点における最新版
42px | This template uses Module:Toolbar, a script written in the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. |
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)
There is a "separator" parameter:
- {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] | separator=dot }} → (user<dot-separator>talk<dot-separator>block)
Available separators include:
- comma 、 comma
- dot <dot-separator> dot
- tpt-languages • tpt-languages
- pipe | default
Also, there are "class" and "style" parameters.
See also[編集]