Template:Toolbar/doc: Difference between revisions
Template page
More actions
m by accident (Mass rollback |
Use main {{TemplateBox}} |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
<!-- | {{TemplateBox | ||
| name = toolbar | |||
| mbox = | |||
{{Lua|{{Sandbox other|Module:Toolbar}}}} | |||
This template is used to create | | desc-en = 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. | ||
| namespace = unknown | |||
| usergroup = all | |||
| i18n-method = mediawiki-msg | |||
| i18n-mediawiki-msg = pipe-separator | |||
| i18n-desc = Depending on the value of the {{para|separator}}, a different MediaWiki message may be used. | |||
| print = multi | |||
| useTemplateData = TNT | |||
| 1 = separator | |||
| 101 = 1 | |||
}} | |||
=== Usage === | === Usage === | ||
*< | * <code><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }}</nowiki></code> → {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] }} | ||
Up to ten links can be specified. | Up to ten links can be specified. | ||
* <code><nowiki>{{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] | separator=dot }}</nowiki></code> → {{toolbar| [[User:Example|user]] | [[User talk:Example|talk]] | [[Special:BlockIP/Example|block]] |separator=dot }} | |||
*< | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | |||
< | |||
[[Category:Internal link templates]] | [[Category:Internal link templates]] | ||
}}</includeonly> | |||
</includeonly> | |||