Difference between revisions of "Template:Toolbar"
(switch to Lua implementation) |
m (1 revision) |
(No difference)
|
Latest revision as of 06:48, 27 March 2014
Uses 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)
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-separator⧽ tpt-languages
- pipe | default
Also, there are "class" and "style" parameters.
See also
The above documentation is transcluded from Template:Toolbar/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |