Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Toolbar/doc: Difference between revisions

Template page
Dream Indigo (talk | contribs)
fix link
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
<code><nowiki>{{Toolbar |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}}</nowiki></code>&nbsp;→ {{toolbar |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}}
<code><nowiki>{{Toolbar |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}}</nowiki></code>&nbsp;→ {{toolbar |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}}


<br/>There is a ''separator'' parameter that can be used to specify the [[Delimiter|separator character]] placed between each link:<br/>
<br/>There is a ''separator'' parameter that can be used to specify the [[w:Delimiter|separator character]] placed between each link:<br/>
<code><nowiki>{{Toolbar|separator=comma |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}}</nowiki></code>&nbsp;→ {{Toolbar|separator=comma |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}}
<code><nowiki>{{Toolbar|separator=comma |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}}</nowiki></code>&nbsp;→ {{Toolbar|separator=comma |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}}


Line 22: Line 22:


== See also ==
== See also ==
* [[Module:Toolbar]], the [[Help:Lua|Lua module]] that generates this template.
* [[Module:Toolbar]], the [[w:Help:Lua|Lua module]] that generates this template.


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||

Latest revision as of 05:29, 5 February 2026

This template is used to create a toolbar of links that are laid out in the same way as those produced by the core MediaWiki software.

{{Toolbar |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}} → (user | talk | block)


There is a separator parameter that can be used to specify the separator character placed between each link:
{{Toolbar|separator=comma |[[User:Example|user]] |[[User talk:Example|talk]] |[[Special:BlockIP/Example|block]]}} → (user, talk, block)

The separators available are:

comma, comma
dot⧼dot-separator⧽dot
tpt-languages⧼tpt-languages-separator⧽tpt-languages
pipe | pipe (default)

The parameters class and style (specifying HTML/CSS class and styling) may also be set.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.