Template:Toolbar/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Web comic
mNo edit summary
meta>This, that and the other
update
Line 8: Line 8:
*<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]] }}


Up to ten links can be specified.
Up to twenty links can be specified.


There is a "separator" parameter:


*<tt><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] | separator=dot }}</nowiki></tt> &rarr; '''{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] |separator=dot }}
*<tt><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] | separator=dot }}</nowiki></tt> &rarr; '''{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] |separator=dot }}
Also, there are "class" and "style" parameters.


=== See also ===
=== See also ===

Revision as of 11:32, 22 September 2011

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.

See also