Template:Toolbar/testcases
Jump to navigation
Jump to search
| This is the template test cases page for the sandbox of Template:Toolbar. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Default separator
| Doc example test |
|---|
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]}}
{{Toolbar}} {{Toolbar/sandbox}} |
Custom separators
Tests for parameter |separator=.
| comma |
|---|
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]|separator=comma}}
{{Toolbar}} {{Toolbar/sandbox}} |
| dot |
|---|
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]|separator=dot}}
{{Toolbar}} (User⧼dot-separator⧽talk⧼dot-separator⧽block) {{Toolbar/sandbox}} |
| tpt-languages |
|---|
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]|separator=tpt-languages}}
{{Toolbar}} {{Toolbar/sandbox}} |
| pipe |
|---|
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]|separator=pipe}}
{{Toolbar}} {{Toolbar/sandbox}} |
Parameter span
Just |span=yes |
|---|
{{Toolbar|[https://en.wikipedia.org/wiki/Special:Random random]|[https://en.wikipedia.org/wiki/Main_Page main]|[[Template:Toolbar]]|span=yes}}
{{Toolbar}} (random | main | Template:Toolbar) {{Toolbar/sandbox}} (random | main | Template:Toolbar) |
With |class=template-documentation |
|---|
{{Toolbar|[https://en.wikipedia.org/wiki/Special:Random random]|[https://en.wikipedia.org/wiki/Main_Page main]|[[Template:Toolbar]]|3=[https://en.wikipedia.org/w/index.php?title=Template:Toolbar/testcases&action=info info]|5=[https://en.wikipedia.org/w/index.php?title=Template:Toolbar/testcases&action=info info]|class=template-documentation|span=yes}}
{{Toolbar}} (random | main | info | Template:Toolbar | info) {{Toolbar/sandbox}} (random | main | info | Template:Toolbar | info) |
With |style=text-decoration: overline wavy rebeccapurple |
|---|
{{Toolbar|[[Template:Toolbar]]|1=[https://en.wikipedia.org/w/index.php?title=Template:Toolbar/testcases&action=info info]|span=yes|style=text-decoration: overline wavy rebeccapurple}}
{{Toolbar}} (info | Template:Toolbar) {{Toolbar/sandbox}} (info | Template:Toolbar) |
Manual test
{{Toolbar|[[Template:Toolbar|template]]|[[Template_talk:Toolbar|talk]]|[https://en.wikipedia.org/w/index.php?title{{=}}Template:Toolbar/testcases&action{{=}}info info]|span=yes|style=text-decoration: overline wavy rebeccapurple}}
{{Toolbar}}
{{Toolbar/sandbox}}
Demo for {{=}}
| Demo for {{[[Template:{{{1}}}|{{{1}}}]]}} |
|---|
{{Toolbar|1==|span=yes}}
{{Toolbar}} (=) {{Toolbar/sandbox}} (=) |