Template:Toolbar/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Technical 13
(List of available separators ((semi)colon seem to be bugged?))
meta>Mr. Stradivarius
(→‎Usage: update)
Line 6: Line 6:
== 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]] }}
Up to twenty links can be specified.


There is a "separator" parameter:
There is a "separator" parameter:
Line 22: Line 20:


Also, there are "class" and "style" parameters.
Also, there are "class" and "style" parameters.
== See also ==
* [[Module:Toolbar]]


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||

Revision as of 16:17, 11 June 2013

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