Template:Toolbar/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>DixonDBot
m Migrating 5 interwiki links, now provided by Wikidata on d:Q6872142
meta>Technical 13
List of available separators ((semi)colon seem to be bugged?)
Line 12: Line 12:


*<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 }}
Available separators include:<!--
* colon {{int:colon-separator}} Bugged? -->
* comma {{int:comma-separator}} comma
* dot {{int:dot-separator}} dot<!--
* semicolon {{int:semicolon-separator}} Bugged? -->
* tpt-languages {{int:tpt-languages-separator}} tpt-languages
* pipe {{int:pipe-separator}} '''''default'''''


Also, there are "class" and "style" parameters.
Also, there are "class" and "style" parameters.

Revision as of 12:38, 30 April 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)

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)

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.