Template:Toolbar/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Nnemo No edit summary |
meta>Nnemo No edit summary |
||
Line 6: | Line 6: | ||
=== Usage === | === Usage === | ||
*<tt><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }}</nowiki></tt> → | *<tt><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }}</nowiki></tt> → {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }} | ||
Up to twenty links can be specified. | Up to twenty links can be specified. | ||
Line 12: | Line 12: | ||
There is a "separator" parameter: | There is a "separator" parameter: | ||
*<tt><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] | separator=dot }}</nowiki></tt> → | *<tt><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] | separator=dot }}</nowiki></tt> → {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] |separator=dot }} | ||
Also, there are "class" and "style" parameters. | Also, there are "class" and "style" parameters. |
Revision as of 00:32, 8 January 2012
This is a documentation subpage for Template:Toolbar. It may contain usage information, categories and other content that is not part of the original template 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
- {{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⧼dot-separator⧽talk⧼dot-separator⧽block)
Also, there are "class" and "style" parameters.