Module:Toolbar/doc
Appearance
This is a documentation subpage for Module:Toolbar. It contains usage information, categories and other content that is not part of the original module page. |
This is a documentation subpage for Module:Toolbar. It contains usage information, categories and other content that is not part of the original module page. |
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
[edit]{{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 · talk · block)
Available separators include:
- comma , comma
- dot · dot
- tpt-languages ⧼tpt-languages-separator⧽ tpt-languages
- pipe | default
Also, there are "class" and "style" parameters.
See also
[edit]