Template:Toolbar/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Nnemo
No edit summary
meta>777sms
No edit summary
Line 4: Line 4:
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.
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 ===
== Usage ==
 
*<tt><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }}</nowiki></tt> &rarr; {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }}
*<tt><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }}</nowiki></tt> &rarr; {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }}


Line 15: Line 14:


Also, there are "class" and "style" parameters.
Also, there are "class" and "style" parameters.
=== See also ===


<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Username internal link templates| ]]
[[Category:Username internal link templates| ]]
[[Category:Link templates|Toolbar]]
[[Category:Link templates|Toolbar]]
Line 28: Line 23:
[[ja:Template:Toolbar]]
[[ja:Template:Toolbar]]
[[mk:Шаблон:Алатник]]
[[mk:Шаблон:Алатник]]
</includeonly>
</includeonly>

Revision as of 08:49, 3 March 2012

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.