Template:Toolbar/testcases
Appearance
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
[edit]Doc example test
Custom separators
[edit]Tests for parameter |separator=
.
comma
dot
tpt-languages
pipe
Parameter span
[edit]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
[edit]{{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 {{=}}
[edit]Demo for {{[[Template:{{{1}}}|{{{1}}}]]}}