Template:Toolbar: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "<span class="plainlinks {{{class|}}}" {{ {{{|safesubst:}}}#if:{{{style|}}}|style="{{{style|}}}"}}>(<noinclude><!-- --></noinclude>{{ {{{|safesubst:}}}#if:{{{1|}}}|{{{1}}}}}<n...")
 
mNo edit summary
 
Line 25: Line 25:
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
[[Category:Templates]]

Latest revision as of 22:43, 14 December 2012

()

[edit] Template documentation

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[edit source]

  • {{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)

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