Template:Toolbar/doc: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (1 revision)
 
m (clean up)
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> {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }}


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> &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> {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] |separator=dot }}


Available separators include:<!--
Available separators include:<!--
Line 29: Line 29:
[[Category:Username internal link templates| ]]
[[Category:Username internal link templates| ]]
[[Category:Link templates|Toolbar]]
[[Category:Link templates|Toolbar]]
[[Category:Wikipedia list formatting templates]]
[[Category:Sarkarverse list formatting templates]]


}}</includeonly>
}}</includeonly>

Revision as of 21:32, 5 January 2014

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