Template:Toolbar/testcases
This is the template test cases page for the sandbox of Template:Toolbar. 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 and parsers with these links: |
Default separator
ཞུན་དག{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]}}
{{Toolbar}}
{{Toolbar/sandbox}}
Error: expandTemplate: template "Toolbar/sandbox" does not exist
Custom separators
ཞུན་དགTests for parameter |separator=
.
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]] |separator=comma}}
{{Toolbar}}
{{Toolbar/sandbox}}
Error: expandTemplate: template "Toolbar/sandbox" does not exist
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]] |separator=dot}}
{{Toolbar}}
(User⧼dot-separator⧽talk⧼dot-separator⧽block)
{{Toolbar/sandbox}}
Error: expandTemplate: template "Toolbar/sandbox" does not exist
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]] |separator=tpt-languages}}
{{Toolbar}}
(User⧼tpt-languages-separator⧽talk⧼tpt-languages-separator⧽block)
{{Toolbar/sandbox}}
Error: expandTemplate: template "Toolbar/sandbox" does not exist
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]] |separator=pipe}}
{{Toolbar}}
{{Toolbar/sandbox}}
Error: expandTemplate: template "Toolbar/sandbox" does not exist
Parameter span
ཞུན་དག|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}}
Error: expandTemplate: template "Toolbar/sandbox" does not exist
|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}}
Error: expandTemplate: template "Toolbar/sandbox" does not exist
|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}}
Error: expandTemplate: template "Toolbar/sandbox" does not exist
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 {{=}}
ཞུན་དག{{Toolbar |1== |span=yes}}
{{Toolbar}}
(=)
{{Toolbar/sandbox}}
Error: expandTemplate: template "Toolbar/sandbox" does not exist