Template:Toolbar/doc: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (clean up)
m (Testing if fixes script error)
 
Line 25: Line 25:
* [[Module:Toolbar]]
* [[Module:Toolbar]]


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!--
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||-->
<!-- 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]]
[[Category:Sarkarverse list formatting templates]]
[[Category:Sarkarverse list formatting templates]]
 
}}
}}</includeonly>
</includeonly>
-->

Latest revision as of 07:20, 3 November 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