Template:Toolbar/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Mr. Stradivarius →Usage: update |
meta>Mr. Stradivarius add {{lua}} template |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{lua|Module:Toolbar}} | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
Revision as of 13:14, 18 July 2013
This is a documentation subpage for Template:Toolbar. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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